getRelationships()上的neo4j IndexOutOfBoundsException的原因[再次]

时间:2015-10-26 17:12:20

标签: neo4j

此问题与Cause of neo4j IndexOutOfBoundsException on getRelationships() 重复,但除了一个重点:

  • 在该问题中,neo4j的版本为2.3.0-M02 - 修复方法是升级到2.3.0-M03

  • 该修复工作正常,现在,在使用2.3.0-RC1进行测试后,同样的错误又回来了,现在只有完整版2.3.0

我很难相信Release有一个版本的错误    候选人和最后的里程碑没有,但早期的里程碑是哪一个。

因此,要清楚,我正在使用Neo4j Release 2.3.0并获得以下堆栈跟踪:

java.lang.IndexOutOfBoundsException
    at org.neo4j.io.pagecache.impl.muninn.MuninnPageCursor.setOffset(MuninnPageCursor.java:419)
    at org.neo4j.kernel.impl.store.RelationshipGroupStore.readRecord(RelationshipGroupStore.java:143)
    at org.neo4j.kernel.impl.store.RelationshipGroupStore.forceGetRecord(RelationshipGroupStore.java:106)
    at org.neo4j.kernel.impl.api.store.StoreNodeRelationshipCursor.init(StoreNodeRelationshipCursor.java:89)
    at org.neo4j.kernel.impl.api.store.StoreAbstractNodeCursor.relationships(StoreAbstractNodeCursor.java:203)
    at org.neo4j.kernel.api.cursor.NodeItem$NodeItemHelper.getRelationships(NodeItem.java:81)
    at org.neo4j.kernel.impl.api.OperationsFacade.nodeGetRelationships(OperationsFacade.java:319)
    at org.neo4j.kernel.impl.core.NodeProxy$2.iterator(NodeProxy.java:201)
    at org.neo4j.kernel.impl.core.NodeProxy$2.iterator(NodeProxy.java:193)

来自代码:

Iterable<Relationship> rels = node.getRelationships( ... any various args ... );
for (Relationship rel : rels) {
    // Some computation
}

0 个答案:

没有答案