File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Axis - NullPointerException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis - NullPointerException" Watch "Axis - NullPointerException" New topic

Axis - NullPointerException

Arun Moose

Joined: Oct 29, 2008
Posts: 9
I have set of Web services running in Tomcat/Axis. When i try to invoke one of the methods in the WS, I'm facing the exception mentioned below. Looks like the problem is caused by the NullPointerException but i'm not able to close in on it. People who have come across such problem, please help me out.

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.client.config.base.TCRunStep.execute(
at com.client.config.base.TestCase.execute(
at com.client.config.base.TCDriver.runTCs(
at com.client.config.base.TCDriver.main(
Caused by: java.lang.NullPointerException
at org.apache.axis.message.SOAPFaultBuilder.createFault(
at org.apache.axis.message.SOAPFaultBuilder.endElement(
at org.apache.axis.encoding.DeserializationContext.endElement(
at Source)
at Source)
at$ Source)
at Source)
at Source)
at Source)
at Source)
at Source)
at Source)
at Source)
at rnal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(
at org.apache.axis.Message.getSOAPEnvelope(
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(
at org.apache.axis.client.AxisClient.invoke(
at org.apache.axis.client.Call.invokeEngine(
at org.apache.axis.client.Call.invoke(
at org.apache.axis.client.Call.invoke(
at org.apache.axis.client.Call.invoke(
at org.apache.axis.client.Call.invoke(
at com.svc.ecs.ECSOmiStub.addECS(
at com.client.share.svchandler.ECSOmiServiceHandler.addECS(
... 9 more
I agree. Here's the link:
subject: Axis - NullPointerException