[
https://issues.apache.org/jira/browse/WODEN-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Kaputin resolved WODEN-118.
--------------------------------
Resolution: Fixed
r497258. Fixed.
> NPE when <import> location does not resolve to a document
> ---------------------------------------------------------
>
> Key: WODEN-118
> URL: https://issues.apache.org/jira/browse/WODEN-118
> Project: Woden
> Issue Type: Bug
> Components: Parser
> Reporter: John Kaputin
> Assigned To: John Kaputin
> Fix For: M7
>
>
> A null pointer exception occurs when reading a WSDL document containing a
> <wsdl:import> that does not resolve to a document. Woden correctly issues a
> warning message (WSDL503,Could not locate the WSDL document at URL ...) but
> later in the code it attempts to use a null DescriptionElement reference.
> The offending code in DescriptionImpl.getNestedDescriptions is:
> if(desc != null) descs.add(desc);
> collectIncludedDescriptions(descs, desc);
> but it should be:
> if(desc != null) {
> descs.add(desc);
> collectIncludedDescriptions(descs, desc);
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]