My Oracle Support Banner

WebLogic is unable to execute a find for an entity and throws 'org.apache.openjpa.persistence.PersistenceException: null' exception (Doc ID 1073516.1)

Last updated on MARCH 13, 2020

Applies to:

Oracle WebLogic Server - Version 10.0 to 10.0
Information in this document applies to any platform.

Symptoms

Oracle WebLogic Server is unable to execute a find for an entity, which is a subclass of an abstract entity-class within a JOINED-inheritance strategy.
Server log shows the following:
<[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <0|false|0.9.7> org.apache.openjpa.persistence.PersistenceException: null<0|false|0.9.7> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.util.ApplicationIds.fromPKValues(ApplicationIds.java:172)
at org.apache.openjpa.jdbc.meta.ClassMapping.getObjectId(ClassMapping.java:188)
at org.apache.openjpa.jdbc.meta.ClassMapping.getObjectId(ClassMapping.java:142)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.load(JDBCStoreManager.java:766)
at org.apache.openjpa.jdbc.sql.AbstractResult.load(AbstractResult.java:254)
at org.apache.openjpa.jdbc.sql.SelectImpl$SelectResult.load(SelectImpl.java:2115)
at org.apache.openjpa.jdbc.meta.strats.RelationToManyInverseKeyFieldStrategy.loadElement(RelationToManyInverseKeyFieldStrategy.java:84)
...

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.