axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominik" <comparedomi...@o2.pl>
Subject Re: RemoteException: java.lang.NullPointerException
Date Wed, 27 Apr 2005 12:40:14 GMT
Are you using Java 1.5 and Axis 1.1 ?

----- Original Message ----- 
From: "James Chiu" <jchiu@responsys.com>
To: <axis-user@ws.apache.org>
Sent: Wednesday, April 27, 2005 12:30 AM
Subject: RemoteException: java.lang.NullPointerException


Hi,

I received a RemoteException: java.lang.NullPointerException after my client
makes a WS method call. I used the WSDL2Java utility to create client stub
classes. The server side is hosted by Microsoft IIS. I turned on the
debugger and found where the exception is thrown as following:

{http://xml.apache.org/axis/}stackTrace:
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserI
mpl.java:395)
at
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationCon
textImpl.java:246)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:675
)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
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:180)
at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at
com.microsoft.schemas.sqlserver._2003._12.reporting.reportingservices.Report
ingServiceSoapStub.listSecureMethods(ReportingServiceSoapStub.java:1703)
at
responsys.advrpt.msrsclient.MSRSClient.getChildrenList(MSRSClient.java:54)
at responsys.advrpt.msrsclient.MSRSClient.main(MSRSClient.java:116)



Mime
View raw message