My Oracle Support Banner

NullPointerException while invocation of the @PostConstruct lifecycle method in WLS 12.1.2 (Doc ID 2108941.1)

Last updated on FEBRUARY 04, 2019

Applies to:

Oracle WebLogic Server - Version 12.1.2.0.0 to 12.1.3.0.0 [Release 12c]
Information in this document applies to any platform.
This issue is seen in Weblogic Server 12.1.2.0.6 & 12.1.3.0.4.

Symptoms

Getting below error during resource injection of entity manager in a singleton EJB during @PostConstruct life-cycle callback with application managed persistence context and transaction.
SEVERE: emf injection failed under weblogic

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.