java.lang.NullPointerException: null

GitHub | aemitos | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    null

    at net.opentsdb.tsd.HttpSerializer.formatErrorV1()
  2. net.opentsdb.tsd
    QueryRpc$1ErrorCB.call
    1. net.opentsdb.tsd.HttpSerializer.formatErrorV1(HttpSerializer.java:834)[tsdb-2.3.0-RC1.jar:306603c]
    2. net.opentsdb.tsd.HttpQuery.badRequest(HttpQuery.java:413)[tsdb-2.3.0-RC1.jar:306603c]
    3. net.opentsdb.tsd.QueryRpc$1ErrorCB.call(QueryRpc.java:212)[tsdb-2.3.0-RC1.jar:306603c]
    4. net.opentsdb.tsd.QueryRpc$1ErrorCB.call(QueryRpc.java:172)[tsdb-2.3.0-RC1.jar:306603c]
    4 frames
  3. SUAsync Library
    Deferred.addErrback
    1. com.stumbleupon.async.Deferred.doCall(Deferred.java:1278)[async-1.4.0.jar:na]
    2. com.stumbleupon.async.Deferred.addCallbacks(Deferred.java:688)[async-1.4.0.jar:na]
    3. com.stumbleupon.async.Deferred.addErrback(Deferred.java:756)[async-1.4.0.jar:na]
    3 frames
  4. net.opentsdb.tsd
    RpcHandler.messageReceived
    1. net.opentsdb.tsd.QueryRpc.handleQuery(QueryRpc.java:306)[tsdb-2.3.0-RC1.jar:306603c]
    2. net.opentsdb.tsd.QueryRpc.execute(QueryRpc.java:111)[tsdb-2.3.0-RC1.jar:306603c]
    3. net.opentsdb.tsd.RpcHandler.handleHttpQuery(RpcHandler.java:283)[tsdb-2.3.0-RC1.jar:306603c]
    4. net.opentsdb.tsd.RpcHandler.messageReceived(RpcHandler.java:134)[tsdb-2.3.0-RC1.jar:306603c]
    4 frames
  5. Netty
    SimpleChannelHandler.handleUpstream
    1. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[netty-3.9.4.Final.jar:na]
    2. org.jboss.netty.handler.timeout.IdleStateAwareChannelUpstreamHandler.handleUpstream(IdleStateAwareChannelUpstreamHandler.java:36)[netty-3.9.4.Final.jar:na]
    3. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[netty-3.9.4.Final.jar:na]
    4. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[netty-3.9.4.Final.jar:na]
    5. org.jboss.netty.handler.timeout.IdleStateHandler.messageReceived(IdleStateHandler.java:294)[netty-3.9.4.Final.jar:na]
    6. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[netty-3.9.4.Final.jar:na]
    7. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[netty-3.9.4.Final.jar:na]
    8. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[netty-3.9.4.Final.jar:na]
    9. org.jboss.netty.handler.codec.http.HttpContentEncoder.messageReceived(HttpContentEncoder.java:82)[netty-3.9.4.Final.jar:na]
    10. org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:88)[netty-3.9.4.Final.jar:na]
    11. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[netty-3.9.4.Final.jar:na]
    12. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[netty-3.9.4.Final.jar:na]
    13. org.jboss.netty.handler.codec.http.HttpContentDecoder.messageReceived(HttpContentDecoder.java:108)[netty-3.9.4.Final.jar:na]
    14. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[netty-3.9.4.Final.jar:na]
    15. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[netty-3.9.4.Final.jar:na]
    16. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[netty-3.9.4.Final.jar:na]
    17. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)[netty-3.9.4.Final.jar:na]
    18. org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:459)[netty-3.9.4.Final.jar:na]
    19. org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536)[netty-3.9.4.Final.jar:na]
    20. org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)[netty-3.9.4.Final.jar:na]
    21. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[netty-3.9.4.Final.jar:na]
    22. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[netty-3.9.4.Final.jar:na]
    23. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[netty-3.9.4.Final.jar:na]
    24. org.jboss.netty.channel.SimpleChannelHandler.messageReceived(SimpleChannelHandler.java:142)[netty-3.9.4.Final.jar:na]
    25. org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:88)[netty-3.9.4.Final.jar:na]
    25 frames
  6. net.opentsdb.tsd
    ConnectionManager.handleUpstream
    1. net.opentsdb.tsd.ConnectionManager.handleUpstream(ConnectionManager.java:128)[tsdb-2.3.0-RC1.jar:306603c]
    1 frame
  7. Netty
    DeadLockProofWorker$1.run
    1. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[netty-3.9.4.Final.jar:na]
    2. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)[netty-3.9.4.Final.jar:na]
    3. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)[netty-3.9.4.Final.jar:na]
    4. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)[netty-3.9.4.Final.jar:na]
    5. org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)[netty-3.9.4.Final.jar:na]
    6. org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)[netty-3.9.4.Final.jar:na]
    7. org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)[netty-3.9.4.Final.jar:na]
    8. org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)[netty-3.9.4.Final.jar:na]
    9. org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)[netty-3.9.4.Final.jar:na]
    10. org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)[netty-3.9.4.Final.jar:na]
    11. org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)[netty-3.9.4.Final.jar:na]
    11 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_91]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_91]
    3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_91]
    3 frames