You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Christian Berger (JIRA)" <ax...@ws.apache.org> on 2005/12/02 21:51:29 UTC
[jira] Created: (AXIS-2324) NullPointerException in BeanDeserializer::onStartChild instead of 'SAXException: No deserializer for '
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
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
[jira] Updated: (AXIS-2324) NullPointerException in BeanDeserializer::onStartChild instead of 'SAXException: No deserializer for '
Posted by "Christian Berger (JIRA)" <ax...@ws.apache.org>.
[ 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
[jira] Updated: (AXIS-2324) NullPointerException in BeanDeserializer::onStartChild instead of 'SAXException: No deserializer for '
Posted by "Christian Berger (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2324?page=all ]
Christian Berger updated AXIS-2324:
-----------------------------------
Attachment: nestedinputrpc.wsdd
the wsdd I wrote for the service
> 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: nestedinputrpc.wsdd, 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