tinkerpop/frames — Issue #8: NullPointerException in RelationIterator
Author: joshsh
Created: 2011-11-04 13:19:49+00:00
State: open

Any idea why this would occur? This is happening when the application using Frames tries to get all "from" edges from a given vertex (a very common operation which has succeeded millions of times but fails in this one case). This is on Neo4j using all of the latest HEAD revisions.

```
java.lang.NullPointerException
at com.tinkerpop.frames.util.RelationIterator.(RelationIterator.java:24)
at com.tinkerpop.frames.util.RelationCollection.iterator(RelationCollection.java:20)
at com.tinkerpop.frames.FramedVertex.invoke(FramedVertex.java:60)
at $Proxy62.getFrom(Unknown Source)
at net.fortytwo.myotherbrain.notes.NotesSemantics.linkExists(NotesSemantics.java:395)
at net.fortytwo.myotherbrain.notes.NotesSemantics.updateInternal(NotesSemantics.java:323)
at net.fortytwo.myotherbrain.notes.NotesSemantics.update(NotesSemantics.java:105)
at net.fortytwo.myotherbrain.notes.server.UpdateExtension.performTransaction(UpdateExtension.java:76)
at net.fortytwo.myotherbrain.notes.server.TinkerNotesExtension.handleRequestInternal(TinkerNotesExtension.java:118)
at net.fortytwo.myotherbrain.notes.server.UpdateExtension.handleRequest(UpdateExtension.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.tinkerpop.rexster.AbstractSubResource.invokeExtension(AbstractSubResource.java:373)
at com.tinkerpop.rexster.AbstractSubResource.invokeExtension(AbstractSubResource.java:222)
at com.tinkerpop.rexster.GraphResource.executeGraphExtension(GraphResource.java:279)
at com.tinkerpop.rexster.GraphResource.postGraphExtension(GraphResource.java:208)
[...]
```