java.lang.RuntimeException: org.mongodb.MongoInternalException: Unexpected runtime exception

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 Andre Spiegel, 1 year ago
org.mongodb.MongoInternalException: Unexpected runtime exception
java.lang.IllegalStateException: This really shouldn't happen with such a long timeout
at org.mongodb.operation.SingleResultFuture.get(SingleResultFuture.java:111)
at org.mongodb.connection.AsynchronousSocketChannelStream.read(AsynchronousSocketChannelStream.java:57)
at org.mongodb.connection.InternalStreamConnection.receiveMessage(InternalStreamConnection.java:191)
at org.mongodb.connection.InternalStreamConnection.receiveMessage(InternalStreamConnection.java:110)
at org.mongodb.connection.UsageTrackingInternalConnection.receiveMessage(UsageTrackingInternalConnection.java:73)
at org.mongodb.connection.PooledConnectionProvider$PooledConnection.receiveMessage(PooledConnectionProvider.java:245)
at org.mongodb.connection.DefaultServer$DefaultServerConnection.receiveMessage(DefaultServer.java:167)
at org.mongodb.protocol.WriteCommandProtocol.receiveMessage(WriteCommandProtocol.java:112)
at org.mongodb.protocol.WriteCommandProtocol.execute(WriteCommandProtocol.java:70)
at org.mongodb.protocol.InsertCommandProtocol.execute(InsertCommandProtocol.java:55)
at org.mongodb.protocol.WriteCommandProtocol.execute(WriteCommandProtocol.java:1)
at org.mongodb.operation.OperationHelper.executeProtocol(OperationHelper.java:89)
at org.mongodb.operation.BaseWriteOperation.execute(BaseWriteOperation.java:79)
at org.mongodb.operation.BaseWriteOperation.execute(BaseWriteOperation.java:1)
at org.mongodb.MongoClientImpl.execute(MongoClientImpl.java:121)
at org.mongodb.MongoCollectionImpl.execute(MongoCollectionImpl.java:160)
at org.mongodb.MongoCollectionImpl$MongoCollectionView.insert(MongoCollectionImpl.java:332)
at org.mongodb.MongoCollectionImpl.insert(MongoCollectionImpl.java:82)
at net.drmirror.DataLoader$Loader.insert(DataLoader.java:156)
at net.drmirror.DataLoader$Loader.loadFile(DataLoader.java:179)
at net.drmirror.DataLoader$PoolLoader.run(DataLoader.java:208)

Users with the same issue

You are the first who have seen this exception.

Write tip

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