Skip to content

Instantly share code, notes, and snippets.

@felipebn
Created October 22, 2018 18:05
Show Gist options
  • Save felipebn/02dafa5b05a82c126e0c7c81958069b2 to your computer and use it in GitHub Desktop.
Save felipebn/02dafa5b05a82c126e0c7c81958069b2 to your computer and use it in GitHub Desktop.
Error when querying neo4j database
2018-10-22 16:46:51.845+0000 ERROR [o.n.b.v.r.ErrorReporter] Client triggered an unexpected error [Neo.DatabaseError.General.UnknownError]: (n,RefSlot(4,true,Any)) (of class scala.Tuple2), reference 6154f67f-8230-4a70-a5bd-a03b09894612. (n,RefSlot(4,true,Any)) (of class scala.Tuple2)
scala.MatchError: (n,RefSlot(4,true,Any)) (of class scala.Tuple2)
at org.neo4j.cypher.internal.runtime.slotted.SlottedExecutionContext$$anonfun$mergeWith$1.apply(SlottedExecutionContext.scala:214)
at org.neo4j.cypher.internal.runtime.slotted.SlottedExecutionContext$$anonfun$mergeWith$1.apply(SlottedExecutionContext.scala:214)
at scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:130)
at scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:130)
at scala.collection.mutable.HashTable$class.foreachEntry(HashTable.scala:236)
at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:40)
at scala.collection.mutable.HashMap.foreach(HashMap.scala:130)
at org.neo4j.cypher.internal.compatibility.v3_4.runtime.SlotConfiguration.foreachSlot(SlotConfiguration.scala:318)
at org.neo4j.cypher.internal.runtime.slotted.SlottedExecutionContext.mergeWith(SlottedExecutionContext.scala:214)
at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeRightOuterHashJoinPipe$$anonfun$internalCreateResults$1$$anonfun$apply$1.apply(NodeRightOuterHashJoinPipe.scala:43)
at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeRightOuterHashJoinPipe$$anonfun$internalCreateResults$1$$anonfun$apply$1.apply(NodeRightOuterHashJoinPipe.scala:43)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:73)
at scala.collection.mutable.MutableList.foreach(MutableList.scala:30)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
at scala.collection.AbstractTraversable.map(Traversable.scala:104)
at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeRightOuterHashJoinPipe$$anonfun$internalCreateResults$1.apply(NodeRightOuterHashJoinPipe.scala:43)
at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeRightOuterHashJoinPipe$$anonfun$internalCreateResults$1.apply(NodeRightOuterHashJoinPipe.scala:37)
at scala.collection.Iterator$$anon$11.next(Iterator.scala:410)
at scala.collection.Iterator$$anon$11.next(Iterator.scala:410)
at scala.collection.TraversableOnce$FlattenOps$$anon$1.hasNext(TraversableOnce.scala:464)
at org.neo4j.cypher.internal.compatibility.v3_4.runtime.profiler.ProfilingIterator.hasNext(Profiler.scala:209)
at scala.collection.Iterator$class.isEmpty(Iterator.scala:331)
at org.neo4j.cypher.internal.compatibility.v3_4.runtime.profiler.ProfilingIterator.isEmpty(Profiler.scala:202)
at org.neo4j.cypher.internal.runtime.interpreted.pipes.NodeRightOuterHashJoinPipe.internalCreateResults(NodeRightOuterHashJoinPipe.scala:32)
at org.neo4j.cypher.internal.runtime.interpreted.pipes.PipeWithSource.createResults(Pipe.scala:76)
at org.neo4j.cypher.internal.runtime.slotted.pipes.ApplySlottedPipe$$anonfun$internalCreateResults$1.apply(ApplySlottedPipe.scala:36)
at org.neo4j.cypher.internal.runtime.slotted.pipes.ApplySlottedPipe$$anonfun$internalCreateResults$1.apply(ApplySlottedPipe.scala:34)
at scala.collection.Iterator$$anon$12.nextCur(Iterator.scala:435)
at scala.collection.Iterator$$anon$12.hasNext(Iterator.scala:441)
at org.neo4j.cypher.internal.compatibility.v3_4.runtime.profiler.ProfilingIterator.hasNext(Profiler.scala:209)
at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:409)
at org.neo4j.cypher.internal.compatibility.v3_4.runtime.profiler.ProfilingIterator.hasNext(Profiler.scala:209)
at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:409)
at org.neo4j.cypher.internal.compatibility.v3_4.runtime.profiler.ProfilingIterator.hasNext(Profiler.scala:209)
at org.neo4j.cypher.internal.compatibility.v3_4.runtime.ClosingIterator.hasNext(ResultIterator.scala:60)
at org.neo4j.cypher.internal.runtime.RuntimeJavaValueConverter$feedQueryResultRecordIteratorToVisitable.accept(RuntimeJavaValueConverter.scala:63)
at org.neo4j.cypher.internal.compatibility.v3_4.runtime.PipeExecutionResult.accept(PipeExecutionResult.scala:113)
at org.neo4j.cypher.internal.compatibility.ClosingExecutionResult$$anonfun$accept$2.apply$mcV$sp(ClosingExecutionResult.scala:174)
at org.neo4j.cypher.internal.compatibility.ClosingExecutionResult$$anonfun$accept$2.apply(ClosingExecutionResult.scala:173)
at org.neo4j.cypher.internal.compatibility.ClosingExecutionResult$$anonfun$accept$2.apply(ClosingExecutionResult.scala:173)
at org.neo4j.cypher.exceptionHandler$runSafely$.apply(exceptionHandler.scala:89)
at org.neo4j.cypher.internal.compatibility.ClosingExecutionResult.accept(ClosingExecutionResult.scala:173)
at org.neo4j.bolt.v1.runtime.CypherAdapterStream.accept(CypherAdapterStream.java:74)
at org.neo4j.bolt.v1.messaging.BoltMessageRouter$ResultHandler.onRecords(BoltMessageRouter.java:146)
at org.neo4j.bolt.v1.runtime.BoltStateMachine$State$3.lambda$pullAll$0(BoltStateMachine.java:509)
at org.neo4j.bolt.v1.runtime.TransactionStateMachine$State.consumeResult(TransactionStateMachine.java:422)
at org.neo4j.bolt.v1.runtime.TransactionStateMachine$State$1.streamResult(TransactionStateMachine.java:288)
at org.neo4j.bolt.v1.runtime.TransactionStateMachine.streamResult(TransactionStateMachine.java:104)
at org.neo4j.bolt.v1.runtime.BoltStateMachine$State$3.pullAll(BoltStateMachine.java:508)
at org.neo4j.bolt.v1.runtime.BoltStateMachine.pullAll(BoltStateMachine.java:267)
at org.neo4j.bolt.v1.messaging.BoltMessageRouter.lambda$onPullAll$6(BoltMessageRouter.java:114)
at org.neo4j.bolt.runtime.MetricsReportingBoltConnection.lambda$enqueue$0(MetricsReportingBoltConnection.java:69)
at org.neo4j.bolt.runtime.DefaultBoltConnection.processNextBatch(DefaultBoltConnection.java:195)
at org.neo4j.bolt.runtime.MetricsReportingBoltConnection.processNextBatch(MetricsReportingBoltConnection.java:87)
at org.neo4j.bolt.runtime.DefaultBoltConnection.processNextBatch(DefaultBoltConnection.java:143)
at org.neo4j.bolt.runtime.ExecutorBoltScheduler.executeBatch(ExecutorBoltScheduler.java:170)
at org.neo4j.bolt.runtime.ExecutorBoltScheduler.lambda$scheduleBatchOrHandleError$2(ExecutorBoltScheduler.java:153)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment