Title: Message
Hi
 
Has anyone got any suggestions for the problem detailed below?
 
Many thanks
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 05 October 2006 13:27
To: [email protected]
Subject: Null Pointer Exception on call.invoke(new Object[]{"test"})

Hi
I'm using Tomcat 5.5, Axis 1.4 and JDK 1.5.0_08.
I have used the Axis WSDL2Java to generate stubs for my service and produced a client that uses these.  The service produces a correct WSDL when i browse to http://localhost:8080/axis/services/Adder?wsdl.
The client however, produces a Null Pointer Error and a debug has shown this to be happening within the Axis code on the Call invoke.
The stack trace is as below.
Does anyone have any suggestions?
Thanks
Caroline
_______________________________

Exception in thread "main" AxisFault

faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

faultSubcode:

faultString: java.lang.NullPointerException

faultActor:

faultNode:

faultDetail:

{http://xml.apache.org/axis/}hostname:vistorm-38ebcaa

java.lang.NullPointerException

at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)

at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)

at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)

at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)

at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)

at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)

at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)

at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)

at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)

at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)

at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)

at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)

at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)

at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

at org.apache.axis.client.Call.invoke(Call.java:2767)

at org.apache.axis.client.Call.invoke(Call.java:2443)

at org.apache.axis.client.Call.invoke(Call.java:2366)

at org.apache.axis.client.Call.invoke(Call.java:1812)

at cc.test.adder.AdderSoapBindingStub.checkReturns(AdderSoapBindingStub.java:103)

at cc.test.adder.AdderTesting.main(AdderTesting.java:15)



http://www.vistorm.com
Tel (UK): 0870 410 5500
Tel (International): +44 1925 665500
Fax (International): +44 1925 667200

The contents of this email and any attachments may be confidential. It is intended for the named recipient(s) only. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to any other person or make any copies.

Vistorm monitors communications.

ISO 9001 Registered Firm Certificate Number GB 10940

Reply via email to