Hi,

I am trying out OrientDB. I have added some data via Java API. Version 
1.7.10

I am trying to query the GraphDB via gremlin using the example given in 
this 
wiki https://github.com/tinkerpop/gremlin/wiki/Using-Gremlin-through-Java

Code is

OrientGraph graph = new 
OrientGraph("local:Apps/orientdb-community-1.7.10/databases/localtest","pass","pass");
GremlinPipeline pipe = new GremlinPipeline();
pipe.start(graph.getVertex(1)).out("C").property("A");
pipe.next();

When I run this, this exception thrown

Dec 23, 2014 11:47:43 PM com.orientechnologies.common.log.OLogManager log
INFO: [MemoryLocker.lockMemory] Memory locked successfully!
Dec 23, 2014 11:47:44 PM com.orientechnologies.common.log.OLogManager log
WARNING: Current implementation of storage does not support sbtree 
collections
Exception in thread "main" java.lang.NullPointerException
at 
com.tinkerpop.pipes.transform.VertexQueryPipe.processNextStart(VertexQueryPipe.java:86)
at 
com.tinkerpop.pipes.transform.VertexQueryPipe.processNextStart(VertexQueryPipe.java:19)
at com.tinkerpop.pipes.AbstractPipe.next(AbstractPipe.java:89)
at 
com.tinkerpop.pipes.transform.PropertyPipe.processNextStart(PropertyPipe.java:29)
at com.tinkerpop.pipes.AbstractPipe.next(AbstractPipe.java:89)
at com.tinkerpop.pipes.util.Pipeline.next(Pipeline.java:115)
at OrientGremlin.main(OrientGremlin.java:31)

What did I miss? 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to