Obfuscate it to TripleIt. :) To run wsdl2java, did you use the same pom.xmls from the tutorial download? mvn clean:install works fine on my machine with CXF 2.3.1 (I'm using Maven 2.2.1 on Ubuntu Linux.) In your tracker, please mention how you ran wsdl2java.

Thanks,
Glen

On 16.12.2010 14:38, Pieper, Aaron wrote:
Actually, Glen - It happens with your DoubleIt WSDL. I'll go ahead and
submit a tracker.

- Aaron


-----Original Message-----
From: Glen Mazza [mailto:[email protected]]
Sent: Thursday, December 16, 2010 2:14 PM
To: [email protected]
Subject: Re: Problem generating stubs in CXF 2.3.1

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