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





------- Additional Comments From [EMAIL PROTECTED]  2004-06-09 08:32 -------
Yes, this works fine with the xerces.jar provided by IBM (WSAD 5.1). I've 
invistigated this issue little more and found following problem:
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity trys to load 
struts_config.xml. The XMLInputSource passed as the parameter from Digester has 
protocol "wsjar". The url to the file is created (no MalformedURL exception is 
thrown) but the input stream is NULL. This causes NPE in 
RewindableInputStream.parse
When I made "local fix" - changed protocol from "wsjar" to "jar" - this solved 
the problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to