Thomas Greve created CXF-4909:
---------------------------------

             Summary: NPE in SourceGenerator (wadl2java) 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


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