geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (GERONIMO-3504) Exception while generating WSDL
Date Wed, 10 Oct 2007 14:35:51 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jarek Gawor resolved GERONIMO-3504.
-----------------------------------

    Resolution: Won't Fix
      Assignee: Jarek Gawor

Looks like some required jars were not specified on the classpath for the wsgen program causing
this NPE. The exception does not make things clear but there is not much we can do about it
in Geronimo (since the error occurs deep in Sun library). Maybe we try updating to the latest
version of Sun jars. 
Here's the full discussion about this problem: http://www.nabble.com/forum/ViewPost.jtp?post=13051525&framed=y&skin=134


> Exception while generating WSDL
> -------------------------------
>
>                 Key: GERONIMO-3504
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3504
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0.2
>            Reporter: Tomasz Mazan
>            Assignee: Jarek Gawor
>
> 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]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message