Possible but unlikely that regressions could be reintroduced in the tools section (which code-wise is pretty much off on its own island.) Could you send us a uber-minimal WSDL that duplicates the problem, a JIRA ticket would best. Of course I have to say (even though you well know), nothing sensitive, please.

Glen

On 16.12.2010 13:27, Pieper, Aaron wrote:
After upgrading CXF from 2.3.0 to 2.3.1, I get a NullPointerException
building stubs for my project:

org.apache.cxf.tools.common.ToolException:
java.lang.NullPointerException
   at
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContai
ner.java:279)
   at
org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:
103)
   at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:113)
   at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:86)
   at
org.apache.cxf.maven_plugin.WSDL2JavaMojo.callWsdl2Java(WSDL2JavaMojo.ja
va:410)
   ... 22 more
Caused by: java.lang.NullPointerException
   at
org.apache.cxf.tools.wsdlto.frontend.jaxws.validator.WrapperStyleNameCol
lisionValidator.mapElementName(WrapperStyleNameCollisionValidator.java:1
62)
   at
org.apache.cxf.tools.wsdlto.frontend.jaxws.validator.WrapperStyleNameCol
lisionValidator.isValidOperation(WrapperStyleNameCollisionValidator.java
:115)

This looks the same as https://issues.apache.org/jira/browse/CXF-2054,
and http://cxf.547215.n5.nabble.com/wsdl2java-NullPointer-td560285.html.
Is it possible this bug was reintroduced in CXF 2.3.1?

- Aaron






--

Glen Mazza
gmazza at apache dot org
http://www.jroller.com/gmazza

Reply via email to