Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Done
-
None
-
None
Description
If a Node without any labels (in my case, from an upgraded Neo4j 1.x database) is passed to this method, the call to next() throws a NoSuchElementException. When it is called from a traversal (e.g. by g.V()) it is interpreted as terminating the traversal. Unfortunately, removing the call to next does not result in an IllegalStateException for a deleted node, but it appears that Node.getPropertyKeys() throws an IllegalStateException on a deleted node, even if the node had no properties before it was deleted. Also see issue TINKERPOP3-131.