On Thursday 16 December 2010 3:22:06 pm Daniel Kulp wrote:
> On Thursday 16 December 2010 2:49:57 pm Glen Mazza wrote:
> > 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.
> 
> Quick debug shows this is more complex than I thought.   For some reason,
> the servicemodel is expecting the numberToDouble element to be qualified. 
> The NPE is caused by the w2j tool asking for the part that matches the
> unqualifed element name and not finding it.   In this case, the tool is
> correct.  It shouldn't be qualified.
> 
> I'm still digging to try and figure out why the service model is expecting
> a qualified element.

And now fixed....  

:-)


Dan




> 
> Dan
> 
> > 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(WSDLToJavaConta
> > > i
> > > 
> > >> 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.j
> > > a
> > > 
> > >> va:410)
> > >> 
> > >>     ... 22 more
> > >> 
> > >> Caused by: java.lang.NullPointerException
> > >> 
> > >>     at
> > > 
> > > org.apache.cxf.tools.wsdlto.frontend.jaxws.validator.WrapperStyleNameCo
> > > l
> > > lisionValidator.mapElementName(WrapperStyleNameCollisionValidator.java
> > > :1
> > > 
> > >> 62)
> > >> 
> > >>     at
> > > 
> > > org.apache.cxf.tools.wsdlto.frontend.jaxws.validator.WrapperStyleNameCo
> > > l
> > > lisionValidator.isValidOperation(WrapperStyleNameCollisionValidator.ja
> > > va
> > > 
> > >> :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

-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog

Reply via email to