My Oracle Support Banner

Weblogic is Failing to "Inject EntityManager" Intermittently With Error - "javax.ejb.EJBException: EJB Exception: : java.lang.NullPointerException" (Doc ID 2651859.1)

Last updated on MARCH 26, 2020

Applies to:

Oracle WebLogic Server - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

Having a stateless session Mbean with an injected EntityManager intermittently throws an error "javax.ejb.EJBException: EJB Exception: : java.lang.NullPointerException"

ERROR: 

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.