tinkerpop/gremlin — Issue #282: ArrayIndexOutOfBoundsException with exhaustMerge
Author: pierredewilde
Created: 2012-03-06 22:42:25+00:00
State: open
Labels: bug

gremlin> g.v(1).out.copySplit(_(),_()).exhaustMerge.out.copySplit(_(),_()).exhaustMerge
==>v[5]
==>v[3]
==>v[5]
==>v[3]
==>v[5]
==>v[3]
==>v[5]
==>v[3]
2
Display stack trace? [yN] y
java.lang.ArrayIndexOutOfBoundsException: 2
at java.util.Arrays$ArrayList.get(Arrays.java:3381)
at com.tinkerpop.pipes.branch.ExhaustMergePipe.processNextStart(ExhaustMergePipe.java:34)
at com.tinkerpop.pipes.AbstractPipe.next(AbstractPipe.java:75)
at com.tinkerpop.gremlin.pipes.transform.OutPipe.processNextStart(OutPipe.java:19)
...