Hi João, Can you provide minimal reproducible test cases? You can log a JIRA if you believe this is a bug.
- Haisheng ------------------------------------------------------------------ 发件人:João Silva<[email protected]> 日 期:2020年03月24日 23:40:12 收件人:<[email protected]> 主 题:Re: NPE at VolcanoPlanner.setRoot() Currently on 1.21.0. And no, I didn't implement any Convention. Stamatis Zampetakis <[email protected]> escreveu no dia terça, 24/03/2020 à(s) 15:26: > Hi João, > > Which Calcite version are you using? > > Did you implement your own Convention (and the method getInterface)? > > Best, > Stamatis > > On Tue, Mar 24, 2020 at 4:12 PM João Silva <[email protected]> wrote: > > > I keep getting a NPE exception using the method setRoot() even though my > > RelNode is not null. Does anyone have any idea about what could be the > > problem? > > > > java.lang.NullPointerException > > > at > > > > > > org.apache.calcite.plan.volcano.VolcanoPlanner.registerImpl(VolcanoPlanner.java:1654) > > > at > > > > > > org.apache.calcite.plan.volcano.VolcanoPlanner.setRoot(VolcanoPlanner.java:296) > > > at optimizer.VolcanoTest.main(VolcanoTest.java:134) > > > > > > > Thank you. > > >
