Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 83439 invoked from network); 2 Mar 2004 14:52:34 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Mar 2004 14:52:34 -0000 Received: (qmail 21390 invoked by uid 500); 2 Mar 2004 14:52:26 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 21375 invoked by uid 500); 2 Mar 2004 14:52:26 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 21363 invoked from network); 2 Mar 2004 14:52:26 -0000 Received: from unknown (HELO p01mgw01.macromedia.com) (216.104.212.90) by daedalus.apache.org with SMTP; 2 Mar 2004 14:52:26 -0000 Received: from S1001EXM02.macromedia.com ([10.4.48.132]) by p01mgw01.macromedia.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i22EqRd2015140 for ; Tue, 2 Mar 2004 06:52:27 -0800 (PST) Received: by S1001EXM02.macromedia.com with Internet Mail Service (5.5.2657.72) id ; Tue, 2 Mar 2004 09:52:27 -0500 Message-ID: From: Tom Jordahl To: axis-dev@ws.apache.org Subject: RE: DO NOT REPLY [Bug 27357] New: - NPE in BaseSerializerFactor y.createFactory() Date: Tue, 2 Mar 2004 09:52:27 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hummm.. How does this work if we are now using Jira for bug tracking? Does the web site still point to Bugzilla? Do we need to turn off the Axis DB in Bugzilla? -- Tom Jordahl -----Original Message----- From: bugzilla@apache.org [mailto:bugzilla@apache.org] Sent: Tuesday, March 02, 2004 4:05 AM To: axis-dev@ws.apache.org Subject: DO NOT REPLY [Bug 27357] New: - NPE in BaseSerializerFactory.createFactory() DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27357 NPE in BaseSerializerFactory.createFactory() Summary: NPE in BaseSerializerFactory.createFactory() Product: Axis Version: current (nightly) Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Serialization/Deserialization AssignedTo: axis-dev@ws.apache.org ReportedBy: gawor@mcs.anl.gov [java] Caused by: java.lang.NullPointerException [java] at org.apache.axis.encoding.ser.BaseSerializerFactory.createFact ory(BaseSerializerFactory.java:231) [java] at org.apache.axis.client.Call.registerTypeMapping(Call.java:218 8) [java] at org.globus.testing.CounterSOAPBindingStub.createCall (CounterSOAPBindingStub.java:583) [java] ... 3 more I have the following definition in the WSDL: WSDL2Java generated the following entry for the definition in the Stub: qName = new javax.xml.namespace.QName("bar", ">foo"); cachedSerQNames.add(qName); cls = java.lang.Object.class; cachedSerClasses.add(cls); cachedSerFactories.add(null); cachedDeserFactories.add(simpledf); And then using the Stub caused the exception in the createCall() function. A simple check for factory == null solves the problem.