java.io.EOFException

Stack Overflow | Rakesh | 5 months ago
  1. 0

    can't say something com.mongodb.MongoException$Network: can't say something at com.mongodb.DBTCPConnector.say(DBTCPConnector.java:159) at com.mongodb.DBTCPConnector.say(DBTCPConnector.java:132) at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:262) at com.mongodb.DBApiLayer$MyCollection.createIndex(DBApiLayer.java:354) at com.mongodb.DBCollection.ensureIndex(DBCollection.java:444) at com.mongodb.DBCollection.ensureIndex(DBCollection.java:392) at com.atlassian.marketplace.mapreduce.package$$anonfun$index$1.apply(package.scala:7) at com.atlassian.marketplace.mapreduce.package$$anonfun$index$1.apply(package.scala:7) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:34) at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:33) at scala.collection.TraversableLike$class.map(TraversableLike.scala:194) at scala.collection.mutable.WrappedArray.map(WrappedArray.scala:33) at com.atlassian.marketplace.mapreduce.package$.index(package.scala:7) at com.atlassian.marketplace.mapreduce.PluginApplicationsDao.<init>(MapReduce.scala:129) at com.atlassian.marketplace.mapreduce.PluginApplicationsDao$.apply(MapReduce.scala:123) at com.atlassian.marketplace.mapreduce.PluginApplicationsDao$.get(MapReduce.scala:120) at com.atlassian.marketplace.model.service.PluginService$$anonfun$findLabeledPluginsForApplication$1.apply(PluginService.scala:137) at com.atlassian.marketplace.model.service.PluginService$$anonfun$findLabeledPluginsForApplication$1.apply(PluginService.scala:128) at scala.Option.map(Option.scala:133) at com.atlassian.marketplace.model.service.PluginService$.findLabeledPluginsForApplication(PluginService.scala:128) at com.atlassian.marketplace.rest.legacy.LegacyRestServlet$$anonfun$13.apply(LegacyRestServlet.scala:122) at com.atlassian.marketplace.rest.legacy.LegacyRestServlet$$anonfun$13.apply(LegacyRestServlet.scala:119) at org.scalatra.ScalatraKernel$$anonfun$invoke$1.apply(ScalatraKernel.scala:211) at org.scalatra.ScalatraKernel$$anonfun$invoke$1.apply(ScalatraKernel.scala:210) at org.scalatra.ScalatraKernel$class.withRouteMultiParams(ScalatraKernel.scala:270) at org.scalatra.ScalatraServlet.withRouteMultiParams(ScalatraServlet.scala:24) at org.scalatra.ScalatraKernel$class.invoke(ScalatraKernel.scala:209) at org.scalatra.ScalatraServlet.invoke(ScalatraServlet.scala:24) at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1$$anonfun$apply$2.apply(ScalatraKernel.scala:195) at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1$$anonfun$apply$2.apply(ScalatraKernel.scala:194) at scala.Option.flatMap(Option.scala:146) at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1.apply(ScalatraKernel.scala:194) at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1.apply(ScalatraKernel.scala:193) at scala.collection.immutable.Stream.flatMap(Stream.scala:213) at org.scalatra.ScalatraKernel$class.runRoutes(ScalatraKernel.scala:193) at org.scalatra.ScalatraServlet.runRoutes(ScalatraServlet.scala:24) at org.scalatra.ScalatraKernel$class.executeRoutes(ScalatraKernel.scala:164) at org.scalatra.ScalatraServlet.executeRoutes(ScalatraServlet.scala:24) at org.scalatra.ScalatraKernel$$anonfun$handle$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(ScalatraKernel.scala:138) at org.scalatra.ScalatraKernel$$anonfun$handle$1$$anonfun$apply$mcV$sp$1.apply(ScalatraKernel.scala:136) at org.scalatra.ScalatraKernel$$anonfun$handle$1$$anonfun$apply$mcV$sp$1.apply(ScalatraKernel.scala:136) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57) at org.scalatra.ScalatraKernel$$anonfun$handle$1.apply$mcV$sp(ScalatraKernel.scala:136) at org.scalatra.ScalatraKernel$$anonfun$handle$1.apply(ScalatraKernel.scala:136) at org.scalatra.ScalatraKernel$$anonfun$handle$1.apply(ScalatraKernel.scala:136) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57) at org.scalatra.ScalatraKernel$class.handle(ScalatraKernel.scala:135) at com.atlassian.marketplace.rest.legacy.LegacyRestServlet.org$scalatra$scalate$ScalateSupport$$super$handle(LegacyRestServlet.scala:25) at org.scalatra.scalate.ScalateSupport$class.handle(ScalateSupport.scala:120) at com.atlassian.marketplace.rest.legacy.LegacyRestServlet.handle(LegacyRestServlet.scala:25) at org.scalatra.ScalatraServlet.service(ScalatraServlet.scala:31) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:342) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) at java.lang.Thread.run(Thread.java:680) java.io.EOFException at org.bson.io.Bits.readFully(Bits.java:37) at org.bson.io.Bits.readFully(Bits.java:28) at com.mongodb.Response.<init>(Response.java:39) at com.mongodb.DBPort.go(DBPort.java:123) at com.mongodb.DBPort.go(DBPort.java:82) at com.mongodb.DBPort.findOne(DBPort.java:142) at com.mongodb.DBPort.runCommand(DBPort.java:151) at com.mongodb.DBTCPConnector._checkWriteError(DBTCPConnector.java:121) at com.mongodb.DBTCPConnector.say(DBTCPConnector.java:148) at com.mongodb.DBTCPConnector.say(DBTCPConnector.java:132) at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:262) at com.mongodb.DBApiLayer$MyCollection.createIndex(DBApiLayer.java:354) at com.mongodb.DBCollection.ensureIndex(DBCollection.java:444) at com.mongodb.DBCollection.ensureIndex(DBCollection.java:392) at com.atlassian.marketplace.mapreduce.package$$anonfun$index$1.apply(package.scala:7) at com.atlassian.marketplace.mapreduce.package$$anonfun$index$1.apply(package.scala:7) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:34) at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:33) at scala.collection.TraversableLike$class.map(TraversableLike.scala:194) at scala.collection.mutable.WrappedArray.map(WrappedArray.scala:33) at com.atlassian.marketplace.mapreduce.package$.index(package.scala:7) at com.atlassian.marketplace.mapreduce.PluginApplicationsDao.<init>(MapReduce.scala:129) at com.atlassian.marketplace.mapreduce.PluginApplicationsDao$.apply(MapReduce.scala:123) at com.atlassian.marketplace.mapreduce.PluginApplicationsDao$.get(MapReduce.scala:120) at com.atlassian.marketplace.model.service.PluginService$$anonfun$findLabeledPluginsForApplication$1.apply(PluginService.scala:137) at com.atlassian.marketplace.model.service.PluginService$$anonfun$findLabeledPluginsForApplication$1.apply(PluginService.scala:128) at scala.Option.map(Option.scala:133) at com.atlassian.marketplace.model.service.PluginService$.findLabeledPluginsForApplication(PluginService.scala:128) at com.atlassian.marketplace.rest.legacy.LegacyRestServlet$$anonfun$13.apply(LegacyRestServlet.scala:122) at com.atlassian.marketplace.rest.legacy.LegacyRestServlet$$anonfun$13.apply(LegacyRestServlet.scala:119) at org.scalatra.ScalatraKernel$$anonfun$invoke$1.apply(ScalatraKernel.scala:211) at org.scalatra.ScalatraKernel$$anonfun$invoke$1.apply(ScalatraKernel.scala:210) at org.scalatra.ScalatraKernel$class.withRouteMultiParams(ScalatraKernel.scala:270) at org.scalatra.ScalatraServlet.withRouteMultiParams(ScalatraServlet.scala:24) at org.scalatra.ScalatraKernel$class.invoke(ScalatraKernel.scala:209) at org.scalatra.ScalatraServlet.invoke(ScalatraServlet.scala:24) at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1$$anonfun$apply$2.apply(ScalatraKernel.scala:195) at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1$$anonfun$apply$2.apply(ScalatraKernel.scala:194) at scala.Option.flatMap(Option.scala:146) at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1.apply(ScalatraKernel.scala:194) at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1.apply(ScalatraKernel.scala:193) at scala.collection.immutable.Stream.flatMap(Stream.scala:213) at org.scalatra.ScalatraKernel$class.runRoutes(ScalatraKernel.scala:193) at org.scalatra.ScalatraServlet.runRoutes(ScalatraServlet.scala:24) at org.scalatra.ScalatraKernel$class.executeRoutes(ScalatraKernel.scala:164) at org.scalatra.ScalatraServlet.executeRoutes(ScalatraServlet.scala:24) at org.scalatra.ScalatraKernel$$anonfun$handle$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(ScalatraKernel.scala:138) at org.scalatra.ScalatraKernel$$anonfun$handle$1$$anonfun$apply$mcV$sp$1.apply(ScalatraKernel.scala:136) at org.scalatra.ScalatraKernel$$anonfun$handle$1$$anonfun$apply$mcV$sp$1.apply(ScalatraKernel.scala:136) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57) at org.scalatra.ScalatraKernel$$anonfun$handle$1.apply$mcV$sp(ScalatraKernel.scala:136) at org.scalatra.ScalatraKernel$$anonfun$handle$1.apply(ScalatraKernel.scala:136) at org.scalatra.ScalatraKernel$$anonfun$handle$1.apply(ScalatraKernel.scala:136) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57) at org.scalatra.ScalatraKernel$class.handle(ScalatraKernel.scala:135) at com.atlassian.marketplace.rest.legacy.LegacyRestServlet.org$scalatra$scalate$ScalateSupport$$super$handle(LegacyRestServlet.scala:25) at org.scalatra.scalate.ScalateSupport$class.handle(ScalateSupport.scala:120) at com.atlassian.marketplace.rest.legacy.LegacyRestServlet.handle(LegacyRestServlet.scala:25) at org.scalatra.ScalatraServlet.service(ScalatraServlet.scala:31) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:342) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) at java.lang.Thread.run(Thread.java:680)

    Ecosystem JIRA | 5 years ago | Stacey Shkuratoff
    java.io.EOFException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Java streams with EOFException

    Stack Overflow | 4 years ago | user2224638
    java.io.EOFException
  4. 0

    Reading integer values from binary file using Java

    Stack Overflow | 6 years ago | rozar
    java.io.EOFException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.EOFException

      No message provided

      at org.bson.io.Bits.readFully()
    2. MongoDB Java Driver
      DBCollection.ensureIndex
      1. org.bson.io.Bits.readFully(Bits.java:48)
      2. org.bson.io.Bits.readFully(Bits.java:33)
      3. org.bson.io.Bits.readFully(Bits.java:28)
      4. com.mongodb.Response.<init>(Response.java:40)
      5. com.mongodb.DBPort.go(DBPort.java:124)
      6. com.mongodb.DBPort.go(DBPort.java:88)
      7. com.mongodb.DBPort.findOne(DBPort.java:143)
      8. com.mongodb.DBPort.runCommand(DBPort.java:148)
      9. com.mongodb.DBTCPConnector.initDirectConnection(DBTCPConnector.java:548)
      10. com.mongodb.DBTCPConnector.checkMaster(DBTCPConnector.java:527)
      11. com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:277)
      12. com.mongodb.DBTCPConnector.call(DBTCPConnector.java:257)
      13. com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:310)
      14. com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:295)
      15. com.mongodb.DBCollection.findOne(DBCollection.java:727)
      16. com.mongodb.DBCollection.findOne(DBCollection.java:669)
      17. com.mongodb.DBApiLayer$MyCollection.createIndex(DBApiLayer.java:364)
      18. com.mongodb.DBCollection.createIndex(DBCollection.java:484)
      19. com.mongodb.DBCollection.ensureIndex(DBCollection.java:560)
      20. com.mongodb.DBCollection.ensureIndex(DBCollection.java:538)
      20 frames
    3. com.six30labs.petcareapi
      MyResource.signUp
      1. com.six30labs.petcareapi.services.Service.signUpUser(Service.java:51)
      2. com.six30labs.petcareapi.resources.MyResource.signUp(MyResource.java:93)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. jersey-core-server
      ServerRuntime$2.run
      1. org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
      2. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
      3. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
      4. org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)
      5. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
      6. org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
      7. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
      8. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
      9. org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)
      9 frames
    6. Jersey Core
      Errors.process
      1. org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
      2. org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      4. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      5. org.glassfish.jersey.internal.Errors.process(Errors.java:267)
      5 frames