XmlSchemaURIResolver.resolveEntity can get null baseUri resulting in
NullPointerException
-----------------------------------------------------------------------------------------
Key: XFIRE-981
URL: http://jira.codehaus.org/browse/XFIRE-981
Project: XFire
Issue Type: Bug
Components: Core
Affects Versions: 1.2.7
Environment: I'm using Mule 1.4 with XFire, using the wsdl-xfire
method and a rather complex WSDL/XSD combo.
Reporter: David Smiley
Assignee: Dan Diephouse
I've gotten NPE's from XmlSchemaURIResolver.resolveEntity due to baseUri being
null.
The fix is simple.
http://svn.xfire.codehaus.org/browse/xfire/trunk/xfire/xfire-core/src/main/org/codehaus/xfire/wsdl11/parser/XmlSchemaURIResolver.java?r=2058
I've patched it for my code by altering line 28 to be:
idx = baseUri == null ? -1 : baseUri.indexOf('#');
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email