openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Persson (JIRA)" <>
Subject [jira] [Commented] (OPENJPA-2193) Nullpointer exception when persisting object during high load
Date Wed, 04 Jul 2012 14:58:34 GMT


Daniel Persson commented on OPENJPA-2193:

Hi Rick.

It's quite easy to recreate in a tomcat environment. We get the error about 7 times every
day in our environment.
My guess is that the tomcat pool have connections with timeouts that will trigger and then
the connections will be closed or unavailable for OpenJPA.

I don't have any example code yet because of other failures to hunt down. But I will try to
recreate this with an as small as possible example.

Best regards

> Nullpointer exception when persisting object during high load
> -------------------------------------------------------------
>                 Key: OPENJPA-2193
>                 URL:
>             Project: OpenJPA
>          Issue Type: Bug
>            Reporter: Daniel Persson
>            Priority: Minor
> During high load and many persists _conn is null during commit.
> Caused by: <openjpa-2.2.0-r422266:1244990 nonfatal general error> org.apache.openjpa.persistence.PersistenceException:
>         at org.apache.openjpa.kernel.BrokerImpl.afterCompletion(
>         at org.apache.openjpa.kernel.LocalManagedRuntime.commit(
>         at org.apache.openjpa.kernel.BrokerImpl.commit(
>         at org.apache.openjpa.kernel.DelegatingBroker.commit(
>         at org.apache.openjpa.persistence.EntityManagerImpl.commit(
>         ... 29 more
> Caused by: java.lang.NullPointerException
>         at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.commit(
>         at org.apache.openjpa.kernel.DelegatingStoreManager.commit(
>         at org.apache.openjpa.datacache.DataCacheStoreManager.commit(
>         at org.apache.openjpa.kernel.DelegatingStoreManager.commit(
>         at org.apache.openjpa.kernel.BrokerImpl.endStoreManagerTransaction(
>         at org.apache.openjpa.kernel.BrokerImpl.endTransaction(
>         at org.apache.openjpa.kernel.BrokerImpl.afterCompletion(
>         ... 33 more

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message