Do you have 'activation.jar' and 'mail.jar' in your classpath? -----Original Message----- From: Liu, C.C [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 4:56 PM To: '[EMAIL PROTECTED]' Subject: Attachment sample
Hi, I got the following error from Attachment sample client side, can anyone show me what's the possible cause of it? Thanks. C.C. Liu java.lang.NullPointerException java.lang.NullPointerException java.lang.NullPointerException at org.apache.axis.encoding.ser.JAFDataHandlerSerializer.serialize(Unknown Source) at org.apache.axis.encoding.SerializationContextImpl.serializeActual(Unknown Source) at org.apache.axis.encoding.SerializationContextImpl.serialize(Unknown Source) at org.apache.axis.encoding.SerializationContextImpl.outputMultiRefs(Unknown Source) at org.apache.axis.message.SOAPEnvelope.outputImpl(Unknown Source) at org.apache.axis.message.MessageElement.output(Unknown Source) at org.apache.axis.SOAPPart.getAsString(Unknown Source) at org.apache.axis.SOAPPart.getAsBytes(Unknown Source) at org.apache.axis.Message.getContentLength(Unknown Source) at org.apache.axis.transport.http.HTTPSender.invoke(Unknown Source) at org.apache.axis.strategies.InvocationStrategy.visit(Unknown Source) at org.apache.axis.SimpleChain.doVisiting(Unknown Source) at org.apache.axis.SimpleChain.invoke(Unknown Source) at org.apache.axis.client.AxisClient.invoke(Unknown Source) at org.apache.axis.client.Call.invoke(Unknown Source) at org.apache.axis.client.Call.invoke(Unknown Source) at org.apache.axis.client.Call.invoke(Unknown Source) at org.apache.axis.client.Call.invoke(Unknown Source) at testEchoAttach.echo(testEchoAttach.java:54) at testEchoAttach.main(testEchoAttach.java:201) This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you.