My Oracle Support Banner

"java.lang.NullPointerException at com.sun.jersey.server.impl.cdi.CDIExtension.lateInitialize..." During Deployment Of Restful Webservice (Doc ID 1629808.1)

Last updated on FEBRUARY 03, 2019

Applies to:

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

Symptoms

While deploying RESTFUL web service to a WLS 12.1.2.0.0 with JDK 1.7, the next exception is thrown during deployment.
The behavior is random some times the application deploys properly and some times the application deployment fails.

The Application itself is full of other components like EJBs , Servlets, JMS Modules..

When the issue occurs redeployment does not work, so when trying to redeploy it seems to continuously fail.
A way to overcome this problem is stopping the Weblogic Server, clearing the cache, start the Weblogic Server and try to deployment again.

The Exception reported is:

 

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.