Hi,

thanks for your help. With mail.jar in my classpath the sample works fine.
Thanks again.

Stefan

> -----Ursprüngliche Nachricht-----
> Von: Jinghua Gu [mailto:[EMAIL PROTECTED]]
> Gesendet: Sonntag, 24. März 2002 15:11
> An: [EMAIL PROTECTED]
> Betreff: Re: Attachment sample not working in beta1?
>
>
> No, It is working. You need to add mail.jar in your classpath.
>
> -Emily
>
> At 11:00 AM 3/24/2002 +0100, Stefan Henke wrote:
> >Hi,
> >
> >I´m trying to make the attachment sample coming with axis to work.
> >Unfortunately, I always get a NPE each time I try it. For stack
> trace, see
> >below.
> >I checked the archives, and I found a message that said the attachment
> >sample doesn´t work in beta1 (which I am using).
> >Is this right?
> >
> >Thanks
> >Stefan
> >
> >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(Unkno
> wn 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 samples.attachments.EchoAttachment.echo(Unknown Source)
> >         at samples.attachments.EchoAttachment.main(Unknown Source)
>

Reply via email to