Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 80895 invoked from network); 3 Dec 2005 01:42:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Dec 2005 01:42:00 -0000 Received: (qmail 54701 invoked by uid 500); 3 Dec 2005 01:41:01 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 53661 invoked by uid 500); 3 Dec 2005 01:40:56 -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: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 53413 invoked by uid 99); 3 Dec 2005 01:40:54 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2005 17:40:51 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id C55EE628 for ; Fri, 2 Dec 2005 21:58:30 +0100 (CET) Message-ID: <666304020.1133557110776.JavaMail.jira@ajax.apache.org> Date: Fri, 2 Dec 2005 21:58:30 +0100 (CET) From: "Christian Berger (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS-2324) NullPointerException in BeanDeserializer::onStartChild instead of 'SAXException: No deserializer for ' In-Reply-To: <1757615960.1133556689915.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS-2324?page=all ] Christian Berger updated AXIS-2324: ----------------------------------- Attachment: service_src.jar the sources for the webservice I was trying to deploy > NullPointerException in BeanDeserializer::onStartChild instead of 'SAXException: No deserializer for ' > ----------------------------------------------------------------------------------------------------------- > > Key: AXIS-2324 > URL: http://issues.apache.org/jira/browse/AXIS-2324 > Project: Apache Axis > Type: Bug > Components: Serialization/Deserialization > Versions: 1.3 > Environment: tomcat 4.1 > jdk 1.4.2 > Reporter: Christian Berger > Priority: Minor > Attachments: service_src.jar > > The BeanDeserializer throws a NullPointerException in ::onStartChild(.), line 314 if a custom deserializer can't be found. > The current piece of code is: > if (dSer == null) { > throw new SAXException(Messages.getMessage("noDeser00", > childXMLType.toString())); > } > replacing it with > if (dSer == null) { > throw new SAXException(Messages.getMessage("noDeser00",(childXMLType!= null)? > childXMLType.toString(): localName)); > } > fixes it, and I get the expected SAXException. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira