axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From axis-...@ws.apache.org
Subject [jira] Created: (AXIS-1471) DeserializationContextImpl.getDeserializerForClass():490 - No deserializer for java.lang.Object
Date Thu, 22 Jul 2004 03:35:39 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1471

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1471
    Summary: DeserializationContextImpl.getDeserializerForClass():490 - No deserializer for
java.lang.Object
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis
 Components: 
             Serialization/Deserialization
   Versions:
             current (nightly)

   Assignee: 
   Reporter: Peter Molettiere

    Created: Wed, 21 Jul 2004 8:35 PM
    Updated: Wed, 21 Jul 2004 8:35 PM
Environment: Mac OS X 10.3.4, JDK 1.4.2

Description:
This error is logged via log4j: DeserializationContextImpl.getDeserializerForClass():490 -
No deserializer for java.lang.Object

It looks like the BeanSerializer doesn't know how to deal with any Object type other than
ones which are explicitly type mapped -- this is being newly generated in code which was working
before axis beta 2, and the only change made was the axis upgrade. The error doesn't seem
to actually cause us any problems at this point, although QA is still looking at it. Usually
the getter/setter methods on our bean classes return object types for which we have type mappings
defined, but if the value isn't set, then it seems to revert to the generic return type of
the getter/setter methods, and generates this error.

This stack trace was captured in a debugger:

java.lang.NoSuchMethodException: java.lang.Object.getDeserializer(java.lang.String, java.lang.Class,
javax.xml.namespace.QName)
	at java.lang.Class.getMethod(Class.java:978)
	at org.apache.axis.encoding.DeserializationContextImpl.getDeserializerForClass(DeserializationContextImpl.java:481)
	at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:250)
	at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1008)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:159)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:838)
	at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:373)
	at org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:130)
	at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1021)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:159)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:838)
	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:198)
	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:323)
	at org.apache.axis.client.Call.invoke(Call.java:2418)
	at org.apache.axis.client.Call.invoke(Call.java:2317)
	at org.apache.axis.client.Call.invoke(Call.java:1774)


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message