You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/06/02 15:57:13 UTC

DO NOT REPLY [Bug 29343] New: - NPE while trying to use Struts 1.1. with Xerces 2.6.2

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29343>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29343

NPE while trying to use Struts 1.1. with Xerces 2.6.2

           Summary: NPE while trying to use Struts 1.1. with Xerces 2.6.2
           Product: Struts
           Version: 1.1 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Digester
        AssignedTo: dev@struts.apache.org
        ReportedBy: alexgu@tti-telecom.com


I'm experiencing NPE while trying to run Struts 1.1 test project with Xerces 
2.6.2. When I create simple Struts project everything works OK, but when I add 
xerces jars to EAR and make them be used, I'm getting following exception: 
[16:31:27:879 IDT 02/06/04] 4e1b1b18 WebGroup E SRVE0020E: [Servlet Error]-
[action]: Failed to load servlet: java.lang.NullPointerException 
at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown 
Source) 
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) 
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) 
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) 
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) 
at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown 
Source) 
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source) 
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) 
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) 

The call to parse(InputSource) fails with NPE.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org