You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by "John Kaputin (JIRA)" <ji...@apache.org> on 2007/01/05 12:04:27 UTC
[jira] Created: (WODEN-118) NPE when location does not
resolve to a document
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Closed: (WODEN-118) NPE when location does not
resolve to a document
Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WODEN-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Kaputin closed WODEN-118.
------------------------------
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org
[jira] Resolved: (WODEN-118) NPE when location does not
resolve to a document
Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
[ 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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org