java.io.IOException

Cannot write to buffer when closed

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 web18580

  • via GitHub by Lahpman7
    , 1 month ago
    Cannot write to buffer when closed
  • Cannot write to buffer when closed
  • Cannot write to buffer when closed
  • Stack trace

    • java.io.IOException: Cannot write to buffer when closed at org.neo4j.bolt.v1.transport.ChunkedOutput.ensure(ChunkedOutput.java:163) at org.neo4j.bolt.v1.transport.ChunkedOutput.writeByte(ChunkedOutput.java:86) at org.neo4j.bolt.v1.packstream.PackStream$Packer.packStringHeader(PackStream.java:260) at org.neo4j.bolt.v1.packstream.PackStream$Packer.pack(PackStream.java:251) at org.neo4j.bolt.v1.messaging.infrastructure.ValueRelationship.pack(ValueRelationship.java:46) at org.neo4j.bolt.v1.messaging.Neo4jPack$Packer.pack(Neo4jPack.java:217) at org.neo4j.bolt.v1.messaging.BoltResponseMessageWriter.onRecord(BoltResponseMessageWriter.java:59) at org.neo4j.bolt.v1.messaging.BoltMessageRouter$ResultHandler$1.visit(BoltMessageRouter.java:137) at org.neo4j.bolt.v1.runtime.cypher.CypherAdapterStream.lambda$accept$0(CypherAdapterStream.java:70) at org.neo4j.cypher.internal.compatibility.ExecutionResultWrapperFor3_1$$anon$7.visit(CompatibilityFor3_1.scala:405) at org.neo4j.cypher.internal.compiler.v3_1.helpers.RuntimeJavaValueConverter$feedIteratorToVisitable.accept(RuntimeJavaValueConverter.scala:55) at org.neo4j.cypher.internal.compiler.v3_1.PipeExecutionResult.accept(PipeExecutionResult.scala:109) at org.neo4j.cypher.internal.compatibility.ExecutionResultWrapperFor3_1.accept(CompatibilityFor3_1.scala:402) at org.neo4j.cypher.internal.compatibility.ClosingExecutionResult$$anonfun$accept$1.apply$mcV$sp(ClosingExecutionResult.scala:169) at org.neo4j.cypher.internal.compatibility.ClosingExecutionResult$$anonfun$accept$1.apply(ClosingExecutionResult.scala:168) at org.neo4j.cypher.internal.compatibility.ClosingExecutionResult$$anonfun$accept$1.apply(ClosingExecutionResult.scala:168) at org.neo4j.cypher.internal.compatibility.exceptionHandlerFor3_1$runSafely$.apply(CompatibilityFor3_1.scala:190) at org.neo4j.cypher.internal.compatibility.ClosingExecutionResult.accept(ClosingExecutionResult.scala:168) at org.neo4j.cypher.internal.javacompat.ExecutionResult.accept(ExecutionResult.java:317) at org.neo4j.bolt.v1.runtime.cypher.CypherAdapterStream.accept(CypherAdapterStream.java:69) at org.neo4j.bolt.v1.messaging.BoltMessageRouter$ResultHandler.onRecords(BoltMessageRouter.java:130) at org.neo4j.bolt.v1.runtime.BoltStateMachine$State$3.lambda$pullAll$0(BoltStateMachine.java:450) at org.neo4j.bolt.v1.runtime.TransactionStateMachine$State$1.streamResult(TransactionStateMachine.java:211) at org.neo4j.bolt.v1.runtime.TransactionStateMachine.streamResult(TransactionStateMachine.java:93) at org.neo4j.bolt.v1.runtime.BoltStateMachine$State$3.pullAll(BoltStateMachine.java:449) at org.neo4j.bolt.v1.runtime.BoltStateMachine.pullAll(BoltStateMachine.java:232) at org.neo4j.bolt.v1.messaging.BoltMessageRouter.lambda$onPullAll$6(BoltMessageRouter.java:98) at org.neo4j.bolt.v1.runtime.concurrent.RunnableBoltWorker.execute(RunnableBoltWorker.java:136) at org.neo4j.bolt.v1.runtime.concurrent.RunnableBoltWorker.executeBatch(RunnableBoltWorker.java:123) at org.neo4j.bolt.v1.runtime.concurrent.RunnableBoltWorker.run(RunnableBoltWorker.java:94) at java.lang.Thread.run(Thread.java:745)

    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.