[ https://issues.apache.org/jira/browse/CALCITE-1869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Hyde updated CALCITE-1869: --------------------------------- Fix Version/s: (was: 1.14.0) > NPE validating unbounded window functions > ----------------------------------------- > > Key: CALCITE-1869 > URL: https://issues.apache.org/jira/browse/CALCITE-1869 > Project: Calcite > Issue Type: Bug > Components: core > Reporter: Jess Balint > Assignee: Julian Hyde > > If I create an OVER call with {{null}} bounds arguments, there's an NPE. We > should add a null-check around these {{accept()}} calls. > {noformat} > java.lang.NullPointerException > at > org.apache.calcite.rex.RexVisitorImpl.visitOver(RexVisitorImpl.java:64) > at org.apache.calcite.rex.RexOver.accept(RexOver.java:86) > at org.apache.calcite.rel.core.Project.isValid(Project.java:185) > at org.apache.calcite.rel.core.Project.<init>(Project.java:82) > at > org.apache.calcite.rel.logical.LogicalProject.<init>(LogicalProject.java:65) > at > org.apache.calcite.rel.logical.LogicalProject.create(LogicalProject.java:120) > at > org.apache.calcite.rel.logical.LogicalProject.create(LogicalProject.java:103) > at > org.apache.calcite.rel.core.RelFactories$ProjectFactoryImpl.createProject(RelFactories.java:126) > at org.apache.calcite.tools.RelBuilder.project(RelBuilder.java:933) > at org.apache.calcite.tools.RelBuilder.project(RelBuilder.java:843) > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)