java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.
java.lang.NullPointerException:
at sun.nio.ch.Util$BufferCache.get(Util.java:74)
at sun.nio.ch.Util.getTemporaryDirectBuffer(Util.java:144)
at sun.nio.ch.IOUtil.read(IOUtil.java:174)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:243)
at sun.nio.ch.SocketAdaptor$SocketInputStream.read(SocketAdaptor.java:176)
at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:86)
at com.mongodb.DBPort._read(DBPort.java:219)
at com.mongodb.DBPort.go(DBPort.java:91)
at com.mongodb.DBPort.call(DBPort.java:58)
at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:158)
at com.mongodb.DBApiLayer$MyCollection.find(DBApiLayer.java:297)
at com.mongodb.DBCursor._check(DBCursor.java:253)
at com.mongodb.DBCursor._hasNext(DBCursor.java:374)
at com.mongodb.DBCursor.hasNext(DBCursor.java:399)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.