axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Agustinus Tedja <agustinus.te...@infodesign-osd.de>
Subject Trouble in EchoAttachment sample
Date Tue, 06 Aug 2002 12:52:20 GMT
Dear all,
I have a problem concerning EchoAttachments sample. I have given the
correct file name and location and from debugging it seems successful
but when the call.invoke(new Object[] {dhSource}); the exception occurs.
I am using the latest Axis Beta 3 and Apache Tomcat 4.0.4 and
thank you for any suggestions and hints.

Regards,
Agustinus Tedja
InfoDesign-OSD

I got following exceptions:

- Mapping Exception to AxisFault
AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.userException
 faultString: java.lang.NullPointerException
 faultActor: null
 faultDetail: 
        stackTrace: java.lang.NullPointerException
        at
org.apache.axis.encoding.ser.JAFDataHandlerSerializer.serialize(JAFDataHandlerSerializer.java:113)
        at
org.apache.axis.encoding.SerializationContextImpl.serializeActual(SerializationContextImpl.java:1105)
        at
org.apache.axis.encoding.SerializationContextImpl.serialize(SerializationContextImpl.java:684)
        at
org.apache.axis.encoding.SerializationContextImpl.outputMultiRefs(SerializationContextImpl.java:736)
        at
org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:144)
        at
org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:389)
        at
org.apache.axis.message.MessageElement.output(MessageElement.java:706)
        at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:406)
        at org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:334)
        at org.apache.axis.Message.getContentType(Message.java:378)
        at
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:607)
        at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:155)
        at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:183)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2027)
        at org.apache.axis.client.Call.invoke(Call.java:2016)
        at org.apache.axis.client.Call.invoke(Call.java:1786)
        at org.apache.axis.client.Call.invoke(Call.java:1711)
        at org.apache.axis.client.Call.invoke(Call.java:1251)
        at
samples.attachments.EchoAttachment.echo(EchoAttachment.java:146)
        at
samples.attachments.EchoAttachment.main(EchoAttachment.java:342)


java.lang.NullPointerException
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:117)
        at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:408)
        at org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:334)
        at org.apache.axis.Message.getContentType(Message.java:378)
        at
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:607)
        at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:155)
        at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:183)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2027)
        at org.apache.axis.client.Call.invoke(Call.java:2016)
        at org.apache.axis.client.Call.invoke(Call.java:1786)
        at org.apache.axis.client.Call.invoke(Call.java:1711)
        at org.apache.axis.client.Call.invoke(Call.java:1251)
        at
samples.attachments.EchoAttachment.echo(EchoAttachment.java:146)
        at
samples.attachments.EchoAttachment.main(EchoAttachment.java:342)
Caused by: java.lang.NullPointerException
        at
org.apache.axis.encoding.ser.JAFDataHandlerSerializer.serialize(JAFDataHandlerSerializer.java:113)
        at
org.apache.axis.encoding.SerializationContextImpl.serializeActual(SerializationContextImpl.java:1105)
        at
org.apache.axis.encoding.SerializationContextImpl.serialize(SerializationContextImpl.java:684)
        at
org.apache.axis.encoding.SerializationContextImpl.outputMultiRefs(SerializationContextImpl.java:736)
        at
org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:144)
        at
org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:389)
        at
org.apache.axis.message.MessageElement.output(MessageElement.java:706)
        at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:406)
        ... 15 more
java.lang.NullPointerException
AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.userException
 faultString: java.lang.NullPointerException
 faultActor: null
 faultDetail: 
        stackTrace: java.lang.NullPointerException
        at
org.apache.axis.encoding.ser.JAFDataHandlerSerializer.serialize(JAFDataHandlerSerializer.java:113)
        at
org.apache.axis.encoding.SerializationContextImpl.serializeActual(SerializationContextImpl.java:1105)
        at
org.apache.axis.encoding.SerializationContextImpl.serialize(SerializationContextImpl.java:684)
        at
org.apache.axis.encoding.SerializationContextImpl.outputMultiRefs(SerializationContextImpl.java:736)
        at
org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:144)
        at
org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:389)
        at
org.apache.axis.message.MessageElement.output(MessageElement.java:706)
        at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:406)
        at org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:334)
        at org.apache.axis.Message.getContentType(Message.java:378)
        at
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:607)
        at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:155)
        at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:183)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2027)
        at org.apache.axis.client.Call.invoke(Call.java:2016)
        at org.apache.axis.client.Call.invoke(Call.java:1786)
        at org.apache.axis.client.Call.invoke(Call.java:1711)
        at org.apache.axis.client.Call.invoke(Call.java:1251)
        at
samples.attachments.EchoAttachment.echo(EchoAttachment.java:146)
        at
samples.attachments.EchoAttachment.main(EchoAttachment.java:342)


java.lang.NullPointerException
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:117)
        at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:408)
        at org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:334)
        at org.apache.axis.Message.getContentType(Message.java:378)
        at
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:607)
        at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:155)
        at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:183)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2027)
        at org.apache.axis.client.Call.invoke(Call.java:2016)
        at org.apache.axis.client.Call.invoke(Call.java:1786)
        at org.apache.axis.client.Call.invoke(Call.java:1711)
        at org.apache.axis.client.Call.invoke(Call.java:1251)
        at
samples.attachments.EchoAttachment.echo(EchoAttachment.java:146)
        at
samples.attachments.EchoAttachment.main(EchoAttachment.java:342)
Caused by: java.lang.NullPointerException
        at
org.apache.axis.encoding.ser.JAFDataHandlerSerializer.serialize(JAFDataHandlerSerializer.java:113)
        at
org.apache.axis.encoding.SerializationContextImpl.serializeActual(SerializationContextImpl.java:1105)
        at
org.apache.axis.encoding.SerializationContextImpl.serialize(SerializationContextImpl.java:684)
        at
org.apache.axis.encoding.SerializationContextImpl.outputMultiRefs(SerializationContextImpl.java:736)
        at
org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:144)
        at
org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:389)
        at
org.apache.axis.message.MessageElement.output(MessageElement.java:706)
        at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:406)
        ... 15 more

Mime
View raw message