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

  1. ,
    Expert tip

    Check if your server is listening to the the same adress you're trying to connect to.

Solutions on the web

via Google Groups by Keamas M, 1 year ago
via JIRA by Daniel Gottlieb, 1 year ago
Prematurely reached end of stream
via Google Groups by john tombin, 1 year ago
Prematurely reached end of stream
via JIRA by Dharshan Rangegowda, 1 year ago
Prematurely reached end of stream
via JIRA by Dharshan Rangegowda, 1 year ago
Prematurely reached end of stream
via Google Groups by EG, 1 year ago
com.mongodb.MongoSocketReadException: Prematurely reached end of stream	at com.mongodb.connection.SocketStream.read(SocketStream.java:88)	at com.mongodb.connection.InternalStreamConnection.receiveResponseBuffers(InternalStreamConnection.java:491)	at com.mongodb.connection.InternalStreamConnection.receiveMessage(InternalStreamConnection.java:221)	at com.mongodb.connection.UsageTrackingInternalConnection.receiveMessage(UsageTrackingInternalConnection.java:102)	at com.mongodb.connection.DefaultConnectionPool$PooledConnection.receiveMessage(DefaultConnectionPool.java:435)	at com.mongodb.connection.QueryProtocol.execute(QueryProtocol.java:297)	at com.mongodb.connection.QueryProtocol.execute(QueryProtocol.java:54)	at com.mongodb.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:159)	at com.mongodb.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:286)	at com.mongodb.connection.DefaultServerConnection.query(DefaultServerConnection.java:209)	at com.mongodb.operation.FindOperation$1.call(FindOperation.java:496)	at com.mongodb.operation.FindOperation$1.call(FindOperation.java:482)	at com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:239)	at com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:212)	at com.mongodb.operation.FindOperation.execute(FindOperation.java:482)	at com.mongodb.operation.FindOperation.execute(FindOperation.java:79)	at com.mongodb.Mongo.execute(Mongo.java:772)	at com.mongodb.Mongo$2.execute(Mongo.java:759)	at com.mongodb.DBCursor.initializeCursor(DBCursor.java:851)	at com.mongodb.DBCursor.hasNext(DBCursor.java:152)	at org.graylog2.database.PersistedServiceImpl.cursorToList(PersistedServiceImpl.java:124)	at org.graylog2.database.PersistedServiceImpl.query(PersistedServiceImpl.java:67)	at org.graylog2.database.PersistedServiceImpl.query(PersistedServiceImpl.java:71)	at org.graylog2.streams.StreamServiceImpl.loadAll(StreamServiceImpl.java:140)	at org.graylog2.streams.StreamServiceImpl.loadAllEnabled(StreamServiceImpl.java:121)	at org.graylog2.streams.StreamServiceImpl.loadAllEnabled(StreamServiceImpl.java:114)	at org.graylog2.streams.StreamRouter$StreamRouterEngineUpdater.getNewEngine(StreamRouter.java:112)	at org.graylog2.streams.StreamRouter$StreamRouterEngineUpdater.run(StreamRouter.java:97)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)