EJB 3.0 Stateless Bean Cannot Inject Dependency Correctly (Doc ID 1063333.1)

Last updated on MARCH 29, 2017

Applies to:

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

Symptoms

If there are multiple faces-config.xml files in a Web application and

there are Managed Beans configured in faces-config.xml which needs resource injection, a NullPointer Exception is  thrown when injecting a resource to the managed bean instance.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms