Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Rest API issue
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sudhakar G  
View profile  
 More options Sep 13 2012, 9:51 am
From: Sudhakar G <sudhakar.t...@gmail.com>
Date: Thu, 13 Sep 2012 06:51:12 -0700 (PDT)
Local: Thurs, Sep 13 2012 9:51 am
Subject: Re: [Neo4j] Rest API issue

Hi Peter,

Just came to know that this issue is coming when the same node index is
queried before the previous iterator is closed.
Can you check from that angle and let us know if that is the actual issue.

Also, can you let us know when the REST API impl over blueprints 2.1 would
be committed.

Thanks in Advance..

On Tuesday, September 11, 2012 12:20:37 PM UTC+5:30, Peter Neubauer wrote:

> Sudhakar,
> first, the impl over REST sounds a bit expensive roundtrip-wise.
> Secondly, could you extract a simple test that gets this problem? I
> think it might be that since you are using the iterator index hits,
> the second time, it is already empty?

> Cheers,

> /peter neubauer

> Neo4j 1.8.RC1 "Vindeln Vy" -
> http://blog.neo4j.org/2012/09/neo4j-18rc1-really-careful-ftw.html

> G:  neubauer.peter
> S:  peter.neubauer
> P:  +46 704 106975
> L:   http://www.linkedin.com/in/neubauer
> T:   @peterneubauer

> Wanna learn something new? Come to @graphconnect.

> On Tue, Sep 11, 2012 at 7:53 AM, Sudhakar G <sudhak...@gmail.com<javascript:>>
> wrote:
> > Hi,,

> > I am using blueprints 1.2 over Java REST API for Neo4J.
> > I have an usecase where I need to retrieve the same vertex from Neo4J
> twice
> > in a single transaction.

> > First call is working perfectly fine where as the second call is failing
> > with the below exception.

> > java.lang.NullPointerException

> >         at

> org.neo4j.rest.graphdb.index.SimpleIndexHits.hasNext(SimpleIndexHits.java:8 0)

> >         at

> com.tinkerpop.blueprints.pgm.impls.neo4j.util.Neo4jVertexSequence.hasNext(N eo4jVertexSequence.java:35)

> >         at
> > com.pg.social.dao.graphdb.IteratorUtil.getSingle(IteratorUtil.java:18)

> >         at

> com.pg.social.dao.graphdb.service.profile.SocialProfileManager.getSocialVer tex(SocialProfileManager.java:273)

> >         at

> com.pg.social.dao.graphdb.service.network.NetworkProfileManager.importNetwo rkProfile(NetworkProfileManager.java:234)

> > Can someone let me know why and when this error comes....

> > Thanks in advance.

> > --


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.