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

Solutions on the web

via JIRA by Konstantin V. Borisov, 1 year ago
via Oracle Community by 3242690, 1 year ago
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)