cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Constantino Cronemberger (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-5862) NullPointerException in class CustomizationParser
Date Tue, 08 Jul 2014 19:11:04 GMT

     [ https://issues.apache.org/jira/browse/CXF-5862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Constantino Cronemberger updated CXF-5862:
------------------------------------------

    Description: 
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.

  was:
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)



> 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
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message