You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2015/12/04 03:13:10 UTC
[jira] [Resolved] (CALCITE-983) NPE in ErrorResponse construction
[ https://issues.apache.org/jira/browse/CALCITE-983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Elser resolved CALCITE-983.
--------------------------------
Resolution: Fixed
Fixed in https://git1-us-west.apache.org/repos/asf?p=calcite.git;a=commit;h=cd58fe73f29dd576ac2525f22c34e9b3d4df1913
> NPE in ErrorResponse construction
> ---------------------------------
>
> Key: CALCITE-983
> URL: https://issues.apache.org/jira/browse/CALCITE-983
> Project: Calcite
> Issue Type: Bug
> Components: avatica
> Reporter: Josh Elser
> Assignee: Josh Elser
> Fix For: 1.6.0
>
>
> Noticed today:
> {noformat}
> 2015-11-18 19:44:29,314 WARN org.eclipse.jetty.server.HttpChannel: /
> java.lang.NullPointerException
> at org.apache.calcite.avatica.proto.Responses$ErrorResponse$Builder.setErrorMessage(Responses.java:7180)
> at org.apache.calcite.avatica.remote.Service$ErrorResponse.serialize(Service.java:2574)
> at org.apache.calcite.avatica.remote.Service$ErrorResponse.serialize(Service.java:2495)
> at org.apache.calcite.avatica.remote.ProtobufTranslationImpl.serializeResponse(ProtobufTranslationImpl.java:195)
> at org.apache.calcite.avatica.remote.ProtobufHandler.encode(ProtobufHandler.java:46)
> at org.apache.calcite.avatica.remote.ProtobufHandler.encode(ProtobufHandler.java:28)
> at org.apache.calcite.avatica.remote.AbstractHandler.apply(AbstractHandler.java:106)
> at org.apache.calcite.avatica.remote.ProtobufHandler.apply(ProtobufHandler.java:38)
> at org.apache.calcite.avatica.server.AvaticaProtobufHandler.handle(AvaticaProtobufHandler.java:63)
> at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
> at org.eclipse.jetty.server.Server.handle(Server.java:497)
> at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
> at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:245)
> at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
> at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
> at java.lang.Thread.run(Thread.java:745)
> {noformat}
> Looks like we expected something to be non-null at this point, but didn't cover all avenues.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)