Thanks, I just put activation.jar there and forgot the mail.jar.

        C.C. Liu


-----Original Message-----
From: Stan Jordan [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 5:00 PM
To: [EMAIL PROTECTED]
Subject: Re: Attachment sample


CC...
Most likely cause is that you need either mail.jar or mailapi.jar on your
CLASSPATH.  Also, you may want to check the archives.  This problem has come
up many, many times.
Stan

----- Original Message -----
From: "Liu, C.C" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 05, 2002 2:56 PM
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)

Reply via email to