You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Richard Opalka (Created) (JIRA)" <ji...@apache.org> on 2012/02/13 13:28:59 UTC
[jira] [Created] (CXF-4103) NPE in
org.apache.cxf.frontend.WSDLGetUtils.findSchemaLocation()
NPE in org.apache.cxf.frontend.WSDLGetUtils.findSchemaLocation()
----------------------------------------------------------------
Key: CXF-4103
URL: https://issues.apache.org/jira/browse/CXF-4103
Project: CXF
Issue Type: Bug
Components: JAX-WS Runtime
Affects Versions: 2.5.2
Reporter: Richard Opalka
Fix For: 2.5.3, 2.6
Caused by: java.lang.NullPointerException
<------>at org.apache.cxf.frontend.WSDLGetUtils.findSchemaLocation(WSDLGetUtils.java:579)
<------>at org.apache.cxf.frontend.WSDLGetUtils.updateSchemaImports(WSDLGetUtils.java:464)
<------>at org.apache.cxf.frontend.WSDLGetUtils.updateSchemaImports(WSDLGetUtils.java:487)
<------>at org.apache.cxf.frontend.WSDLGetUtils.updateDefinition(WSDLGetUtils.java:417)
<------>at org.apache.cxf.frontend.WSDLGetUtils.updateDefinition(WSDLGetUtils.java:395)
<------>at org.apache.cxf.frontend.WSDLGetUtils.getDocument(WSDLGetUtils.java:178)
<------>... 27 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CXF-4103) NPE in
org.apache.cxf.frontend.WSDLGetUtils.findSchemaLocation()
Posted by "Guillaume Sauthier (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13214486#comment-13214486 ]
Guillaume Sauthier commented on CXF-4103:
-----------------------------------------
For completness, the NPE is caused because of {{<xs:import>}} with no {{@schemaLocation}}.
In other words the following statement in an XSD will cause the NPE:
{noformat}<xs:import namespace="http://www.w3schools.com/schema" />{noformat}
> NPE in org.apache.cxf.frontend.WSDLGetUtils.findSchemaLocation()
> ----------------------------------------------------------------
>
> Key: CXF-4103
> URL: https://issues.apache.org/jira/browse/CXF-4103
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.5.2
> Reporter: Richard Opalka
> Assignee: Alessio Soldano
> Fix For: 2.5.3, 2.6
>
> Attachments: CXF-4103.patch
>
>
> Caused by: java.lang.NullPointerException
> <------>at org.apache.cxf.frontend.WSDLGetUtils.findSchemaLocation(WSDLGetUtils.java:579)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.updateSchemaImports(WSDLGetUtils.java:464)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.updateSchemaImports(WSDLGetUtils.java:487)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.updateDefinition(WSDLGetUtils.java:417)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.updateDefinition(WSDLGetUtils.java:395)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.getDocument(WSDLGetUtils.java:178)
> <------>... 27 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CXF-4103) NPE in
org.apache.cxf.frontend.WSDLGetUtils.findSchemaLocation()
Posted by "Alessio Soldano (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alessio Soldano reassigned CXF-4103:
------------------------------------
Assignee: Alessio Soldano
> NPE in org.apache.cxf.frontend.WSDLGetUtils.findSchemaLocation()
> ----------------------------------------------------------------
>
> Key: CXF-4103
> URL: https://issues.apache.org/jira/browse/CXF-4103
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.5.2
> Reporter: Richard Opalka
> Assignee: Alessio Soldano
> Fix For: 2.5.3, 2.6
>
> Attachments: CXF-4103.patch
>
>
> Caused by: java.lang.NullPointerException
> <------>at org.apache.cxf.frontend.WSDLGetUtils.findSchemaLocation(WSDLGetUtils.java:579)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.updateSchemaImports(WSDLGetUtils.java:464)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.updateSchemaImports(WSDLGetUtils.java:487)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.updateDefinition(WSDLGetUtils.java:417)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.updateDefinition(WSDLGetUtils.java:395)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.getDocument(WSDLGetUtils.java:178)
> <------>... 27 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CXF-4103) NPE in
org.apache.cxf.frontend.WSDLGetUtils.findSchemaLocation()
Posted by "Richard Opalka (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Opalka updated CXF-4103:
--------------------------------
Attachment: CXF-4103.patch
> NPE in org.apache.cxf.frontend.WSDLGetUtils.findSchemaLocation()
> ----------------------------------------------------------------
>
> Key: CXF-4103
> URL: https://issues.apache.org/jira/browse/CXF-4103
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.5.2
> Reporter: Richard Opalka
> Fix For: 2.5.3, 2.6
>
> Attachments: CXF-4103.patch
>
>
> Caused by: java.lang.NullPointerException
> <------>at org.apache.cxf.frontend.WSDLGetUtils.findSchemaLocation(WSDLGetUtils.java:579)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.updateSchemaImports(WSDLGetUtils.java:464)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.updateSchemaImports(WSDLGetUtils.java:487)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.updateDefinition(WSDLGetUtils.java:417)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.updateDefinition(WSDLGetUtils.java:395)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.getDocument(WSDLGetUtils.java:178)
> <------>... 27 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CXF-4103) NPE in
org.apache.cxf.frontend.WSDLGetUtils.findSchemaLocation()
Posted by "Alessio Soldano (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alessio Soldano resolved CXF-4103.
----------------------------------
Resolution: Fixed
> NPE in org.apache.cxf.frontend.WSDLGetUtils.findSchemaLocation()
> ----------------------------------------------------------------
>
> Key: CXF-4103
> URL: https://issues.apache.org/jira/browse/CXF-4103
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.5.2
> Reporter: Richard Opalka
> Assignee: Alessio Soldano
> Fix For: 2.5.3, 2.6
>
> Attachments: CXF-4103.patch
>
>
> Caused by: java.lang.NullPointerException
> <------>at org.apache.cxf.frontend.WSDLGetUtils.findSchemaLocation(WSDLGetUtils.java:579)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.updateSchemaImports(WSDLGetUtils.java:464)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.updateSchemaImports(WSDLGetUtils.java:487)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.updateDefinition(WSDLGetUtils.java:417)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.updateDefinition(WSDLGetUtils.java:395)
> <------>at org.apache.cxf.frontend.WSDLGetUtils.getDocument(WSDLGetUtils.java:178)
> <------>... 27 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira