Andy Gumbrecht created OPENJPA-2510:
---------------------------------------
Summary: NullPointerException in
OpenJPAConfigurationImpl#getDataCacheMode
Key: OPENJPA-2510
URL: https://issues.apache.org/jira/browse/OPENJPA-2510
Project: OpenJPA
Issue Type: Bug
Components: integration
Affects Versions: 2.4.0
Environment: Apache TomEE
Reporter: Andy Gumbrecht
Priority: Blocker
This could be us (Apache TomEE) and I am only posting the issue to ring the
bells, but I get this NP on a few tests and wonder if it is a bug. I have just
started to dig in myself, so no sample or patch yet.
Caused by: java.lang.NullPointerException
at
org.apache.openjpa.conf.OpenJPAConfigurationImpl.getDataCacheMode(OpenJPAConfigurationImpl.java:1797)
at
org.apache.openjpa.persistence.PersistenceProductDerivation$ConfigurationProviderImpl.setInto(PersistenceProductDerivation.java:724)
at
org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newInstance(JDBCBrokerFactory.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.openjpa.kernel.Bootstrap.invokeFactory(Bootstrap.java:131)
at
org.apache.openjpa.kernel.Bootstrap.newBrokerFactory(Bootstrap.java:65)
--
This message was sent by Atlassian JIRA
(v6.2#6252)