My Oracle Support Banner

XMLParser API throws java.lang.NullPointerException in a JSP/Struts Application after Migration to Oracle AS 10.1.3 (Doc ID 418008.1)

Last updated on OCTOBER 11, 2019

Applies to:

Oracle Containers for J2EE - Version 10.1.3.0.0 and later
Information in this document applies to any platform.
This problem can occur on any platform.

Symptoms

After upgrading to 10gAS 10.1.3 , the application fails with the following error:

With XMLParser,

 

500 Internal Server Error

java.lang.NullPointerException at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:902) at
org.apache.commons.digester.Digester.parse(Digester.java:1548) at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet. java: 1006) at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470) at
org.apache.struts.tiles.ActionComponentServlet.init(ActionComponentServlet.java:104)
at javax.servlet.GenericServlet.init(GenericServlet.java:256) at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2231) at


With Xerces 1.2.2,

java.lang.IllegalAccessError: tried to access method
org.apache.xerces.jaxp.SAXParserImpl.<init>(Ljavax/xml/parsers/SA
XParserFactory;
Ljava/util/Hashtable;)V from class
org.apache.xerces.jaxp.SAXParserFactoryImpl at
org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAX
Parser(SAXParserFactoryImpl.java:96) at
org.apache.commons.digester.Digester.getParser(Digester.java:686) at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:902) at
org.apache.commons.digester.Digester.parse(Digester.java:1567) at
org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1433) at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) at
org.apache.struts.tiles.ActionComponentServlet.init(ActionComponentServlet.java:104) at
javax.servlet.GenericServlet.init(GenericServlet.java:256) at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2231) at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.findServlet

Changes

The application was working well in the 9iAS deployment environment and has been migrated recently.

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.