You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2017/03/23 17:24:42 UTC
[jira] [Resolved] (CXF-5862) NullPointerException in class
CustomizationParser
[ https://issues.apache.org/jira/browse/CXF-5862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-5862.
------------------------------
Resolution: Fixed
Fix Version/s: 3.1.10
This looks like its been resolved as the current code does not cause an NPE.
> NullPointerException in class CustomizationParser
> -------------------------------------------------
>
> Key: CXF-5862
> URL: https://issues.apache.org/jira/browse/CXF-5862
> Project: CXF
> Issue Type: Bug
> Components: JAXB Databinding
> Affects Versions: 3.0.0
> Reporter: Constantino Cronemberger
> Fix For: 3.1.10
>
> Attachments: test.xjb
>
>
> When I try to apply the attached bindings file it gives this exception:
> Caused by: java.lang.NullPointerException
> at org.apache.cxf.tools.wsdlto.frontend.jaxws.customization.CustomizationParser.copyAllJaxbDeclarations(CustomizationParser.java:269)
> at org.apache.cxf.tools.wsdlto.frontend.jaxws.customization.CustomizationParser.internalizeBinding(CustomizationParser.java:379)
> at org.apache.cxf.tools.wsdlto.frontend.jaxws.customization.CustomizationParser.internalizeBinding(CustomizationParser.java:390)
> at org.apache.cxf.tools.wsdlto.frontend.jaxws.customization.CustomizationParser.parse(CustomizationParser.java:126)
> at org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuilder.customize(JAXWSDefinitionBuilder.java:113)
> at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:199)
> at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:164)
> at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:412)
> If I add a single space right before </jaxws:bindings> it works.
> For the problem to happen the targetNamespace "X" has to be found in the wsdl. In my wsdl I also have all schemas embedded.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)