geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomasz Mazan <win...@wp.pl>
Subject Exception while generating WSDL in Geronimo 2.0.2
Date Fri, 05 Oct 2007 00:43:43 GMT

I try to use jaxws-tools.bat wsgen to generate WSDL file from my web service
(I've succesfully generated using com.sun.tools.ws.ant.WsGen included in
Geronimo 2.0.1, but now I got exception

[exec] Using GERONIMO_BASE: D:\SERVER\geronimo-tomcat
[exec] Using GERONIMO_HOME: D:\SERVER\geronimo-tomcat
[exec] Using GERONIMO_TMPDIR: var\temp
[exec] Using JRE_HOME: C:\DEV\SDK\jdk1.5.0_09\jre
[exec] Problem encountered during annotation processing;
[exec] see stacktrace below for more information.
[exec] java.lang.NullPointerException
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.isSubtype(WebServiceAP.java:416)
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.isRemote(WebServiceAP.java:411)
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.isLegalType(WebServiceVisitor.java:811)
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.isLegalMethod(WebServiceVisitor.java:642)
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.methodsAreLegal(WebServiceVisitor.java:622)
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.isLegalImplementation(WebServiceVisitor.java:540)
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.shouldProcessWebService(WebServiceVisitor.java:350)
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitClassDeclaration(WebServiceVisitor.java:143)
[exec] at
com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(ClassDeclarationImpl.java:95)
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.buildModel(WebServiceAP.java:345)
[exec] at
com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.process(WebServiceAP.java:230)
[exec] at
com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
[exec] at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
[exec] at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
[exec] at com.sun.tools.apt.main.Main.compile(Main.java:1075)
[exec] at com.sun.tools.apt.main.Main.compile(Main.java:938)
[exec] at com.sun.tools.apt.Main.processing(Main.java:95)
[exec] at com.sun.tools.apt.Main.process(Main.java:85)
[exec] at com.sun.tools.apt.Main.process(Main.java:67)
[exec] at
com.sun.tools.ws.wscompile.CompileTool.buildModel(CompileTool.java:603)
[exec] at com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:536)
[exec] at com.sun.tools.ws.util.ToolBase.run(ToolBase.java:54)
[exec] at
com.sun.tools.ws.util.WSToolsObjectFactoryImpl.wsgen(WSToolsObjectFactoryImpl.java:42)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[exec] error: compilation failed, errors should have been reported
[exec] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[exec] at java.lang.reflect.Method.invoke(Method.java:585)
[exec] at
org.apache.geronimo.jaxws.builder.JAXWSTools.invoke(JAXWSTools.java:190)
[exec] at
org.apache.geronimo.jaxws.builder.JAXWSTools.invoke(JAXWSTools.java:174)
[exec] at
org.apache.geronimo.jaxws.builder.JAXWSTools.invokeWsgen(JAXWSTools.java:161)
[exec] at
org.apache.geronimo.jaxws.builder.JAXWSToolsCLI.main(JAXWSToolsCLI.java:64)
[exec]

Could anyone help ?
-- 
View this message in context: http://www.nabble.com/Exception-while-generating-WSDL-in-Geronimo-2.0.2-tf4572394s134.html#a13051525
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message