I'm using Titan 1.0 with Tinkerpop 3.0.1-incubating.
We have edges with properties on them and I have a traversal that looks like this:
g.V(start).emit().repeat(__.inE().has("isParent", true).outV());
I have attempted to exclude what appeared to be the issue (IncidentToAdjacentStrategy.java) by adding a lambda step to my traversal
g.V(start).filter(x -> true).emit().repeat(__.inE().has("isParent", true).outV());
That got me a bit further but the code still fails.
Here is the Java 8 stacktrace:
Caused by: java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
at java.util.ArrayList$Itr.next(ArrayList.java:851)
at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:
1042)
at org.apache.tinkerpop.gremlin.process.traversal.util.TraversalHelper.h
asStepOfAssignableClassRecursively(TraversalHelper.java:228)
at org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.
IncidentToAdjacentStrategy.apply(IncidentToAdjacentStrategy.java:75)
at org.apache.tinkerpop.gremlin.process.traversal.util.DefaultTraversalS
trategies.applyStrategies(DefaultTraversalStrategies.java:77)
at org.apache.tinkerpop.gremlin.process.traversal.lambda.AbstractLambdaT
raversal.applyStrategies(AbstractLambdaTraversal.java:70)
at org.apache.tinkerpop.gremlin.process.traversal.util.DefaultTraversal.
applyStrategies(DefaultTraversal.java:91)
at org.apache.tinkerpop.gremlin.process.traversal.util.DefaultTraversal.
hasNext(DefaultTraversal.java:116)
I found a post that seems relevant to my issue, but there was no resolution.
https://groups.google.com/forum/#!msg/gremlin-users/Qy-eNtIMJkk/zMcU5PB6DAAJ;context-place=forum/gremlin-usersI am not sure what my options are at this point other than attempting to move to a newer version of Tinkerpop. Any help would be appreciated.