Hi,

I use a command-line java client to generate data that is submitted to
my AppEngine application for storage.

It was working fine in a prior version of AppEngine, but with the
recent upgrade to 1.2.2, I find that all keys
(com.google.appengine.api.datastore.Key) generated by my command-line
app causes NullPointerExceptions when I call KeyFactory.keyToString
(key) within my app. When I debug further, I discover that the
difference between keys generated by my command-line client and keys
generated directly within my appengine app is a field called
appIdNamespace.

All keys created by my command-line client have Key.appIdNamespace =
null. In comparison, keys created within the appengine app have a non-
null appIdNamespace.

appIdNamespace seem to be a private/protected field which I have no
direct access to. How do I create a key with a non-null
appIdNamespace?

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