[ https://issues.apache.org/jira/browse/PHOENIX-2947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15305204#comment-15305204 ]
Alicia Ying Shu commented on PHOENIX-2947: ------------------------------------------ Uploaded the patch. > NPE in ExpresssionCompiler.visitLeave > ------------------------------------- > > Key: PHOENIX-2947 > URL: https://issues.apache.org/jira/browse/PHOENIX-2947 > Project: Phoenix > Issue Type: Bug > Reporter: Alicia Ying Shu > Assignee: Alicia Ying Shu > Fix For: 4.8.0 > > Attachments: PHOENIX-2947.patch > > > When running tests, got NPE in ExpressionCompiler.java > {code} > java.lang.NullPointerException > at > org.apache.phoenix.compile.ExpressionCompiler.visitLeave(ExpressionCompiler.java:1308) > at > org.apache.phoenix.compile.ExpressionCompiler.visitLeave(ExpressionCompiler.java:141) > at > org.apache.phoenix.parse.ExistsParseNode.accept(ExistsParseNode.java:53) > at > org.apache.phoenix.parse.CompoundParseNode.acceptChildren(CompoundParseNode.java:64) > at org.apache.phoenix.parse.AndParseNode.accept(AndParseNode.java:47) > at > org.apache.phoenix.compile.WhereCompiler.compile(WhereCompiler.java:130) > at > org.apache.phoenix.compile.WhereCompiler.compile(WhereCompiler.java:100) > at > org.apache.phoenix.execute.HashJoinPlan.iterator(HashJoinPlan.java:216) > at > org.apache.phoenix.execute.HashJoinPlan.iterator(HashJoinPlan.java:143) > at > org.apache.phoenix.execute.HashJoinPlan.iterator(HashJoinPlan.java:138) > at > org.apache.phoenix.jdbc.PhoenixStatement$1.call(PhoenixStatement.java:281) > at > org.apache.phoenix.jdbc.PhoenixStatement$1.call(PhoenixStatement.java:266) > at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53) > at > org.apache.phoenix.jdbc.PhoenixStatement.executeQuery(PhoenixStatement.java:265) > at > org.apache.phoenix.jdbc.PhoenixStatement.execute(PhoenixStatement.java:1444) > at sqlline.Commands.execute(Commands.java:822) > at sqlline.Commands.sql(Commands.java:732) > at sqlline.SqlLine.dispatch(SqlLine.java:807) > at sqlline.SqlLine.begin(SqlLine.java:681) > at sqlline.SqlLine.start(SqlLine.java:398) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)