axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-1687) array in POJO causes ClassCastException
Date Sun, 12 Nov 2006 20:28:37 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-1687?page=all ]

Davanum Srinivas resolved AXIS2-1687.
-------------------------------------

    Resolution: Fixed

Fixed. Please see r474032

-- dims

> array in POJO causes ClassCastException
> ---------------------------------------
>
>                 Key: AXIS2-1687
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1687
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: rpc
>            Reporter: Kinichiro Inoguchi
>         Attachments: ArrayInPojo.aar, myService.zip
>
>
> I checked this with Axis2 1.1 RC2.
> In case returned Java Beans contains array, 
> java.lang.ClassCastException had occurred.
> 2006/11/12 21:25:45 org.apache.axis2.rpc.receivers.RPCMessageReceiver invokeBusinessLogic
> : Exception occurred while trying to invoke service method sayHelloArray
> java.lang.ClassCastException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:117)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:136)
> 	at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
> 	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:496)
> ...
> You can reproduce this problem with attached ArrayInPojo.aar.
> After deploying this aar, call service by REST,
> http://localhost:8080/axis2/rest/ArrayInPojo/sayHelloArray?inParam=2
> If returned Java Beans contains no array, it works fine.
> You can confirm this by 
> http://localhost:8080/axis2/rest/ArrayInPojo/sayHello?inParam=2

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message