[Neo] (no subject)

2008-03-14 Thread Jonas Bergvall
Hi all! I regularly get this exception below, caused by the final delete() in the following code snippet (part of a linked list implemented using Neo) Relationship lastItemRel = rootNode.getSingleRelationship(relType, Direction.INCOMING); if (lastItemRel != null) { lastItem =

Re: [Neo] (no subject)

2008-03-14 Thread Johan Svensson
The stacktrace says to me that it is a threading problem. Two threads enter relationship delete at the same time, one of them wins the lock on the relationships deleting it. Upon commit the lock is released and the other thread tries to load the relationship from store since it can't find it