java.lang.NullPointerException

JIRA | Konstantin V. Borisov | 5 years 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

    No message provided

    at sun.nio.ch.Util$BufferCache.get()
  2. Java RT
    ChannelInputStream.read
    1. sun.nio.ch.Util$BufferCache.get(Util.java:74)
    2. sun.nio.ch.Util.getTemporaryDirectBuffer(Util.java:144)
    3. sun.nio.ch.IOUtil.read(IOUtil.java:174)
    4. sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:243)
    5. sun.nio.ch.SocketAdaptor$SocketInputStream.read(SocketAdaptor.java:176)
    6. sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:86)
    6 frames
  3. MongoDB Java Driver
    DBCursor.hasNext
    1. com.mongodb.DBPort._read(DBPort.java:219)
    2. com.mongodb.DBPort.go(DBPort.java:91)
    3. com.mongodb.DBPort.call(DBPort.java:58)
    4. com.mongodb.DBTCPConnector.call(DBTCPConnector.java:158)
    5. com.mongodb.DBApiLayer$MyCollection.find(DBApiLayer.java:297)
    6. com.mongodb.DBCursor._check(DBCursor.java:253)
    7. com.mongodb.DBCursor._hasNext(DBCursor.java:374)
    8. com.mongodb.DBCursor.hasNext(DBCursor.java:399)
    8 frames