Cypher:ThisShouldNotHappenError:此执行计划不应存在

时间:2013-04-22 16:42:10

标签: neo4j cypher

以下查询出了什么问题? [Neo4j 1.8.2,嵌入式]

start merchant = node:merchants('id:10')
match (merchant)<-[:VALID_AT]-(offer)-[:TARGET_PINCODE]->(pincode)<-[:RESIDES_IN]-(customer) where (offer)-[:VALID_OFFER]->() and offer.endDate > 1
return count(offer)

Webadmin返回undefined

Java例外:

  

org.neo4j.helpers.ThisShouldNotHappenError:开发商:Andres声称   that:此执行计划不应存在。在   org.neo4j.cypher.internal.commands.PathExpression $$ anonfun $ 4.适用(PathExpression.scala:47)     在   org.neo4j.cypher.internal.commands.PathExpression $$ anonfun $ 4.适用(PathExpression.scala:46)     在   scala.collection.LinearSeqOptimized $ class.exists(LinearSeqOptimized.scala:79)     在scala.collection.immutable.List.exists(List.scala:45)at   org.neo4j.cypher.internal.commands.PathExpression.apply(PathExpression.scala:46)     在   org.neo4j.cypher.internal.commands.PathExpression.apply(PathExpression.scala:31)     在   org.neo4j.cypher.internal.commands.NonEmpty.isMatch(Predicate.scala:283)     在org.neo4j.cypher.internal.commands.And.isMatch(Predicate.scala:83)     在   org.neo4j.cypher.internal.pipes.matching.FilteringIterable $ FilteringIterator.spoolToNextInLine(FilteringIterable.scala:55)     在   org.neo4j.cypher.internal.pipes.matching.FilteringIterable $ FilteringIterator(FilteringIterable.scala:34)。     在   org.neo4j.cypher.internal.pipes.matching.FilteringIterable.iterator(FilteringIterable.scala:72)     在   org.neo4j.cypher.internal.pipes.matching.FilteringIterable.iterator(FilteringIterable.scala:27)     在   scala.collection.JavaConversions $ IterableWrapperTrait $ class.iterator(JavaConversions.scala:557)     在   scala.collection.JavaConversions $ IterableWrapper.iterator(JavaConversions.scala:583)     在   scala.collection.JavaConversions $ IterableWrapper.iterator(JavaConversions.scala:583)     在   org.neo4j.kernel.impl.traversal.TraversalBranchWithState.expandRelationshipsWithoutChecks(TraversalBranchWithState.java:70)     在   org.neo4j.kernel.impl.traversal.TraversalBranchImpl.expandRelationships(TraversalBranchImpl.java:104)     在   org.neo4j.kernel.impl.traversal.StartNodeTraversalBranch.next(StartNodeTraversalBranch.java:47)     在   org.neo4j.kernel.impl.traversal.AsOneStartBranch.next(AsOneStartBranch.java:100)     在   org.neo4j.kernel.PreorderDepthFirstSelector.next(PreorderDepthFirstSelector.java:52)     在   org.neo4j.kernel.impl.traversal.TraverserIterator.fetchNextOrNull(TraverserIterator.java:65)     在   org.neo4j.kernel.impl.traversal.TraverserIterator.fetchNextOrNull(TraverserIterator.java:34)     在   org.neo4j.helpers.collection.PrefetchingIterator.hasNext(PrefetchingIterator.java:55)     在   scala.collection.JavaConversions $ JIteratorWrapper.hasNext(JavaConversions.scala:574)     在scala.collection.Iterator $$ anon $ 21.hasNext(Iterator.scala:371)at at   scala.collection.Iterator $$ anon $ 21.hasNext(Iterator.scala:371)at   scala.collection.Iterator $$ anon $ 22.hasNext(Iterator.scala:388)at   scala.collection.Iterator $ class.foreach(Iterator.scala:660)at   scala.collection.Iterator $$ anon $ 22.foreach(Iterator.scala:382)at   org.neo4j.cypher.internal.pipes.EagerAggregationPipe.createResults(EagerAggregationPipe.scala:76)     在   org.neo4j.cypher.internal.pipes.ColumnFilterPipe.createResults(ColumnFilterPipe.scala:37)     在   org.neo4j.cypher.internal.executionplan.ExecutionPlanImpl $$ anonfun $ 7.适用(ExecutionPlanImpl.scala:127)     在   org.neo4j.cypher.internal.executionplan.ExecutionPlanImpl $$ anonfun $ 7.适用(ExecutionPlanImpl.scala:125)     在   org.neo4j.cypher.internal.executionplan.ExecutionPlanImpl.execute(ExecutionPlanImpl.scala:33)     在org.neo4j.cypher.ExecutionEngine.execute(ExecutionEngine.scala:59)     在org.neo4j.cypher.ExecutionEngine.execute(ExecutionEngine.scala:63)     在   org.neo4j.cypher.javacompat.ExecutionEngine.execute(ExecutionEngine.java:79)

注意:返回商品而不是返回商数(商品)

1 个答案:

答案 0 :(得分:0)

升级到Neo4j 1.9 RC1并且问题不再存在

相关问题