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 bu...@apache.org on 2002/10/29 05:21:31 UTC
DO NOT REPLY [Bug 14033] New: -
bean property multi-dimensional arrays don't deserialize
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14033>.
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=14033
bean property multi-dimensional arrays don't deserialize
Summary: bean property multi-dimensional arrays don't deserialize
Product: Axis
Version: 1.0
Platform: All
URL: http://support.jabmail.com/development/AxisBug/Test.zip
OS/Version: Windows NT/2K
Status: NEW
Severity: Major
Priority: Other
Component: Serialization/Deserialization
AssignedTo: axis-dev@xml.apache.org
ReportedBy: martin.j@jabmail.com
Axis throws an exception in the BeanPropertyTarget class when trying to
deserialize a multi-dimensional array that is a bean property.
A test case demonstrating this bug can be downloaded at the supplied URL.
Here is the exception log:
761725 [HttpProcessor[8080][4]] ERROR
org.apache.axis.encoding.ser.BeanPropertyTarget - Could not convert
[Ljava.lang.String; to bean field 'textArray', type [Ljava.lang.String;
761735 [HttpProcessor[8080][4]] ERROR
org.apache.axis.transport.http.AxisServlet - Exception:
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: java.lang.IllegalArgumentException: argument type mismatch
faultActor: null
faultDetail:
stackTrace: java.lang.IllegalArgumentException: argument type mismatch
at org.apache.axis.encoding.ser.BeanPropertyTarget.set
(BeanPropertyTarget.java:175)
at org.apache.axis.encoding.DeserializerImpl.valueComplete
(DeserializerImpl.java:260)
at org.apache.axis.encoding.ser.ArrayDeserializer.valueComplete
(ArrayDeserializer.java:544)
at org.apache.axis.encoding.DeserializerImpl.endElement
(DeserializerImpl.java:502)
at org.apache.axis.encoding.DeserializationContextImpl.endElement
(DeserializationContextImpl.java:942)
at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:206)
at org.apache.axis.message.MessageElement.publishToHandler
(MessageElement.java:684)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:207)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:265)
at org.apache.axis.providers.java.RPCProvider.processMessage
(RPCProvider.java:190)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:276)
at org.apache.axis.strategies.InvocationStrategy.visit
(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:437)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:316)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:701)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at org.apache.axis.transport.http.AxisServletBase.service
(AxisServletBase.java:335)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:247)