Neo4j java.lang.IllegalStateException - adding nodes to Spatial Index/Layer

81 views
Skip to first unread message

Zeeshan Arif

unread,
Apr 2, 2014, 10:12:39 AM4/2/14
to ne...@googlegroups.com
I am facing the following exception when attempting to add nodes to the Spatial Index or Layer. 

The DB nodes and relationships were setup first using the bulk loader and than I am attempting to load using transactional API with batches of 1000 nodes into Spatial Index. Usually, it comes around 100K nodes mark.. Once you hit this exception the transactions fail to commit.

Environment is Neo4j 2.0.1 with spatail plugin also as 2.0.1..

Any help is appreciated. Thanks,

- Zeeshan

java.lang.IllegalStateException: No property record in property chain for Node[5111528,used=true,rel=124602537,prop=-1,labels=Inline(0x0:[]),light] contained property with key 34
        at org.neo4j.kernel.impl.nioneo.xa.NeoStoreTransaction.findPropertyRecordContaining(NeoStoreTransaction.java:1616)
        at org.neo4j.kernel.impl.nioneo.xa.NeoStoreTransaction.removeProperty(NeoStoreTransaction.java:1473)
        at org.neo4j.kernel.impl.nioneo.xa.NeoStoreTransaction.nodeRemoveProperty(NeoStoreTransaction.java:1467)
        at org.neo4j.kernel.impl.api.StateHandlingStatementOperations.nodeRemoveProperty(StateHandlingStatementOperations.java:587)
        at org.neo4j.kernel.impl.api.ConstraintEnforcingEntityOperations.nodeRemoveProperty(ConstraintEnforcingEntityOperations.java:173)
        at org.neo4j.kernel.impl.api.LockingStatementOperations.nodeRemoveProperty(LockingStatementOperations.java:269)
        at org.neo4j.kernel.impl.api.OperationsFacade.nodeRemoveProperty(OperationsFacade.java:488)
        at org.neo4j.kernel.impl.core.NodeProxy.removeProperty(NodeProxy.java:248)
        at org.neo4j.collections.rtree.RTreeIndex.quadraticSplit(RTreeIndex.java:643)
        at org.neo4j.collections.rtree.RTreeIndex.quadraticSplit(RTreeIndex.java:560)
        at org.neo4j.collections.rtree.RTreeIndex.splitAndAdjustPathBoundingBox(RTreeIndex.java:541)
        at org.neo4j.collections.rtree.RTreeIndex.add(RTreeIndex.java:86)
        at org.neo4j.gis.spatial.EditableLayerImpl.add(EditableLayerImpl.java:44)
        at org.neo4j.gis.spatial.indexprovider.LayerNodeIndex.add(LayerNodeIndex.java:136)
        at org.neo4j.gis.spatial.indexprovider.LayerNodeIndex.add(LayerNodeIndex.java:44)

Michael Hunger

unread,
Apr 2, 2014, 10:35:06 AM4/2/14
to ne...@googlegroups.com, ne...@googlegroups.com
Would you be able to supply a full test project that reproduces this error?

Sent from mobile device
--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Angelo Immediata

unread,
May 9, 2014, 3:32:45 AM5/9/14
to ne...@googlegroups.com
Hi Zeeshan

I'm facing the same issue; did you solve it? If you did....how did you do?

Thank you
Angelo

Mamta Thakur

unread,
Feb 4, 2015, 12:10:05 PM2/4/15
to ne...@googlegroups.com, michael...@neopersistence.com
Hi folks,

I have also started to get this error on sdn.save. Did anyone fixed it yet?

Regards,
Mamta.
Reply all
Reply to author
Forward
0 new messages