org.neo4j.driver.v1.exceptions.ClientException: You are using a session from multiple locations at the same time, which is not supported. If you want to use multiple threads, you should ensure that each session is used by only one thread at a time. One way to do that is to give each thread its own dedicated session.

GitHub | graemerocher | 8 months ago
  1. 0

    Version 1.0.2 of Java driver not thread safe

    GitHub | 8 months ago | graemerocher
    org.neo4j.driver.v1.exceptions.ClientException: You are using a session from multiple locations at the same time, which is not supported. If you want to use multiple threads, you should ensure that each session is used by only one thread at a time. One way to do that is to give each thread its own dedicated session.
  2. 0
    samebug tip
    Try adding some code so it checks if node was already created or change the CREATE for a MERGE in neo4j code
  3. 0

    Error using PERIODIC keyword in cypher query with BoltDriver

    GitHub | 1 month ago | mj9wj5ec
    org.neo4j.ogm.exception.CypherException: Error executing Cypher; Code: Neo.ClientError.Statement.SemanticError; Description: Executing queries that use periodic commit in an open transaction is not possible.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    'beginning implicit transaction' cannot be done... exception

    Google Groups | 6 months ago | Matias Burak
    java.sql.SQLException: Neo.ClientError.Statement.SyntaxError: Invalid input '。': expected whitespace or a property key name (line 1, column 48 (offset: 47)) "CREATE(n:TEST{Name:'TEST'}) SET n.p1 = 'A1', n.。p2 = 'A2';" ^
  6. 0

    Running integration test are not using the right configuration

    GitHub | 7 months ago | mburak
    org.neo4j.driver.v1.exceptions.ClientException: Unable to connect to 'localhost' on port 7687, ensure the database is running and that there is a working network connection to it.

    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. org.neo4j.driver.v1.exceptions.ClientException

      You are using a session from multiple locations at the same time, which is not supported. If you want to use multiple threads, you should ensure that each session is used by only one thread at a time. One way to do that is to give each thread its own dedicated session.

      at org.neo4j.driver.internal.connector.ConcurrencyGuardingConnection.markAsInUse()
    2. org.neo4j.driver
      PooledConnection.run
      1. org.neo4j.driver.internal.connector.ConcurrencyGuardingConnection.markAsInUse(ConcurrencyGuardingConnection.java:192)
      2. org.neo4j.driver.internal.connector.ConcurrencyGuardingConnection.run(ConcurrencyGuardingConnection.java:65)
      3. org.neo4j.driver.internal.pool.PooledConnection.run(PooledConnection.java:64)
      3 frames