yes, I found that the the variable must pre-exist before doing vertex 
iteration as opposed to not iterating at all (which I think would be the 
better thing to do)

On Monday, April 20, 2015 at 9:57:13 AM UTC-4, [email protected] wrote:
>
> Hi,
>
> Are you sure the "Career" class exists in your database? 
>
> In OrientBaseGraph.java, the following code is called:
>
> 835    OClass clazz = 
> this.database.getMetadata().getImmutableSchemaSnapshot().getClass(className);
> 837    Collection indexes = clazz.getIndexes();
>
> So I guess the clazz variable is null because it was not found.
>
> Regards.
>
>
> Le samedi 11 avril 2015 18:17:39 UTC+2, sck2015 a écrit :
>>
>> Hi everyone, out of the blue, I am getting a java null pointer exception, 
>> I don't have source for the tinkerpop interface integration code but it is 
>> dying in : 
>> com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.getVertices():837, I 
>> have used this code before so I"m thinking something may be getting 
>> clobbered apriori:
>>
>> for (Vertex v : graph.getVertices("Career.organizationName", "PENN")) {
>>             return false;
>>  }
>>
>> trying to get a java decompiler to run on the original source but if 
>> anyone has seen this or can advise why it happens, please let me know, 
>> thanks, Sonu
>>
>

-- 

--- 
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