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 JULY 24, 2023

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: 

Changes

 

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
Changes
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.