gr.traversal().V().has("id", leftId.toString).outV().has("id", rightId).inE(edgeKind.kind).tryNext()java.lang.ClassCastException: com.thinkaurelius.titan.graphdb.vertices.CacheVertex cannot be cast to org.apache.tinkerpop.gremlin.structure.Edge
at org.apache.tinkerpop.gremlin.process.traversal.step.map.EdgeVertexStep.flatMap(EdgeVertexStep.java:47)
at org.apache.tinkerpop.gremlin.process.traversal.step.map.FlatMapStep.processNextStart(FlatMapStep.java:47)
at org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.hasNext(AbstractStep.java:131)
at org.apache.tinkerpop.gremlin.process.traversal.step.util.ExpandableStepIterator.next(ExpandableStepIterator.java:54)
at org.apache.tinkerpop.gremlin.process.traversal.step.filter.FilterStep.processNextStart(FilterStep.java:37)
at org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.hasNext(AbstractStep.java:131)
at org.apache.tinkerpop.gremlin.process.traversal.step.util.ExpandableStepIterator.next(ExpandableStepIterator.java:54)
at org.apache.tinkerpop.gremlin.process.traversal.step.map.FlatMapStep.processNextStart(FlatMapStep.java:46)
at com.thinkaurelius.titan.graphdb.tinkerpop.optimize.TitanVertexStep.processNextStart(TitanVertexStep.java:87)
at org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.hasNext(AbstractStep.java:131)
at org.apache.tinkerpop.gremlin.process.traversal.util.DefaultTraversal.hasNext(DefaultTraversal.java:117)
at org.apache.tinkerpop.gremlin.process.traversal.Traversal.tryNext(Traversal.java:66)
[GraphStep([],vertex), HasStep([id.eq(5544989c-6baf-47d9-b028-58f4cf493dae)]), EdgeVertexStep(OUT), HasStep([id.eq(db4aa152-c974-42f4-8fcf-b1218baad3b3)]), VertexStep(IN,[human-organization-relation],edge)]- find a vertex with ID1
- get the "out" vertex with ID2
- find the IN edge for vertex ID2 with the given label
g.V(ID1).outE(givenLabel).where(inV().has(ID2))
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/9c3e189b-450c-4d87-93bd-b99164a3f38e%40googlegroups.com.