NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

error generating wsdl file netbeans 6.9

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
Mumuney Abdlquadri
Posted via mailing list.





PostPosted: Wed Dec 15, 2010 11:15 am    Post subject: error generating wsdl file netbeans 6.9 Reply with quote

Hi All,

Please I am trying to generate wsdl file for my web service. But I get error:


Note: ap round: 1

Transaction.class: warning: Cannot find annotation method 'name()' in
type 'javax.persistence.Table': class file for javax.persistence.Table
not found
Transaction.class: warning: Cannot find annotation method 'value()' in
type 'javax.persistence.NamedQueries': class file for
javax.persistence.NamedQueries not found
Transaction.class: Cannot find annotation method 'name()' in type
'javax.persistence.NamedQuery': class file for
javax.persistence.NamedQuery not found
Transaction.class:warning: Cannot find annotation method 'query()' in
type 'javax.persistence.NamedQuery'
Transaction.class: warning: Cannot find annotation method 'name()' in
type 'javax.persistence.NamedQuery'
Transaction.class: warning: Cannot find annotation method 'query()' in
type 'javax.persistence.NamedQuery'
Transaction.class: warning: Cannot find annotation method 'name()' in
type 'javax.persistence.NamedQuery'
Transaction.class: warning: Cannot find annotation method 'query()' in
type 'javax.persistence.NamedQuery'
Transaction.class: warning: Cannot find annotation method 'value()' in
type 'javax.persistence.Temporal': class file for
javax.persistence.Temporal not found
Problem encountered during annotation processing;
see stacktrace below for more information.
com.sun.tools.ws.processor.modeler.ModelerException: [failed to
localize] modeler.nestedGeneratorError(java.lang.NullPointerException)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.generateWrappers(WebServiceWrapperGenerator.java:309)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.processMethod(WebServiceWrapperGenerator.java:167)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitMethodDeclaration(WebServiceVisitor.java:447)
at com.sun.tools.apt.mirror.declaration.MethodDeclarationImpl.accept(MethodDeclarationImpl.java:41)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.processMethods(WebServiceVisitor.java:386)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.postProcessWebService(WebServiceVisitor.java:343)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.postProcessWebService(WebServiceWrapperGenerator.java:142)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitClassDeclaration(WebServiceVisitor.java:147)
at com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(ClassDeclarationImpl.java:95)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.buildModel(WebServiceAP.java:329)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.process(WebServiceAP.java:270)
at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:258)
at com.sun.tools.apt.main.Main.compile(Main.java:1102)
at com.sun.tools.apt.main.Main.compile(Main.java:964)
at com.sun.tools.apt.Main.processing(Main.java:95)
at com.sun.tools.apt.Main.process(Main.java:85)
at com.sun.tools.apt.Main.process(Main.java:67)
at com.sun.tools.ws.wscompile.WsgenTool.buildModel(WsgenTool.java:219)
at com.sun.tools.ws.wscompile.WsgenTool.run(WsgenTool.java:123)
at com.sun.tools.ws.ant.WsGen2.execute(WsGen2.java:541)
at com.sun.istack.tools.ProtectedTask.execute(ProtectedTask.java:55)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor249.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)
at org.apache.tools.ant.Project.executeTarget(Project.java:1329)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1212)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:281)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)
Caused by: java.lang.NullPointerException
at com.sun.tools.ws.processor.modeler.annotation.TypeModeler.isSubtype(TypeModeler.java:171)
at com.sun.tools.ws.processor.modeler.annotation.MakeSafeTypeVisitor.processDeclaredType(MakeSafeTypeVisitor.java:80)
at com.sun.tools.ws.processor.modeler.annotation.MakeSafeTypeVisitor.onClassType(MakeSafeTypeVisitor.java:72)
at com.sun.tools.ws.processor.modeler.annotation.MakeSafeTypeVisitor.onClassType(MakeSafeTypeVisitor.java:51)
at com.sun.istack.tools.APTTypeVisitor.apply(APTTypeVisitor.java:27)
at com.sun.tools.ws.processor.modeler.annotation.MakeSafeTypeVisitor.processDeclaredType(MakeSafeTypeVisitor.java:86)
at com.sun.tools.ws.processor.modeler.annotation.MakeSafeTypeVisitor.onInterfaceType(MakeSafeTypeVisitor.java:76)
at com.sun.tools.ws.processor.modeler.annotation.MakeSafeTypeVisitor.onInterfaceType(MakeSafeTypeVisitor.java:51)
at com.sun.istack.tools.APTTypeVisitor.apply(APTTypeVisitor.java:29)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.getSafeType(WebServiceWrapperGenerator.java:326)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.access$100(WebServiceWrapperGenerator.java:87)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator$APTWrapperBeanGenerator.getSafeType(WebServiceWrapperGenerator.java:106)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator$APTWrapperBeanGenerator.getSafeType(WebServiceWrapperGenerator.java:99)
at com.sun.xml.ws.model.AbstractWrapperBeanGenerator.collectResponseBeanMembers(AbstractWrapperBeanGenerator.java:207)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.generateWrappers(WebServiceWrapperGenerator.java:297)
... 37 more
error: compilation failed, errors should have been reported
ejb/nbproject/jaxws-build.xml:25: wsgen failed
BUILD FAILED (total time: 9 seconds)


Any ideas please.

Thanks
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo