com.arangodb.ArangoDBException

java.io.IOException: Reached the end of the stream.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

  • via GitHub by ArangoRaghav
    , 6 months ago
    java.io.IOException: Reached the end of the stream.
  • via GitHub by grexe
    , 2 months ago
    java.io.IOException: Reached the end of the stream.
  • java.io.IOException: Reached the end of the stream.
  • Stack trace

    • com.arangodb.ArangoDBException: java.io.IOException: Reached the end of the stream. at com.arangodb.internal.velocystream.ConnectionSync.write(ConnectionSync.java:111) at com.arangodb.internal.velocystream.CommunicationSync.send(CommunicationSync.java:137) at com.arangodb.internal.velocystream.CommunicationSync.execute(CommunicationSync.java:119) at com.arangodb.internal.velocystream.CommunicationSync.execute(CommunicationSync.java:42) at com.arangodb.internal.ArangoExecutorSync.execute(ArangoExecutorSync.java:58) at com.arangodb.internal.ArangoExecutorSync.execute(ArangoExecutorSync.java:47) at com.arangodb.ArangoCollection.getInfo(ArangoCollection.java:642) at com.arangodb.internal.CollectionCache.execute(CollectionCache.java:100) at com.arangodb.internal.CollectionCache.getInfo(CollectionCache.java:89) at com.arangodb.internal.CollectionCache.getCollectionName(CollectionCache.java:76) at com.arangodb.internal.velocypack.VPackConfigure$2.deserialize(VPackConfigure.java:84) at com.arangodb.internal.velocypack.VPackConfigure$2.deserialize(VPackConfigure.java:74) at com.arangodb.velocypack.VPack.getValue(VPack.java:352) at com.arangodb.velocypack.VPack.deserializeObject(VPack.java:271) at com.arangodb.velocypack.VPack.getValue(VPack.java:373) at com.arangodb.velocypack.VPack.deserializeMap(VPack.java:422) at com.arangodb.velocypack.VPack.getValue(VPack.java:367) at com.arangodb.velocypack.VPack.deserialize(VPack.java:241) at com.arangodb.velocypack.VPack$2.deserialize(VPack.java:219) at com.arangodb.internal.velocypack.VPackDeserializers$4.deserialize(VPackDeserializers.java:92) at com.arangodb.internal.velocypack.VPackDeserializers$4.deserialize(VPackDeserializers.java:86) at com.arangodb.velocypack.VPack.getValue(VPack.java:352) at com.arangodb.velocypack.VPack.deserialize(VPack.java:241) at com.arangodb.util.ArangoUtil.deserialize(ArangoUtil.java:67) at com.arangodb.internal.ArangoExecutor.deserialize(ArangoExecutor.java:112) at com.arangodb.internal.ArangoExecutor.createResult(ArangoExecutor.java:108) at com.arangodb.internal.ArangoExecutorAsync.lambda$execute$0(ArangoExecutorAsync.java:48) at com.arangodb.internal.ArangoExecutorAsync.lambda$execute$1(ArangoExecutorAsync.java:56) at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760) at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736) at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962) at com.arangodb.internal.velocystream.CommunicationAsync.lambda$execute$0(CommunicationAsync.java:143) at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760) at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736) at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962) at com.arangodb.internal.velocystream.MessageStore.consume(MessageStore.java:56) at com.arangodb.internal.velocystream.ChunkStore.checkCompleteness(ChunkStore.java:66) at com.arangodb.internal.velocystream.ChunkStore.checkCompleteness(ChunkStore.java:60) at com.arangodb.internal.velocystream.ConnectionAsync.lambda$open$0(ConnectionAsync.java:113) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) 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) Caused by: java.io.IOException: Reached the end of the stream. at com.arangodb.internal.velocystream.Connection.readBytesIntoBuffer(Connection.java:212) at com.arangodb.internal.velocystream.Connection.readBytes(Connection.java:204) at com.arangodb.internal.velocystream.Connection.readChunk(Connection.java:181) at com.arangodb.internal.velocystream.ConnectionSync.write(ConnectionSync.java:98) ... 45 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.