.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
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.
Why is email so expensive?
I have an internal mail system, that will email the user when ever they
receive an email. Let say that I have 100,000 users that receive one email
a day. That is $10 per day in email cost alone. This seems extremely high
cost. I think I might have 10 times that amoun
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
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
> triggers this error.
>
> I assume if a transaction is NOT active then NO read locks occur and
> all updates are considered Singleton updates. Note that updates in
> JDO are triggered by simply using a setter on a persisted Entity
> attribute.
>
> On Nov 30, 11:26 am, Jeffrey
There is a feature request to allow you to Pay to Reserve a JVM. They are
wanting to see if people would be willing to pay, and how much they are will
to pay.
If you are interested in this feature, please vote on the ticket and comment
how much you are willing to pay.
http://code.google.com/p/go
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
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
org.datanucleus.state.JDOStateManagerImpl.intern
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
I know that it is not possible to change the log format currently, but I
wanted to make a request for this feature.
Currently the default logging prints the class and method that makes the
call to the logging API. For me this always the same method, because I use
a utility method that adds the Lo
I am seeing the same error. I believe this happens when appengine shuts
down your server and then restarts the server. I have read the exception is
harmless, but the slow start seems to indicate different. My startup time
takes about 8 seconds.
I have created cron, that runs every minute. This
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
I am getting an exception that I pasted below. It describes a transaction
error, but I have not programmed any transactions. On top of that, the
request that I made should not have changed any data. Has anyone else been
getting errors like this?
Caused by: java.lang.IllegalArgumentException: ca
I have noticed that the first request to a server instance has really high
CPU usage (7000+ milliseconds). After the server is up, the same request
takes only 20 milliseconds. I am not using Spring or any other framework.
It appears that the time is used during the first execute call on a
Datast
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
private Date joinTime;
@Persistent
private Date resolveTime;
@Persistent
private Date fightTime;
@Persistent
private Date troopAvailableTime;
@Transient
private double ratioBonus;
}
On Mon, Nov 23, 2009 at 11:46 AM, Ikai L (Google) wrote:
> Can you po
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
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
--
I have a one-to-many unowned relationship (Code shown at the end). When I
try to make the association, it fails to actually store the relationship. I
thought I found a workaround, which is commented out in the code below. How
do I make this unowned relationship work?
This might be related to th
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
21 matches
Mail list logo