java.lang.NullPointerException: null

JIRA | Jeff Yemin | 2 months ago
  1. 0

    From [Jenkins job|http://jenkins.bci.10gen.cc:8080/job/mongo-java-driver-test-3.x/509/jdk=HotSpot6,label=linux64,mongodb_configuration=sharded,mongodb_option=noauth,mongodb_server=24-release,mongodb_ssl=nossl/testReport/junit/com.mongodb.operation/AsyncQueryBatchCursorFunctionalSpecification/should_exhaust_multiple_batches_with_limit/] {noformat} java.lang.NullPointerException: null at com.mongodb.connection.DefaultConnectionPool.getId(DefaultConnectionPool.java:371) ~[main/:na] at com.mongodb.connection.DefaultConnectionPool.access$1300(DefaultConnectionPool.java:56) ~[main/:na] at com.mongodb.connection.DefaultConnectionPool$PooledConnection.close(DefaultConnectionPool.java:397) ~[main/:na] at com.mongodb.connection.DefaultServerConnection.release(DefaultServerConnection.java:63) ~[main/:na] at com.mongodb.operation.AsyncQueryBatchCursor$3.onResult(AsyncQueryBatchCursor.java:210) ~[main/:na] at com.mongodb.operation.AsyncQueryBatchCursor$3.onResult(AsyncQueryBatchCursor.java:207) ~[main/:na] at com.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:49) [main/:na] at com.mongodb.connection.DefaultServer$DefaultServerProtocolExecutor$1.onResult(DefaultServer.java:185) [main/:na] at com.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:49) [main/:na] at com.mongodb.connection.KillCursorProtocol$1.onResult(KillCursorProtocol.java:129) [main/:na] at com.mongodb.connection.KillCursorProtocol$1.onResult(KillCursorProtocol.java:115) [main/:na] at com.mongodb.connection.DefaultConnectionPool$PooledConnection$1.onResult(DefaultConnectionPool.java:454) [main/:na] at com.mongodb.connection.DefaultConnectionPool$PooledConnection$1.onResult(DefaultConnectionPool.java:448) [main/:na] at com.mongodb.connection.UsageTrackingInternalConnection$2.onResult(UsageTrackingInternalConnection.java:117) [main/:na] at com.mongodb.connection.UsageTrackingInternalConnection$2.onResult(UsageTrackingInternalConnection.java:113) [main/:na] at com.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:49) [main/:na] at com.mongodb.connection.InternalStreamConnection$2.completed(InternalStreamConnection.java:310) [main/:na] at com.mongodb.connection.InternalStreamConnection$2.completed(InternalStreamConnection.java:295) [main/:na] at com.mongodb.connection.netty.NettyStream$3.operationComplete(NettyStream.java:189) [main/:na] at com.mongodb.connection.netty.NettyStream$3.operationComplete(NettyStream.java:183) [main/:na] at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:514) [netty-common-4.1.5.Final.jar:4.1.5.Final] at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:488) [netty-common-4.1.5.Final.jar:4.1.5.Final] at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:427) [netty-common-4.1.5.Final.jar:4.1.5.Final] at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:111) [netty-common-4.1.5.Final.jar:4.1.5.Final] at io.netty.channel.DefaultChannelPromise.trySuccess(DefaultChannelPromise.java:82) [netty-transport-4.1.5.Final.jar:4.1.5.Final] at io.netty.channel.ChannelOutboundBuffer.safeSuccess(ChannelOutboundBuffer.java:672) [netty-transport-4.1.5.Final.jar:4.1.5.Final] at io.netty.channel.ChannelOutboundBuffer.remove(ChannelOutboundBuffer.java:262) [netty-transport-4.1.5.Final.jar:4.1.5.Final] at io.netty.channel.ChannelOutboundBuffer.removeBytes(ChannelOutboundBuffer.java:342) [netty-transport-4.1.5.Final.jar:4.1.5.Final] at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:443) [netty-transport-4.1.5.Final.jar:4.1.5.Final] at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:856) [netty-transport-4.1.5.Final.jar:4.1.5.Final] at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.flush0(AbstractNioChannel.java:362) [netty-transport-4.1.5.Final.jar:4.1.5.Final] at io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:823) [netty-transport-4.1.5.Final.jar:4.1.5.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1296) [netty-transport-4.1.5.Final.jar:4.1.5.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:786) [netty-transport-4.1.5.Final.jar:4.1.5.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:778) [netty-transport-4.1.5.Final.jar:4.1.5.Final] at io.netty.channel.AbstractChannelHandlerContext.access$1500(AbstractChannelHandlerContext.java:38) [netty-transport-4.1.5.Final.jar:4.1.5.Final] at io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:1149) [netty-transport-4.1.5.Final.jar:4.1.5.Final] at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:1090) [netty-transport-4.1.5.Final.jar:4.1.5.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [netty-common-4.1.5.Final.jar:4.1.5.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:418) [netty-common-4.1.5.Final.jar:4.1.5.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:440) [netty-transport-4.1.5.Final.jar:4.1.5.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:873) [netty-common-4.1.5.Final.jar:4.1.5.Final] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144) [netty-common-4.1.5.Final.jar:4.1.5.Final] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_45] 23:03:49.922 [cluster-ClusterId{value='57eeef37ea55020bd8d11ee5', {noformat}

    JIRA | 2 months ago | Jeff Yemin
    java.lang.NullPointerException: null
  2. 0

    HQL Exception (org.hibernate.dialect.Dialect$3)

    Stack Overflow | 4 years ago | Hari
    java.lang.NullPointerException: null
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Error loading model properties in JPA on play 2.0.3

    Stack Overflow | 4 years ago | Chappies
    java.lang.NullPointerException: null
  5. 0

    Why lift can't find my "db.properties"

    Stack Overflow | 5 years ago | Freewind
    java.lang.NullPointerException: null

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at com.mongodb.connection.DefaultConnectionPool.getId()
    2. MongoDB Java Driver
      NettyStream$3.operationComplete
      1. com.mongodb.connection.DefaultConnectionPool.getId(DefaultConnectionPool.java:371)[main/:na]
      2. com.mongodb.connection.DefaultConnectionPool.access$1300(DefaultConnectionPool.java:56)[main/:na]
      3. com.mongodb.connection.DefaultConnectionPool$PooledConnection.close(DefaultConnectionPool.java:397)[main/:na]
      4. com.mongodb.connection.DefaultServerConnection.release(DefaultServerConnection.java:63)[main/:na]
      5. com.mongodb.operation.AsyncQueryBatchCursor$3.onResult(AsyncQueryBatchCursor.java:210)[main/:na]
      6. com.mongodb.operation.AsyncQueryBatchCursor$3.onResult(AsyncQueryBatchCursor.java:207)[main/:na]
      7. com.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:49)[main/:na]
      8. com.mongodb.connection.DefaultServer$DefaultServerProtocolExecutor$1.onResult(DefaultServer.java:185)[main/:na]
      9. com.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:49)[main/:na]
      10. com.mongodb.connection.KillCursorProtocol$1.onResult(KillCursorProtocol.java:129)[main/:na]
      11. com.mongodb.connection.KillCursorProtocol$1.onResult(KillCursorProtocol.java:115)[main/:na]
      12. com.mongodb.connection.DefaultConnectionPool$PooledConnection$1.onResult(DefaultConnectionPool.java:454)[main/:na]
      13. com.mongodb.connection.DefaultConnectionPool$PooledConnection$1.onResult(DefaultConnectionPool.java:448)[main/:na]
      14. com.mongodb.connection.UsageTrackingInternalConnection$2.onResult(UsageTrackingInternalConnection.java:117)[main/:na]
      15. com.mongodb.connection.UsageTrackingInternalConnection$2.onResult(UsageTrackingInternalConnection.java:113)[main/:na]
      16. com.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:49)[main/:na]
      17. com.mongodb.connection.InternalStreamConnection$2.completed(InternalStreamConnection.java:310)[main/:na]
      18. com.mongodb.connection.InternalStreamConnection$2.completed(InternalStreamConnection.java:295)[main/:na]
      19. com.mongodb.connection.netty.NettyStream$3.operationComplete(NettyStream.java:189)[main/:na]
      20. com.mongodb.connection.netty.NettyStream$3.operationComplete(NettyStream.java:183)[main/:na]
      20 frames
    3. Netty
      DefaultThreadFactory$DefaultRunnableDecorator.run
      1. io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:514)[netty-common-4.1.5.Final.jar:4.1.5.Final]
      2. io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:488)[netty-common-4.1.5.Final.jar:4.1.5.Final]
      3. io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:427)[netty-common-4.1.5.Final.jar:4.1.5.Final]
      4. io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:111)[netty-common-4.1.5.Final.jar:4.1.5.Final]
      5. io.netty.channel.DefaultChannelPromise.trySuccess(DefaultChannelPromise.java:82)[netty-transport-4.1.5.Final.jar:4.1.5.Final]
      6. io.netty.channel.ChannelOutboundBuffer.safeSuccess(ChannelOutboundBuffer.java:672)[netty-transport-4.1.5.Final.jar:4.1.5.Final]
      7. io.netty.channel.ChannelOutboundBuffer.remove(ChannelOutboundBuffer.java:262)[netty-transport-4.1.5.Final.jar:4.1.5.Final]
      8. io.netty.channel.ChannelOutboundBuffer.removeBytes(ChannelOutboundBuffer.java:342)[netty-transport-4.1.5.Final.jar:4.1.5.Final]
      9. io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:443)[netty-transport-4.1.5.Final.jar:4.1.5.Final]
      10. io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:856)[netty-transport-4.1.5.Final.jar:4.1.5.Final]
      11. io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.flush0(AbstractNioChannel.java:362)[netty-transport-4.1.5.Final.jar:4.1.5.Final]
      12. io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:823)[netty-transport-4.1.5.Final.jar:4.1.5.Final]
      13. io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1296)[netty-transport-4.1.5.Final.jar:4.1.5.Final]
      14. io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:786)[netty-transport-4.1.5.Final.jar:4.1.5.Final]
      15. io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:778)[netty-transport-4.1.5.Final.jar:4.1.5.Final]
      16. io.netty.channel.AbstractChannelHandlerContext.access$1500(AbstractChannelHandlerContext.java:38)[netty-transport-4.1.5.Final.jar:4.1.5.Final]
      17. io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:1149)[netty-transport-4.1.5.Final.jar:4.1.5.Final]
      18. io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:1090)[netty-transport-4.1.5.Final.jar:4.1.5.Final]
      19. io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)[netty-common-4.1.5.Final.jar:4.1.5.Final]
      20. io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:418)[netty-common-4.1.5.Final.jar:4.1.5.Final]
      21. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:440)[netty-transport-4.1.5.Final.jar:4.1.5.Final]
      22. io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:873)[netty-common-4.1.5.Final.jar:4.1.5.Final]
      23. io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)[netty-common-4.1.5.Final.jar:4.1.5.Final]
      23 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)[na:1.6.0_45]
      1 frame