[ http://jira.codehaus.org/browse/XFIRE-859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_86252 ]
JM commented on XFIRE-859: -------------------------- After further investigation, this issue appears to be with the WSDL that ServiceMix generates. The namespace for the WSDL import is incorrect. > NullPointerException Running wsgen on ServiceMix WS-Notification wsdl > --------------------------------------------------------------------- > > Key: XFIRE-859 > URL: http://jira.codehaus.org/browse/XFIRE-859 > Project: XFire > Issue Type: Bug > Components: Generator > Affects Versions: 1.2.4 > Environment: Windows > Reporter: JM > Assigned To: Dan Diephouse > Attachments: test.zip > > > Running the WsGen task on the ServiceMix WS-Notification > notificationBroker.wsdl produces a NullPointerException in the > WSDLServiceBuilder class. Browsing through the xfire JIRA it appears that > similar issues have been reported but they are noted as fixed, so I assume > this is failing in a different location. I have used both 1.2.4 and the > latest from SVN. > I am attaching an example. Running the wsgen.bat script (borrowed from > another JIRA issue) I receive the following stack trace: > C:\temp>wsgen.bat > ...output... > java.lang.NullPointerException > at > org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.isWrapped(WSDLServiceBuilder.java:532) > at > org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.visit(WSDLServiceBuilder.java:387) > at > org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.build(WSDLServiceBuilder.java:192) > at > org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:130) > at org.codehaus.xfire.gen.WsGen.main(WsGen.java:132) > Exception in thread "main" java.lang.NullPointerException > at org.codehaus.xfire.gen.WsGen.main(WsGen.java:136) > Caused by: java.lang.NullPointerException > at > org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.isWrapped(WSDLServiceBuilder.java:532) > at > org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.visit(WSDLServiceBuilder.java:387) > at > org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.build(WSDLServiceBuilder.java:192) > at > org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:130) > at org.codehaus.xfire.gen.WsGen.main(WsGen.java:132) > --- Nested Exception --- > java.lang.NullPointerException > at > org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.isWrapped(WSDLServiceBuilder.java:532) > at > org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.visit(WSDLServiceBuilder.java:387) > at > org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.build(WSDLServiceBuilder.java:192) > at > org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:130) > at org.codehaus.xfire.gen.WsGen.main(WsGen.java:132) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email