neo4j.DatabaseError: [Neo.DatabaseError.Statement.ExecutionFailure] java.lang.NullPointerException

Stack Overflow | Xavitoj Cheema | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Neo4j [Neo.DatabaseError.Statement.ExecutionFailure] java.lang.NullPointerException cannot understand

    Stack Overflow | 8 months ago | Xavitoj Cheema
    neo4j.DatabaseError: [Neo.DatabaseError.Statement.ExecutionFailure] java.lang.NullPointerException

    Root Cause Analysis

    1. neo4j.DatabaseError

      [Neo.DatabaseError.Statement.ExecutionFailure] java.lang.NullPointerException

      at org.neo4j.cypher.internal.compiler.v2_3.pipes.NiceHasherValue.equals()
    2. org.neo4j.cypher
      NiceHasherValue.equals
      1. org.neo4j.cypher.internal.compiler.v2_3.pipes.NiceHasherValue.equals(NiceHasher.scala:70)
      1 frame
    3. Scala
      HashSet.contains
      1. scala.collection.mutable.FlatHashTable$class.findElemImpl(FlatHashTable.scala:128)
      2. scala.collection.mutable.FlatHashTable$class.containsElem(FlatHashTable.scala:121)
      3. scala.collection.mutable.HashSet.containsElem(HashSet.scala:40)
      4. scala.collection.mutable.HashSet.contains(HashSet.scala:57)
      4 frames
    4. org.neo4j.cypher
      EagerAggregationPipe$$anonfun$internalCreateResults$1$$anonfun$apply$1.apply
      1. org.neo4j.cypher.internal.compiler.v2_3.pipes.aggregation.DistinctFunction.apply(DistinctFunction.scala:38)
      2. org.neo4j.cypher.internal.compiler.v2_3.pipes.EagerAggregationPipe$$anonfun$internalCreateResults$1$$anonfun$apply$1.apply(EagerAggregationPipe.scala:84)
      3. org.neo4j.cypher.internal.compiler.v2_3.pipes.EagerAggregationPipe$$anonfun$internalCreateResults$1$$anonfun$apply$1.apply(EagerAggregationPipe.scala:84)
      3 frames
    5. Scala
      List.foreach
      1. scala.collection.immutable.List.foreach(List.scala:381)
      1 frame
    6. org.neo4j.cypher
      EagerAggregationPipe$$anonfun$internalCreateResults$1.apply
      1. org.neo4j.cypher.internal.compiler.v2_3.pipes.EagerAggregationPipe$$anonfun$internalCreateResults$1.apply(EagerAggregationPipe.scala:84)
      2. org.neo4j.cypher.internal.compiler.v2_3.pipes.EagerAggregationPipe$$anonfun$internalCreateResults$1.apply(EagerAggregationPipe.scala:80)
      2 frames
    7. Scala
      AbstractIterator.foreach
      1. scala.collection.Iterator$class.foreach(Iterator.scala:742)
      2. scala.collection.AbstractIterator.foreach(Iterator.scala:1194)
      2 frames
    8. org.neo4j.cypher
      ExecutionPlanBuilder$$anon$2.run
      1. org.neo4j.cypher.internal.compiler.v2_3.pipes.EagerAggregationPipe.internalCreateResults(EagerAggregationPipe.scala:80)
      2. org.neo4j.cypher.internal.compiler.v2_3.pipes.PipeWithSource.createResults(Pipe.scala:125)
      3. org.neo4j.cypher.internal.compiler.v2_3.pipes.PipeWithSource.createResults(Pipe.scala:122)
      4. org.neo4j.cypher.internal.compiler.v2_3.executionplan.DefaultExecutionResultBuilderFactory$ExecutionWorkflowBuilder.createResults(DefaultExecutionResultBuilderFactory.scala:93)
      5. org.neo4j.cypher.internal.compiler.v2_3.executionplan.DefaultExecutionResultBuilderFactory$ExecutionWorkflowBuilder.build(DefaultExecutionResultBuilderFactory.scala:63)
      6. org.neo4j.cypher.internal.compiler.v2_3.executionplan.ExecutionPlanBuilder$$anonfun$getExecutionPlanFunction$1.apply(ExecutionPlanBuilder.scala:223)
      7. org.neo4j.cypher.internal.compiler.v2_3.executionplan.ExecutionPlanBuilder$$anonfun$getExecutionPlanFunction$1.apply(ExecutionPlanBuilder.scala:207)
      8. org.neo4j.cypher.internal.compiler.v2_3.executionplan.ExecutionPlanBuilder$$anon$2.run(ExecutionPlanBuilder.scala:164)
      8 frames
    9. Neo4j - Cypher
      ServerExecutionEngine.executeQuery
      1. org.neo4j.cypher.internal.compatibility.CompatibilityFor2_3$ExecutionPlanWrapper$$anonfun$run$1.apply(CompatibilityFor2_3.scala:200)
      2. org.neo4j.cypher.internal.compatibility.CompatibilityFor2_3$ExecutionPlanWrapper$$anonfun$run$1.apply(CompatibilityFor2_3.scala:200)
      3. org.neo4j.cypher.internal.compatibility.exceptionHandlerFor2_3$.runSafely(CompatibilityFor2_3.scala:116)
      4. org.neo4j.cypher.internal.compatibility.CompatibilityFor2_3$ExecutionPlanWrapper.run(CompatibilityFor2_3.scala:199)
      5. org.neo4j.cypher.internal.PreparedPlanExecution.execute(PreparedPlanExecution.scala:27)
      6. org.neo4j.cypher.ExecutionEngine.execute(ExecutionEngine.scala:120)
      7. org.neo4j.cypher.ExecutionEngine.execute(ExecutionEngine.scala:114)
      8. org.neo4j.cypher.javacompat.internal.ServerExecutionEngine.executeQuery(ServerExecutionEngine.java:62)
      8 frames
    10. Neo4j
      TransactionalService$2.write
      1. org.neo4j.server.rest.transactional.TransactionHandle.executeStatements(TransactionHandle.java:328)
      2. org.neo4j.server.rest.transactional.TransactionHandle.commit(TransactionHandle.java:147)
      3. org.neo4j.server.rest.web.TransactionalService$2.write(TransactionalService.java:211)
      3 frames
    11. jersey-core
      StreamingOutputProvider.writeTo
      1. com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:71)
      2. com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:57)
      2 frames
    12. Jersey
      WebApplicationImpl.handleRequest
      1. com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:302)
      2. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1510)
      3. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
      4. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
      4 frames
    13. Jersey
      ServletContainer.service
      1. com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
      2. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)
      3. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)
      3 frames
    14. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      1 frame
    15. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
      2 frames
    16. Neo4j
      AuthorizationFilter.doFilter
      1. org.neo4j.server.rest.dbms.AuthorizationFilter.doFilter(AuthorizationFilter.java:116)
      1 frame
    17. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      1 frame
    18. Neo4j
      CollectUserAgentFilter.doFilter
      1. org.neo4j.server.rest.web.CollectUserAgentFilter.doFilter(CollectUserAgentFilter.java:69)
      1 frame
    19. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
      3. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
      4. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
      5. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      6. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      7. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
      8. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      9. org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
      10. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      11. org.eclipse.jetty.server.Server.handle(Server.java:497)
      12. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
      13. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
      14. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
      15. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      16. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
      16 frames
    20. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame