wood burning stoves*
The moose likes Web Services and the fly likes Null Pointer Exception while running WSDL file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Null Pointer Exception while running WSDL file" Watch "Null Pointer Exception while running WSDL file" New topic
Author

Null Pointer Exception while running WSDL file

Ajith Prasad
Ranch Hand

Joined: Aug 22, 2006
Posts: 66
I got Null Pointer Exception while creating stub out of WSDL, could anyone help me out?

java.lang.NullPointerException
at org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.getAsFieldName(JavaB
eanHelperWriter.java:435)
at org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.writeMetaData(JavaBe
anHelperWriter.java:325)
at org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.writeFileBody(JavaBe
anHelperWriter.java:183)
at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:127)
at org.apache.axis.wsdl.toJava.JavaBeanWriter.writeFileBody(JavaBeanWrit
er.java:257)
at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:127)
at org.apache.axis.wsdl.toJava.JavaBeanWriter.generate(JavaBeanWriter.ja
va:1405)
at org.apache.axis.wsdl.toJava.JavaTypeWriter.generate(JavaTypeWriter.ja
va:113)
at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(Jav
aGeneratorFactory.java:421)
at org.apache.axis.wsdl.gen.Parser.generateTypes(Parser.java:547)
at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:432)
at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362)
at java.lang.Thread.run(Thread.java:595)
Deena Jeyachandran
Greenhorn

Joined: May 24, 2008
Posts: 18
Could you specify the tool that you used


Preparing SCBCD.....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Null Pointer Exception while running WSDL file
 
Similar Threads
getting error while deployin service on SSL secured Server
axis wsdl2java nullPointerException
Axis Client :Emitter failure while running WSDL2Java (My problem is not with https)
Trying to call WSDL2Java.main, but having issues when redirecting output
Axis wsdl2java generation duplicate file name issue