[ https://issues.apache.org/jira/browse/DRILL-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15295843#comment-15295843 ]
Jeff Stout commented on DRILL-4691: ----------------------------------- Full stack trace. [Error Id: cb5d8d68-27c1-4861-b01d-7ecc02a8943a on 192.168.99.1:31010] org.apache.drill.common.exceptions.UserException: SYSTEM ERROR: NullPointerException [Error Id: cb5d8d68-27c1-4861-b01d-7ecc02a8943a on 192.168.99.1:31010] at org.apache.drill.common.exceptions.UserException$Builder.build(UserException.java:543) ~[drill-common-1.6.0.jar:1.6.0] at org.apache.drill.exec.work.foreman.Foreman$ForemanResult.close(Foreman.java:744) [drill-java-exec-1.6.0.jar:1.6.0] at org.apache.drill.exec.work.foreman.Foreman$StateSwitch.processEvent(Foreman.java:862) [drill-java-exec-1.6.0.jar:1.6.0] at org.apache.drill.exec.work.foreman.Foreman$StateSwitch.processEvent(Foreman.java:794) [drill-java-exec-1.6.0.jar:1.6.0] at org.apache.drill.common.EventProcessor.sendEvent(EventProcessor.java:73) [drill-common-1.6.0.jar:1.6.0] at org.apache.drill.exec.work.foreman.Foreman$StateSwitch.moveToState(Foreman.java:796) [drill-java-exec-1.6.0.jar:1.6.0] at org.apache.drill.exec.work.foreman.Foreman.moveToState(Foreman.java:913) [drill-java-exec-1.6.0.jar:1.6.0] at org.apache.drill.exec.work.foreman.Foreman.run(Foreman.java:262) [drill-java-exec-1.6.0.jar:1.6.0] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_66] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_66] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66] Caused by: org.apache.drill.exec.work.foreman.ForemanException: Unexpected exception during fragment initialization: null ... 4 common frames omitted Caused by: java.lang.NullPointerException: null at org.apache.drill.exec.planner.sql.SqlConverter.formatSQLParsingError(SqlConverter.java:348) ~[drill-java-exec-1.6.0.jar:1.6.0] at org.apache.drill.exec.planner.sql.SqlConverter.parse(SqlConverter.java:135) ~[drill-java-exec-1.6.0.jar:1.6.0] at org.apache.drill.exec.planner.sql.DrillSqlWorker.getPlan(DrillSqlWorker.java:67) ~[drill-java-exec-1.6.0.jar:1.6.0] at org.apache.drill.exec.work.foreman.Foreman.runSQL(Foreman.java:927) [drill-java-exec-1.6.0.jar:1.6.0] at org.apache.drill.exec.work.foreman.Foreman.run(Foreman.java:251) [drill-java-exec-1.6.0.jar:1.6.0] ... 3 common frames omitted 2016-05-22 21:26:18,708 [USER-rpc-event-queue] DEBUG o.a.d.e.rpc.user.QueryResultHandler - resultArrived: queryState: FAILED, queryId = part1: 2935667134815868882 part2: -2599679228632707767 > SqlConvert.formatSQLParsingError can throw a NPE if > ---------------------------------------------------- > > Key: DRILL-4691 > URL: https://issues.apache.org/jira/browse/DRILL-4691 > Project: Apache Drill > Issue Type: Bug > Components: SQL Parser > Affects Versions: 1.6.0 > Reporter: Jeff Stout > Priority: Minor > > Caused by: java.lang.NullPointerException: null > at > org.apache.drill.exec.planner.sql.SqlConverter.formatSQLParsingError(SqlConverter.java:348) > ~[drill-java-exec-1.6.0.jar:1.6.0] > at > org.apache.drill.exec.planner.sql.SqlConverter.parse(SqlConverter.java:135) > ~[drill-java-exec-1.6.0.jar:1.6.0] > at > org.apache.drill.exec.planner.sql.DrillSqlWorker.getPlan(DrillSqlWorker.java:67) > ~[drill-java-exec-1.6.0.jar:1.6.0] > at org.apache.drill.exec.work.foreman.Foreman.runSQL(Foreman.java:927) > [drill-java-exec-1.6.0.jar:1.6.0] > at org.apache.drill.exec.work.foreman.Foreman.run(Foreman.java:251) > [drill-java-exec-1.6.0.jar:1.6.0] -- This message was sent by Atlassian JIRA (v6.3.4#6332)