Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2510

NullPointerException in OpenJPAConfigurationImpl#getDataCacheMode

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: None
    • Component/s: integration
    • Labels:
      None
    • Environment:
      Apache TomEE

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              andyg Andy Gumbrecht
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: