I'm glad this has been resolved for you, but can the Axis team make a note to look 
into this and try to do better than a NullPointerException?  It would be nice if we 
could be a little more informative as to the actual problem.

--Glen

> -----Original Message-----
> From: Stan Jordan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 20, 2002 4:22 PM
> To: [EMAIL PROTECTED]
> Subject: Re: real AXIS beta 1 problem (samples/attachments)
> 
> 
> Russsell...
> Works for me too, now.  Putting mailapi.jar on the CLASSPATH fixed my
> problem.  Thanks.
> Stan
> 
> ----- Original Message -----
> From: "Russell Butek" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 20, 2002 12:44 PM
> Subject: Re: real AXIS beta 1 problem (samples/attachments)
> 
> 
> > It works for me.  (Yeah, I know, that doesn't help you much!)
> >
> > Are you using tomcat?  Do you have activation.jar in 
> tomcat's common/lib
> > directory?
> >
> > Russell Butek
> > [EMAIL PROTECTED]
> >
> >
> > "Stan Jordan" <[EMAIL PROTECTED]> on 03/19/2002 05:42:40 PM
> >
> > Please respond to [EMAIL PROTECTED]
> >
> > To:    <[EMAIL PROTECTED]>
> > cc:
> > Subject:    real AXIS beta 1 problem (samples/attachments)
> >
> >
> >
> > When I run this example, I get the exception pasted below.  
> Has anyone
> else
> > had success with this example?  Thanks.
> > Stan
> > I used beta1 dated 3/19/02
> > -----------------------------------
> > java.lang.NullPointerException
> > java.lang.NullPointerException
> >  at org.apache.axis.AxisFault.makeFault(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)
> > Caused by: java.lang.NullPointerException
> >  at
> org.apache.axis.encoding.ser.JAFDataHandlerSerializer.serializ
> e(Unknown
> > Source)
> >  at
> > 
> org.apache.axis.encoding.SerializationContextImpl.serializeAct
> ual(Unknown
> > Source)
> >  at 
> org.apache.axis.encoding.SerializationContextImpl.serialize(Unknown
> > Source)
> >  at
> > 
> org.apache.axis.encoding.SerializationContextImpl.outputMultiR
> efs(Unknown
> > Source)
> >  at org.apache.axis.message.SOAPEnvelope.outputImpl(Unknown Source)
> >  at org.apache.axis.message.MessageElement.output(Unknown Source)
> >  ... 14 more
> >
> >
> >
> >
> 

Reply via email to