Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-3503

NPE at VolcanoPlanner#isValid when DEBUG is enabled

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      The stacktrace is the following:

       java.lang.NullPointerException
                  at org.apache.calcite.plan.volcano.VolcanoPlanner.isValid(VolcanoPlanner.java:880)
                  at org.apache.calcite.plan.volcano.VolcanoPlanner.ensureRegistered(VolcanoPlanner.java:870)
                  at org.apache.calcite.plan.volcano.VolcanoPlanner.ensureRegistered(VolcanoPlanner.java:92)
                  at org.apache.calcite.rel.AbstractRelNode.onRegister(AbstractRelNode.java:321)
                  at org.apache.calcite.plan.volcano.VolcanoPlanner.registerImpl(VolcanoPlanner.java:1701)
                  at org.apache.calcite.plan.volcano.VolcanoPlanner.setRoot(VolcanoPlanner.java:298)
                  at org.apache.calcite.tools.Programs.lambda$standard$3(Programs.java:269)
      

      According to Vova Vysotskyi this is a regression caused by CALCITE-3487.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              zabetak Stamatis Zampetakis

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 20m
                3h 20m

                  Issue deployment