Github user dalaro commented on a diff in the pull request: https://github.com/apache/incubator-tinkerpop/pull/298#discussion_r61604599 --- Diff: gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/star/StarGraph.java --- @@ -290,7 +288,16 @@ public void dropVertexProperties(final String... propertyKeys) { @Override public Edge addEdge(final String label, final Vertex inVertex, final Object... keyValues) { - return this.addOutEdge(label, inVertex, keyValues); + final Edge edge = this.addOutEdge(label, inVertex, keyValues); + if (inVertex.equals(this)) { + List<Edge> inE = inEdges.get(label); --- End diff -- inEdges may be null here on a pristine StarVertex
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---