axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Brandon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-491) Arrays are not handled correctly by org.apache.axis2.databinding.utils.BeanUtil.deserialize
Date Tue, 14 Mar 2006 18:27:05 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-491?page=all ]

Chad Brandon updated AXIS2-491:
-------------------------------

    Attachment: patch.txt

Here's the patch.

> Arrays are not handled correctly by org.apache.axis2.databinding.utils.BeanUtil.deserialize
> -------------------------------------------------------------------------------------------
>
>          Key: AXIS2-491
>          URL: http://issues.apache.org/jira/browse/AXIS2-491
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: databinding
>     Versions: 0.94
>     Reporter: Chad Brandon
>     Priority: Blocker
>  Attachments: patch.txt
>
> When attempting to pass an array of complex objects to an operation, I get the below
exception.  I tracked the error down to the fact that the newInstance() is being called on
an array class in BeanUtil (which obviously won't work).   Anyway I patched BeanUtil against
SVN as of today to correctly handle arrays passed in as parameters to when using the RPCMessageReceiver.
> 11:19:01,171 INFO  [STDOUT] org.apache.axis2.AxisFault: InstantiationException : java.lang.InstantiationException:
[Lorg.dcri.axis2test.Pers
> on;
> 11:19:01,171 INFO  [STDOUT]     at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:154)
> 11:19:01,171 INFO  [STDOUT]     at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:314)
> 11:19:01,171 INFO  [STDOUT]     at org.apache.axis2.rpc.receivers.RPCMessageReceiver.processRequest(RPCMessageReceiver.java:128)
> 11:19:01,171 INFO  [STDOUT]     at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:95)
> 11:19:01,171 INFO  [STDOUT]     at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java
> :37)
> 11:19:01,203 INFO  [STDOUT]     at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:331)
> 11:19:01,203 INFO  [STDOUT]     at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:274)
> 11:19:01,203 INFO  [STDOUT]     at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:150)
> 11:19:01,203 INFO  [STDOUT]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> 11:19:01,203 INFO  [STDOUT]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> 11:19:01,203 INFO  [STDOUT]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> 11:19:01,203 INFO  [STDOUT]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 11:19:01,203 INFO  [STDOUT]     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
> 11:19:01,203 INFO  [STDOUT]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> 11:19:01,203 INFO  [STDOUT]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 11:19:01,203 INFO  [STDOUT]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> 11:19:01,203 INFO  [STDOUT]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> 11:19:01,203 INFO  [STDOUT]     at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
> 11:19:01,203 INFO  [STDOUT]     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
> 11:19:01,203 INFO  [STDOUT]     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
> 11:19:01,203 INFO  [STDOUT]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> 11:19:01,203 INFO  [STDOUT]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> 11:19:01,203 INFO  [STDOUT]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> 11:19:01,203 INFO  [STDOUT]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> 11:19:01,203 INFO  [STDOUT]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> 11:19:01,203 INFO  [STDOUT]     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744
> )
> 11:19:01,203 INFO  [STDOUT]     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> 11:19:01,203 INFO  [STDOUT]     at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
> 11:19:01,203 INFO  [STDOUT]     at java.lang.Thread.run(Thread.java:595)

-- 
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