'Servlet: "context" Failed to Preload on Startup in Web application: "<Appname>" Java.lang.NullPointerException' During Weblogic Deployment (Doc ID 1507626.1)

Last updated on MARCH 13, 2017

Applies to:

Oracle Financial Services Analytical Applications Infrastructure - Version 7.2 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)
Weblogic

Symptoms

For Oracle Financial Services Analytical Applications (OFSAA), when you go to "Deployments" in the Weblogic Console and try to install, the deployment fails.  The following error is listed in the /<Weblogic Home>/user_projects/domains/<domain>/servers/AdminServer/logs/AdminServer.log:

[HTTP: 101216] Servlet: "context" failed to preload on startup in Web application: "<appname>".
java.lang.NullPointerException
at com.ofs.reveleus.common.summary.common.ContextDocLoader.init(ContextDocLoader.java:583)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)

.
.
.

This prevents you from implementing Weblogic for use with the OFSAA application.

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