Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.7.3
-
None
-
JDK 1.7.0_17
-
Moderate
Description
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).