[appengine-java] Re: NullPointerException while persisting a new entity

2010-05-08 Thread Iain
I also had this problem, and I fixed it. I found that it occurs when you have a com.google.appengine.api.datastore.Text field, and you construct it with a null. That is, new Text(null). The workaround, if the string is null, make the text property null. On Apr 16, 4:40 pm, Coelho

[appengine-java] Re: NullPointerException while persisting a new entity

2010-04-16 Thread Coelho
I would report the same problem and maybe help with more details. I change the primary key of a persisntant propertie of my class from String to Long, and after a lot of problems with that I, decide to get back for String type. After that my objects couldn´t be persistant anymore. Please help