You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think it's my implementation (though it might be), but I'm getting a java.util.ConcurrentModificationException on removeEdges(). I'm removing the Vertex at the other end of my current vertex, which is then trying to remove the edge. Here's the relevant part of the stack trace:
[err] java.util.ConcurrentModificationException
[err] at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
[err] at java.util.ArrayList$Itr.next(ArrayList.java:851)
[err] at org.openntf.domino.graph2.impl.DFastEdgeList$DFastEdgeIterator.next(DFastEdgeList.java:54)
[err] at org.openntf.domino.graph2.impl.DFastEdgeList$DFastEdgeIterator.next(DFastEdgeList.java:1)
[err] at org.openntf.domino.graph2.annotations.AbstractIncidenceHandler.removeEdges(AbstractIncidenceHandler.java:328)
removeEdges has this iterator code within it, and the error is on the first line:
for (final Edge edge : element.getEdges(direction, label)) {
if (null == otherVertex || edge.getVertex(direction.opposite()).equals(otherVertex)) {
framedGraph.removeEdge(edge);
}
}
I think it's failing on checking for the next edge, because it's already removed the edge it's trying to get the "next" of - is that right?
The text was updated successfully, but these errors were encountered:
I don't think it's my implementation (though it might be), but I'm getting a java.util.ConcurrentModificationException on removeEdges(). I'm removing the Vertex at the other end of my current vertex, which is then trying to remove the edge. Here's the relevant part of the stack trace:
[err] java.util.ConcurrentModificationException
[err] at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
[err] at java.util.ArrayList$Itr.next(ArrayList.java:851)
[err] at org.openntf.domino.graph2.impl.DFastEdgeList$DFastEdgeIterator.next(DFastEdgeList.java:54)
[err] at org.openntf.domino.graph2.impl.DFastEdgeList$DFastEdgeIterator.next(DFastEdgeList.java:1)
[err] at org.openntf.domino.graph2.annotations.AbstractIncidenceHandler.removeEdges(AbstractIncidenceHandler.java:328)
removeEdges has this iterator code within it, and the error is on the first line:
I think it's failing on checking for the next edge, because it's already removed the edge it's trying to get the "next" of - is that right?
The text was updated successfully, but these errors were encountered: