You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Lebnix <le...@yahoo.fr> on 2003/10/09 15:27:28 UTC
EchoAttachment NullPointerException !
Hello,
Please Help me !
I'm trying to run the sample EchoAttachment and I'm
receiving the following exception:
C:\axis-1_1>java samples.attachments.EchoAttachment
test.txt
java.lang.NullPointerException
java.lang.NullPointerException
at
org.apache.axis.Message.createAttachmentPart(Message.java:620)
at
javax.xml.soap.SOAPMessage.createAttachmentPart(SOAPMessage.java:243)
at
samples.attachments.EchoAttachment.echoUsingSAAJ(EchoAttachment.java:523)
at
samples.attachments.EchoAttachment.main(EchoAttachment.java:362)
At line 524 there is :
soapMessage.createAttachmentPart(dataHandler);
I think this function send the exeption, dataHandler
and soapMessage are not null !
Please help...
I am using : java.vm.version=1.4.2_01-b06
with Apache Tomcat/5.0.12
Thank you...
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com