The first thing I would check is to make sure that you have an XML parser in your classpath (it looks like you're running ant, you can specify the classpath for that apply command). I have found that NullPointerException and ClassNotFoundException are usually thrown by Axis when no XML parser is available, even though Axis does not give any hint to that being the cause.
cheers, Simon > -----Original Message----- > From: Han Wang [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 20, 2002 4:03 PM > To: [EMAIL PROTECTED] > Subject: RE: WSDL2JAVA problem > > > One more problem: > > I'm getting a null pointer exception and no description of > the problem: > > [apply] java.lang.NullPointerException > [apply] at > org.apache.axis.wsdl.toJava.Utils.holder(Utils.java:494) > [apply] at > org.apache.axis.wsdl.toJava.JavaWriterFactory.constructSignat > ure(JavaWriterFactory.java:512) > [apply] at > org.apache.axis.wsdl.toJava.JavaWriterFactory.constructSignat > ures(JavaWriterFactory.java:478) > [apply] at > org.apache.axis.wsdl.toJava.JavaWriterFactory.writerPass(Java > WriterFactory.java:106) > [apply] at > org.apache.axis.wsdl.toJava.Emitter.emit(Emitter.java:189) > [apply] at > org.apache.axis.wsdl.toJava.Emitter.emit(Emitter.java:155) > [apply] at > org.apache.axis.wsdl.WSDL2Java$WSDLRunnable.run(WSDL2Java.jav > a:725) > [apply] at java.lang.Thread.run(Thread.java:536) > [apply] Result: 1 > > when I try to run WSDL2JAVA. > I can't post the wsdl, so does anyone have any clues? > > Thanks, > Han > >