NullPointerException at struts.tiles.definition.ComponentDefinitionsFactoryWrapper.getDefinition (Doc ID 1091088.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 8.1 to 8.1
Information in this document applies to any platform.

Symptoms

When we deploy a webapp with Struts 1.1 on WLS8.1 SP6 via autodeployment mode in a development domain, we will get the following java.lang.NullPointerException:

java.lang.NullPointerException
  at org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper.getDefinition(ComponentDefinitionsFactoryWrapper.java:124)
  at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:180)
  at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:309)
  at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
  at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
  at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
  at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
  at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)
  at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
  at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
  at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

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