You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Lakshmi Prasad <pr...@in.ceeyes.com> on 2002/02/14 10:14:50 UTC
Error running the attachments sample
Hi All,
I have downloaded alpha3 and I am trying to run the samples.
In the samples while I am trying to run the attachments sample I am getting the following error.
Can any body help this................
java.lang.NullPointerException
at org.apache.axis.encoding.JAFDataHandlerSerializer.serialize(JAFDataHandlerSerializer.java:87)
at org.apache.axis.encoding.TypeMappingRegistry.serialize(TypeMappingRegistry.java:275)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:417)
at org.apache.axis.encoding.SerializationContext.outputMultiRefs(SerializationContext.java:442)
at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:357)
at org.apache.axis.message.MessageElement.output(MessageElement.java:448)
at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:329)
at org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:272)
at org.apache.axis.Message.getContentLength(Message.java:293)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:354)
at org.apache.axis.SimpleTargetedChain.invoke(SimpleTargetedChain.java:104)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:178)
at org.apache.axis.client.Call.invoke(Call.java:1254)
at org.apache.axis.client.Call.invoke(Call.java:1113)
at org.apache.axis.client.Call.invoke(Call.java:1043)
at org.apache.axis.client.Call.invoke(Call.java:676)
at EchoAttachment.echo(EchoAttachment.java:141)
at EchoAttachment.main(EchoAttachment.java:319)
Can't convert 3 to Bytes
AxisFault
faultCode: http://xml.apache.org/axis/:Server.userException
faultString: java.lang.NullPointerException
faultActor: null
faultDetail:
exceptionName: java.lang.NullPointerException
stackTrace: java.lang.NullPointerException
at org.apache.axis.Message.getContentLength(Message.java:293)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:354)
at org.apache.axis.SimpleTargetedChain.invoke(SimpleTargetedChain.java:104)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:178)
at org.apache.axis.client.Call.invoke(Call.java:1254)
at org.apache.axis.client.Call.invoke(Call.java:1113)
at org.apache.axis.client.Call.invoke(Call.java:1043)
at org.apache.axis.client.Call.invoke(Call.java:676)
at EchoAttachment.echo(EchoAttachment.java:141)
at EchoAttachment.main(EchoAttachment.java:319)
Regards
Prasad