You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "aaron pieper (Created) (JIRA)" <ji...@apache.org> on 2011/09/27 21:25:45 UTC

[jira] [Created] (CXF-3829) NPE in wsdl2java if soap:binding tag is omitted

NPE in wsdl2java if soap:binding tag is omitted
-----------------------------------------------

                 Key: CXF-3829
                 URL: https://issues.apache.org/jira/browse/CXF-3829
             Project: CXF
          Issue Type: Bug
          Components: Tooling
    Affects Versions: 2.4.2
            Reporter: aaron pieper
            Priority: Minor


The cxf-codegen-plugin's wsdl2java functionality fails with a NullPointerException if the soap:binding tag is omitted from the WSDL. Reintroducing the soap:binding tag avoids the NPE.

--
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-3829) NPE in wsdl2java if soap:binding tag is omitted

Posted by "aaron pieper (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

aaron pieper updated CXF-3829:
------------------------------

    Attachment: stack-trace.txt

The stack trace which is thrown by the cxf-codegen-plugin.
                
> NPE in wsdl2java if soap:binding tag is omitted
> -----------------------------------------------
>
>                 Key: CXF-3829
>                 URL: https://issues.apache.org/jira/browse/CXF-3829
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.4.2
>            Reporter: aaron pieper
>            Priority: Minor
>              Labels: cxf-codegen-plugin, wsdl2java
>         Attachments: Rodene.wsdl, stack-trace.txt
>
>
> The cxf-codegen-plugin's wsdl2java functionality fails with a NullPointerException if the soap:binding tag is omitted from the WSDL. Reintroducing the soap:binding tag avoids the NPE.

--
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-3829) NPE in wsdl2java if soap:binding tag is omitted

Posted by "aaron pieper (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

aaron pieper updated CXF-3829:
------------------------------

    Attachment: Rodene.wsdl

The WSDL which causes an error. If you uncomment the "soap:binding" line on line 38, the error goes away.
                
> NPE in wsdl2java if soap:binding tag is omitted
> -----------------------------------------------
>
>                 Key: CXF-3829
>                 URL: https://issues.apache.org/jira/browse/CXF-3829
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.4.2
>            Reporter: aaron pieper
>            Priority: Minor
>              Labels: cxf-codegen-plugin, wsdl2java
>         Attachments: Rodene.wsdl, stack-trace.txt
>
>
> The cxf-codegen-plugin's wsdl2java functionality fails with a NullPointerException if the soap:binding tag is omitted from the WSDL. Reintroducing the soap:binding tag avoids the NPE.

--
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] [Closed] (CXF-3829) NPE in wsdl2java if soap:binding tag is omitted

Posted by "Freeman Fang (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang closed CXF-3829.
-----------------------------

    
> NPE in wsdl2java if soap:binding tag is omitted
> -----------------------------------------------
>
>                 Key: CXF-3829
>                 URL: https://issues.apache.org/jira/browse/CXF-3829
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.4.2
>            Reporter: aaron pieper
>            Assignee: Daniel Kulp
>            Priority: Minor
>              Labels: cxf-codegen-plugin, wsdl2java
>             Fix For: 2.3.8, 2.4.4
>
>         Attachments: Rodene.wsdl, stack-trace.txt
>
>
> The cxf-codegen-plugin's wsdl2java functionality fails with a NullPointerException if the soap:binding tag is omitted from the WSDL. Reintroducing the soap:binding tag avoids the NPE.

--
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-3829) NPE in wsdl2java if soap:binding tag is omitted

Posted by "Daniel Kulp (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-3829.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4.4
                   2.3.8
    
> NPE in wsdl2java if soap:binding tag is omitted
> -----------------------------------------------
>
>                 Key: CXF-3829
>                 URL: https://issues.apache.org/jira/browse/CXF-3829
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.4.2
>            Reporter: aaron pieper
>            Assignee: Daniel Kulp
>            Priority: Minor
>              Labels: cxf-codegen-plugin, wsdl2java
>             Fix For: 2.3.8, 2.4.4
>
>         Attachments: Rodene.wsdl, stack-trace.txt
>
>
> The cxf-codegen-plugin's wsdl2java functionality fails with a NullPointerException if the soap:binding tag is omitted from the WSDL. Reintroducing the soap:binding tag avoids the NPE.

--
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-3829) NPE in wsdl2java if soap:binding tag is omitted

Posted by "Glen Mazza (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115932#comment-13115932 ] 

Glen Mazza commented on CXF-3829:
---------------------------------

The solution appears to be to halt with a user-friendly error message should either no binding or one of the three bindings not supported by CXF (SOAP, CORBA, XML) be given.

                
> NPE in wsdl2java if soap:binding tag is omitted
> -----------------------------------------------
>
>                 Key: CXF-3829
>                 URL: https://issues.apache.org/jira/browse/CXF-3829
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.4.2
>            Reporter: aaron pieper
>            Priority: Minor
>              Labels: cxf-codegen-plugin, wsdl2java
>         Attachments: Rodene.wsdl, stack-trace.txt
>
>
> The cxf-codegen-plugin's wsdl2java functionality fails with a NullPointerException if the soap:binding tag is omitted from the WSDL. Reintroducing the soap:binding tag avoids the NPE.

--
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] [Issue Comment Edited] (CXF-3829) NPE in wsdl2java if soap:binding tag is omitted

Posted by "Glen Mazza (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115932#comment-13115932 ] 

Glen Mazza edited comment on CXF-3829 at 9/27/11 9:12 PM:
----------------------------------------------------------

The solution appears to be to halt with a user-friendly error message should either no binding or one of the three bindings supported by CXF (SOAP, CORBA, XML) not be given.

                
      was (Author: gmazza):
    The solution appears to be to halt with a user-friendly error message should either no binding or one of the three bindings not supported by CXF (SOAP, CORBA, XML) be given.

                  
> NPE in wsdl2java if soap:binding tag is omitted
> -----------------------------------------------
>
>                 Key: CXF-3829
>                 URL: https://issues.apache.org/jira/browse/CXF-3829
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.4.2
>            Reporter: aaron pieper
>            Priority: Minor
>              Labels: cxf-codegen-plugin, wsdl2java
>         Attachments: Rodene.wsdl, stack-trace.txt
>
>
> The cxf-codegen-plugin's wsdl2java functionality fails with a NullPointerException if the soap:binding tag is omitted from the WSDL. Reintroducing the soap:binding tag avoids the NPE.

--
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-3829) NPE in wsdl2java if soap:binding tag is omitted

Posted by "Daniel Kulp (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp reassigned CXF-3829:
--------------------------------

    Assignee: Daniel Kulp
    
> NPE in wsdl2java if soap:binding tag is omitted
> -----------------------------------------------
>
>                 Key: CXF-3829
>                 URL: https://issues.apache.org/jira/browse/CXF-3829
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.4.2
>            Reporter: aaron pieper
>            Assignee: Daniel Kulp
>            Priority: Minor
>              Labels: cxf-codegen-plugin, wsdl2java
>         Attachments: Rodene.wsdl, stack-trace.txt
>
>
> The cxf-codegen-plugin's wsdl2java functionality fails with a NullPointerException if the soap:binding tag is omitted from the WSDL. Reintroducing the soap:binding tag avoids the NPE.

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