Re: [google-appengine] NucleusObjectNotFoundException

2013-11-13 Thread nikhil dhankani
Yes, it does show up. Strangely, this is not just happening to this particular id but to all entities in this Kind. On Wed, Nov 13, 2013 at 12:23 PM, Vinny P vinny...@gmail.com wrote: On Mon, Nov 11, 2013 at 9:14 PM, skin nikhildhank...@gmail.com wrote: I am getting the below exception even

Re: [google-appengine] NucleusObjectNotFoundException

2013-11-13 Thread Vinny P
On Wed, Nov 13, 2013 at 2:38 AM, nikhil dhankani nikhildhank...@gmail.com wrote: Yes, it does show up. Strangely, this is not just happening to this particular id but to all entities in this Kind. Instead of using a Key instance, can you use a Long as the entity's primary key and see if

Re: [google-appengine] NucleusObjectNotFoundException

2013-11-13 Thread nikhil dhankani
I cannot use Long or String as the key because this is referred in another Kind. I will have try with key with encoding. On Wed, Nov 13, 2013 at 7:32 PM, Vinny P vinny...@gmail.com wrote: On Wed, Nov 13, 2013 at 2:38 AM, nikhil dhankani nikhildhank...@gmail.com wrote: Yes, it does show up.

Re: [google-appengine] NucleusObjectNotFoundException

2013-11-13 Thread nikhil dhankani
So using encodedKey and post at http://stackoverflow.com/a/2761961/563746 helped. Issue was Kind X was being used in Kind Y with a one to many relation. But I still fail to understand that why would it not get me the object when it is there ? What can be the issue there ? Will continue this

Re: [google-appengine] NucleusObjectNotFoundException

2013-11-12 Thread Vinny P
On Mon, Nov 11, 2013 at 9:14 PM, skin nikhildhank...@gmail.com wrote: I am getting the below exception even when I have the entity with Id 4 for the kind X. Could not retrieve entity of kind X with key X(X(4)) org.datanucleus.exceptions.NucleusObjectNotFoundException: Could not retrieve

[google-appengine] NucleusObjectNotFoundException

2013-11-11 Thread skin
Hi, I am getting the below exception even when I have the entity with Id 4 for the kind X. Could not retrieve entity of kind X with key X(X(4)) org.datanucleus.exceptions.NucleusObjectNotFoundException: Could not retrieve entity of kind X with key X(X(4)) at

[google-appengine] NucleusObjectNotFoundException

2010-06-13 Thread Philip Tucker
I'm getting a NucleusObjectNotFoundException in my app. The odd thing is I don't get it on the query, I get on first access to a field in the object. I'm guessing this means an entity was deleted but the index was not properly updated. Here's the stack: org.datanucleus.state.JDOStateManagerImpl