File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


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.....
 
GeeCON Prague 2014
 
subject: Null Pointer Exception while running WSDL file