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

Sergey Beryozkin resolved CXF-4909.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.6.7
                   2.7.4
                   2.8.0
         Assignee: Sergey Beryozkin
    
> 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
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>             Fix For: 2.8.0, 2.7.4, 2.6.7
>
>
> 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

Reply via email to