org.neo4j.driver.exceptions.ClientException: Unable to read response from server: Expected a struct, but got: 2f

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 GitHub by FylmTM
, 1 year ago
Unable to read response from server: Expected a struct, but got: 2f
org.neo4j.driver.exceptions.ClientException: Unable to read response from server: Expected a struct, but got: 2f
at org.neo4j.driver.internal.packstream.PackStream$Unpacker.unpackStructHeader(PackStream.java:471)
at org.neo4j.driver.internal.messaging.PackStreamMessageFormatV1$Reader.read(PackStreamMessageFormatV1.java:352)
at org.neo4j.driver.internal.connector.socket.SocketClient.send(SocketClient.java:113)
at org.neo4j.driver.internal.connector.socket.SocketConnection.sync(SocketConnection.java:101)
at org.neo4j.driver.internal.pool.PooledConnection.sync(PooledConnection.java:99)
at org.neo4j.driver.internal.StandardTransaction.run(StandardTransaction.java:121)
at com.neueda.neo4j.driver.client.communication.transport.ndp.executors.NdpCommandExecutor.executeInStream(NdpCommandExecutor.java:67)
at com.neueda.neo4j.driver.client.ServerGraphDatabaseService.execute(ServerGraphDatabaseService.java:276)
at com.neueda.neo4j.driver.client.ServerGraphDatabaseService.execute(ServerGraphDatabaseService.java:261)
at com.neueda.neo4j.driver.tests.perf.bench.GetNodesBenchmark.getNodesNdp(GetNodesBenchmark.java:60)
at com.neueda.neo4j.driver.tests.perf.bench.generated.GetNodesBenchmark_getNodesNdp.getNodesNdp_avgt_jmhStub(GetNodesBenchmark_getNodesNdp.java:213)
at com.neueda.neo4j.driver.tests.perf.bench.generated.GetNodesBenchmark_getNodesNdp.getNodesNdp_AverageTime(GetNodesBenchmark_getNodesNdp.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:452)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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