Forget it. It was an error. I was gettting the .next() for the inner loop using the iterator of the outer loop.
Thanks El 20/06/2011 11:50, Mattias Persson escribió: > Hi Aniceto, > > Do you have multiple threads writing at the same time as well? Is this 100% > reproducable? If you could supply an isolated test case to reproduce this, > it would be super helpful and I could look further into it. > > Best, > Mattias > > 2011/6/17 Aniceto Pérez y Madrid<[email protected]> > >> BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }Hi >> I have a graph where each node of a class have a relationship to a >> master-class node and it has a relationship to referenceNode. Using >> 1.4.M04 and EmbeddedServer. >> I have a loop over all the relationships of the referenceNode, each >> has a master-class node as endNode. >> Then I iterate over the relationships of each master-class node. >> Iterator returns each relationship beginning with the newest. The las >> one is the relation with the referenceNode. >> for (Iterator itr2 = nodo2Index.getRelationships().iterator(); >> itr2.hasNext();) { >> Relationship rel2Index; >> try { >> rel2Index = it.next(); >> catch (Exception e){ >> } >> } >> When the relationship net is from referenceNode to master-class >> node, the oldest one, I get a java.util.NoSuchElementException and the >> loop continues forever. Is that OK? >> Thanks >> >> _______________________________________________ >> Neo4j mailing list >> [email protected] >> https://lists.neo4j.org/mailman/listinfo/user >> > > -- Aniceto Pérez y Madrid [email protected] <mailto:[email protected]> http://twitter.com/aperezymadrid Director General *Innovasoft Proyectos y Servicios, SL* Ferraz, 28 2º izq E-28008 MADRID Tel: +34 915 488 601 http://www.innovasoftps.com Acceda remotamente a su ordenador Windows con Famatech Radmin http://www.innovasoftps.com _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

