kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andras Istvan Nagy (Jira)" <j...@apache.org>
Subject [jira] [Created] (KYLIN-4247) NPE in stream-receiver in DataController
Date Mon, 11 Nov 2019 13:35:00 GMT
Andras Istvan Nagy created KYLIN-4247:
-----------------------------------------

             Summary: NPE in stream-receiver in DataController
                 Key: KYLIN-4247
                 URL: https://issues.apache.org/jira/browse/KYLIN-4247
             Project: Kylin
          Issue Type: Bug
          Components: Real-time Streaming
    Affects Versions: v3.0.0-alpha
            Reporter: Andras Istvan Nagy


After restarting the JVM that runs query server and streaming coordinator, we got an NPE from
the streaming receiver (running in another JVM) at org.apache.kylin.stream.server.rest.controller.DataController.findAggrFuncFromCubeDesc(DataController.java:153)

The full stacktrace:

{{2019-11-11 10:27:22,963 INFO  [qtp7395550-6050] controller.DataController:81 : receive
query request queryId:eba1a88f-180b-a80d-46d9-be43048d48b72019-11-11 10:27:22,963 INFO  [qtp7395550-6050]
controller.DataController:81 : receive query request queryId:eba1a88f-180b-a80d-46d9-be43048d48b72019-11-11
10:27:22,963 ERROR [qtp7395550-6050] controller.BasicController:44 : org.apache.kylin.stream.core.exception.StreamingException:
java.lang.NullPointerException at org.apache.kylin.stream.server.rest.controller.DataController.query(DataController.java:132)
at sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:584) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) at org.eclipse.jetty.server.Server.handle(Server.java:534)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:333) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:748)Caused by: java.lang.NullPointerException at org.apache.kylin.stream.server.rest.controller.DataController.findAggrFuncFromCubeDesc(DataController.java:153)
at org.apache.kylin.stream.server.rest.controller.DataController.convertMetrics(DataController.java:147)
at org.apache.kylin.stream.server.rest.controller.DataController.query(DataController.java:90)
... 36 more }}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message