You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Thomas Greve (JIRA)" <ji...@apache.org> on 2013/03/21 15:17:15 UTC

[jira] [Updated] (CXF-4909) wadl2java: NPE in SourceGenerator when generating method with "plain" style parameter

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

Thomas Greve updated CXF-4909:
------------------------------

    Priority: Minor  (was: Major)
     Summary: wadl2java: NPE in SourceGenerator when generating method with "plain" style parameter  (was: NPE in SourceGenerator (wadl2java) when generating method with "plain" style parameter)
    
> wadl2java: NPE in SourceGenerator when generating method with "plain" style parameter
> -------------------------------------------------------------------------------------
>
>                 Key: CXF-4909
>                 URL: https://issues.apache.org/jira/browse/CXF-4909
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.7.3
>         Environment: JDK 1.7.0_17
>            Reporter: Thomas Greve
>            Priority: Minor
>
> When trying to generate client classes with wadl2java command line tool, i encounter a NPE in org.apache.cxf.tools.wadlto.jaxrs.SourceGenerator.writeAnnotation(SourceGenerator.java:608)
> The "cls" parameter is null, what is not checked for.
> This is due to PARAM_ANNOTATIONS not containing the "plain" style, which is valid according to w3c wadl description (2.12.2).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira