My Oracle Support Banner

Application Returns "IllegalArgumentException: Object: null is not a known Entity type" After 70 Minutes on Submit (Doc ID 2636648.1)

Last updated on FEBRUARY 28, 2020

Applies to:

Oracle JDeveloper - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

Application in 12.2.1.3.0 with DB connection throws InvocationTargetException caused by "java.lang.IllegalArgumentException: Object: null is not a known Entity type." after 70 minutes working with it and then a submit is performed.

Error stack trace:

java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
...
Caused by: javax.ejb.EJBException: EJB Exception: : java.lang.IllegalArgumentException: Object: null is not a known Entity type.
 at org.eclipse.persistence.internal.jpa.EntityManagerImpl.mergeInternal(EntityManagerImpl.java:548)
 at org.eclipse.persistence.internal.jpa.EntityManagerImpl.merge(EntityManagerImpl.java:530)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
Caused by: java.lang.IllegalArgumentException: Object: null is not a known Entity type.
 at org.eclipse.persistence.internal.jpa.EntityManagerImpl.mergeInternal(EntityManagerImpl.java:548)
 at org.eclipse.persistence.internal.jpa.EntityManagerImpl.merge(EntityManagerImpl.java:530)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...


Similar application works fine in 12.1.3.0.0.

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.