Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 14544 invoked from network); 28 Apr 2005 17:40:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Apr 2005 17:40:10 -0000 Received: (qmail 56439 invoked by uid 500); 28 Apr 2005 17:41:02 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 56421 invoked by uid 500); 28 Apr 2005 17:41:02 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 56402 invoked by uid 99); 28 Apr 2005 17:41:01 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of jchiu@responsys.com designates 206.173.245.222 as permitted sender) Received: from ex-pa-u3.responsys.com (HELO ex-pa-u3.responsys.com) (206.173.245.222) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 28 Apr 2005 10:41:01 -0700 Received: by ex-pa-u3.us.responsys.com with Internet Mail Service (5.5.2657.72) id <2L0L57CJ>; Thu, 28 Apr 2005 10:38:00 -0700 Message-ID: <79AD170C7AFCD411A6A200508BF7DF0F02DD17C4@ex-pa-u2.us.responsys.com> From: James Chiu To: axis-user@ws.apache.org Subject: RE: RemoteException: java.lang.NullPointerException Date: Thu, 28 Apr 2005 10:43:24 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Instead of upgrading to Axis 1.2, I downgraded Java to 1.4 and the problem is resolved. Do you know any documents that describe version conflicts? Thanks a lot, James -----Original Message----- From: James Chiu [mailto:jchiu@responsys.com] Sent: Wednesday, April 27, 2005 10:45 AM To: axis-user@ws.apache.org Subject: RE: RemoteException: java.lang.NullPointerException I actually started with Axis 1.2. While compiling the client stub classes generated from WSDL2Java, I received a ClassNotFoundException error. However, once I changed to Axis 1.1, the problem is gone. Using the same WSDL file, the client stub classes generated from WSDL2Java are (quite) different. James -----Original Message----- From: Anne Thomas Manes [mailto:atmanes@gmail.com] Sent: Wednesday, April 27, 2005 10:30 AM To: axis-user@ws.apache.org Subject: Re: RemoteException: java.lang.NullPointerException That's your problem -- they don't work well together. I suggest you upgrade to Axis 1.2. On 4/27/05, James Chiu wrote: > Yes, I am using Java 1.5 and Axis 1.1. > > James > > -----Original Message----- > From: Dominik [mailto:comparedominik@o2.pl] > Sent: Wednesday, April 27, 2005 5:40 AM > To: axis-user@ws.apache.org > Subject: Re: RemoteException: java.lang.NullPointerException > > Are you using Java 1.5 and Axis 1.1 ? > > ----- Original Message ----- > From: "James Chiu" > To: > 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) > >