org.neo4j.driver.v1.exceptions.ClientException

Unable to read MSG_RUN message. Error was: Wrong type received. Expected STRING, received: NULL (0xff).

Samebug tips1

Try adding some code so it checks if node was already created or change the CREATE for a MERGE in neo4j code

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

Solutions on the web41

  • via GitHub by madsnotepad
    , 9 months ago
    Unable to read MSG_RUN message. Error was: Wrong type received. Expected STRING, received: NULL (0xff).
  • via Stack Overflow by Sumitha
    , 2 months ago
    Unable to read response from server: Expected a struct, but got: 69
  • via GitHub by winstony
    , 10 months ago
    Unable to read response from server: Expected a struct, but got: 6c
  • Stack trace

    • org.neo4j.driver.v1.exceptions.ClientException: Unable to read MSG_RUN message. Error was: Wrong type received. Expected STRING, received: NULL (0xff). at org.neo4j.driver.internal.connector.socket.SocketResponseHandler.handleFailureMessage(SocketResponseHandler.java:68) at org.neo4j.driver.internal.messaging.PackStreamMessageFormatV1$Reader.unpackFailureMessage(PackStreamMessageFormatV1.java:456) at org.neo4j.driver.internal.messaging.PackStreamMessageFormatV1$Reader.read(PackStreamMessageFormatV1.java:417) at org.neo4j.driver.internal.connector.socket.SocketClient.receiveOne(SocketClient.java:130) at org.neo4j.driver.internal.connector.socket.SocketConnection.receiveOne(SocketConnection.java:135) at org.neo4j.driver.internal.connector.ConcurrencyGuardingConnection.receiveOne(ConcurrencyGuardingConnection.java:150) at org.neo4j.driver.internal.pool.PooledConnection.receiveOne(PooledConnection.java:170) at org.neo4j.driver.internal.InternalStatementResult.tryFetchNext(InternalStatementResult.java:303) at org.neo4j.driver.internal.InternalStatementResult.hasNext(InternalStatementResult.java:181) at org.neo4j.spark.Executor$.execute(Neo4j.scala:363) at org.neo4j.spark.Neo4jRDD.compute(Neo4j.scala:408) at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:319) at org.apache.spark.rdd.RDD.iterator(RDD.scala:283) at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:70) at org.apache.spark.scheduler.Task.run(Task.scala:85) at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:274) 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)

    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

    Once, 9 months ago
    Unknown user
    Once, 1 year ago
    Once, 7 months ago
    Once, 8 months ago