Re: [appengine-java] New Data Field NullPointer

2010-01-01 Thread Jeffrey Goetsch
.e., ((Integer) null).intValue() you get the NPE. > > > > > > Jeffrey Goetsch wrote: > >> Why do I get a NullPointerException when I add a new primitive field > >> to an object? Why doesn't JDO just recognize that it is a primitive > >> and leave the default val

[appengine-java] New Data Field NullPointer

2009-12-31 Thread Jeffrey Goetsch
Why do I get a NullPointerException when I add a new primitive field to an object? Why doesn't JDO just recognize that it is a primitive and leave the default value? Thanks, --Jeff -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group.

[appengine-java] Email Expensive

2009-12-17 Thread Jeffrey Goetsch
amount of email, which would mean $100 per day. How are other people handling this kind of scenario? Thanks, Jeffrey -- 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 google-a

[appengine-java] Querying "parent" side of unowned relationship

2009-12-07 Thread Jeffrey
What is the most efficient way of querying the "many" side of an unowned relationship. E.g., assuming the standard JDO annotations are applied: class Person { Set foods; } class Food { Key key; String name; // unique } Given the name of a Food, how can I best get the list of Person o

Re: [appengine-java] Why no GAE system property?

2009-12-03 Thread Jeffrey Goetsch
Could you create a Servlet that is loaded on launch, and set this kind of property? I think this is a workaround until they can do it officially. --Jeff On Thu, Dec 3, 2009 at 10:39 AM, Toby Reyelts wrote: > Yes, I totally agree that the current official way of checking for App > Engine presen

Re: [appengine-java] Re: Datanucleus Exception - deletePersistent() called recursively

2009-12-03 Thread Jeffrey Goetsch
Tue, Dec 1, 2009 at 9:49 AM, Max Ross (Google) > wrote: > Could you please post the model objects that are involved? Also, what > version of the SDK are you using? > > Thanks, > Max > > On Mon, Nov 30, 2009 at 2:26 PM, Jeffrey Goetsch wrote: > >> Update: This appea

Re: [appengine-java] Re: Transaction Error with No Transactions

2009-11-30 Thread Jeffrey Goetsch
Yes, no place in my code do I call tx.begin().I don't believe I even made an update, but it is possible that I did some clean up updates when I accessed some of the data. But definitely don't have any transaction code. Thanks, Jeffrey On Mon, Nov 30, 2009 at 1:48 PM, James H wr

[appengine-java] Pay to Reserve JVM

2009-11-30 Thread Jeffrey Goetsch
/googleappengine/issues/detail?id=2456#makechanges Thanks, Jeffrey -- 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 google-appengine-j...@googlegroups.com. To unsubscribe from this g

[appengine-java] Re: Datanucleus Exception - deletePersistent() called recursively

2009-11-30 Thread Jeffrey Goetsch
Update: This appears to happen when I remove the last entry in the Set. --Jeff On Mon, Nov 30, 2009 at 2:21 PM, Jeffrey Goetsch wrote: > I am getting this exception when I try and remove an Owned object from a > Set. Let me know if you need more then the stack trace. > > Thank

[appengine-java] Datanucleus Exception - deletePersistent() called recursively

2009-11-30 Thread Jeffrey Goetsch
I am getting this exception when I try and remove an Owned object from a Set. Let me know if you need more then the stack trace. Thanks, Jeffrey Caused by: org.datanucleus.exceptions.NucleusUserException: deletePersistent() called recursively at

Re: [appengine-java] First Request High CPU

2009-11-30 Thread Jeffrey Goetsch
g at several techniques to speed up Java application startup time. > It's also been suggested that we should look at a billing enabled option for > keeping a certain number of instances warm at all times. > > On Sun, Nov 29, 2009 at 11:22 PM, Jeffrey Goetsch wrote: > >> I have n

[appengine-java] Changing Log Format

2009-11-30 Thread Jeffrey Goetsch
Login Name of the user making the request. Also the Logger Name is not anywhere in the Log message, which describes where the real log came from. Thanks, Jeffrey -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to

Re: [appengine-java] google app engine exception affected app's performance

2009-11-30 Thread Jeffrey Goetsch
thread talking about these issues. --Jeffrey On Sat, Nov 28, 2009 at 9:00 AM, Donny wrote: > I use JPA in my servlet in my app, but some times when I query data > google app engine will report some exception(following is my log from > app engine's admin log. ResultServlet is my

Re: [appengine-java] My indexes are stuck in "BUILDING" state after deploying my app for the first time (i.e. on an empty datastore)

2009-11-30 Thread Jeffrey Goetsch
I was having about 2 hour index build times. I think a lot of people were launching over the weekend. --Jeff On Sun, Nov 29, 2009 at 8:36 PM, Tim Cooper wrote: > I've just deployed my AppEngine application for the first time. It > was working perfectly when running in the development environm

[appengine-java] Transaction Error with No Transactions

2009-11-30 Thread Jeffrey Goetsch
a:256) at org.datanucleus.ObjectManagerImpl.close(ObjectManagerImpl.java:801) at org.datanucleus.jdo.JDOPersistenceManager.close(JDOPersistenceManager.java:271) ... 51 more Thanks, Jeffrey -- You received this message because you are subscribed to the Google Groups "

[appengine-java] First Request High CPU

2009-11-29 Thread Jeffrey Goetsch
20ms. Does this mean you should make sure you have at least on cron running every minute? Thanks, Jeffrey -- 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 google-appengine-j...@googl

Re: [appengine-java] Datastore Issues

2009-11-25 Thread Jeffrey Goetsch
ed with opening, closing and retrieving instances of > PersistenceManager. > > On Tue, Nov 24, 2009 at 10:34 AM, Jeffrey Goetsch wrote: > >> Here is a subset of the code. It doesn't run or have the logic that >> changes the values. I have included the ChallengeD

Re: [appengine-java] Datastore Issues

2009-11-24 Thread Jeffrey Goetsch
hat packets the data needed for the GWT front end. Like I said before, I am will to share the entire code base with people that are working on these issues in datanucleus code, but not to the entire group. I am willing to answer any questions you might have. Thanks, Jeffrey public class *

Re: [appengine-java] Re: updating object doesn't work anymore

2009-11-22 Thread Jeffrey Goetsch
I am not using OpenPersistenceManagerInViewFilter, but I am using Spring to create the PersistenceManager at the beginning of the a request. If am changing many objects, and I seem to have problems where they don't get stored to the datastore. I can check right before I close the PersistenceManage

[appengine-java] Datastore Issues

2009-11-21 Thread Jeffrey Goetsch
simplifying the issue to post to this list, but as the code gets simpler the issues seem to go away. I am willing to share my larger code base with developers that are working on trying to fix these problems, but I don't want make a general post to everyone. Thanks, Jeffrey Goetsch --

[appengine-java] JDO Unowned Relationship Issue

2009-10-28 Thread Jeffrey Goetsch
this thread: http://groups.google.com/group/google-appengine-java/browse_thread/thread/a44cb049f40d6bab/f9047e0a25e3453f?lnk=gst&q=JDO+collection+null#f9047e0a25e3453f If it is, this should be a very high priority bug, because this seems like required functionality. Thanks, Jeffrey public

[appengine-java] Re: JDO Collection Load Issue

2009-10-28 Thread Jeffrey Goetsch
Jason, Thanks for the reply and checking the code. It is the null issue that is causing this issue, but I had a second issue that I will start a new thread for. Thanks, Jeff On Fri, Oct 23, 2009 at 4:01 PM, Jason (Google) wrote: > Hi Jeff. I'm having trouble reproducing this. I kept everythin