axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Berger (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Updated: (AXIS-2324) NullPointerException in BeanDeserializer::onStartChild instead of 'SAXException: No deserializer for <bla>'
Date Fri, 02 Dec 2005 20:58:30 GMT
     [ 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 <bla>'
> -----------------------------------------------------------------------------------------------------------
>
>          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


Mime
View raw message