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

NPE at VolcanoPlanner#isValid when DEBUG is enabled

    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 volodymyr this is a regression caused by CALCITE-3487.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zabetak Stamatis Zampetakis
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              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