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 Mon, 14 May 2012 09:24:49 GMT


Daniel Persson commented on OPENJPA-2193:

Hi Rick.

We are using tomcat and non-jta-data-source handled by tomcat.

Our tests are done from jMeter doing a lot of request to tomcat where each request creates
a new user and uses this new user for the operational part of the query to the server.

During two of these we get the null pointer exception. Could be the tomcat pooling that is
the reason for failure perhaps.

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