Hi,

yesterday my application worked just fine. Today data isn't reachable with a simple query anymore (data is here, I can find it through the Data Viewer).

Here is the exception thrown:
----------------
Uncaught exception from servlet
The primary key for mymodel.JarData is an unencoded string but the key of the corresponding entity in the datastore does not have a name. You may want to either change the primary key to be an encoded string (add the "gae.encoded-pk" extension), change the primary key to be of type com.google.appengine.api.datastore.Key, or, if you're certain that this class will never have a parent, change the primary key to be of type Long. org.datanucleus.store.appengine.FatalNucleusUserException: The primary key for mymodel.JarData is an unencoded string but the key of the corresponding entity in the datastore does not have a name. You may want to either change the primary key to be an encoded string (add the "gae.encoded-pk" extension), change the primary key to be of type com.google.appengine.api.datastore.Key, or, if you're certain that this class will never have a parent, change the primary key to be of type Long. at org.datanucleus.store.appengine.DatastoreFieldManager.fetchStringPKField(DatastoreFieldManager.java:246) at org.datanucleus.store.appengine.DatastoreFieldManager.fetchStringField(DatastoreFieldManager.java:192) at org.datanucleus.state.AbstractStateManager.replacingStringField(AbstractStateManager.java:1180)
....
----------------

My question: how can it happen, that changes in DataStore have such breaking consequences? And how often will it happen?

Cheers,
Marc.
--
Blog: http://mguillem.wordpress.com

--
You received this message because you are subscribed to the Google Groups "Google 
App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to