[gatein-issues] [JBoss JIRA] Updated: (GTNWSRP-107) CCE: ReturnAny cannot be cast to ResourceResponse

Chris Laprun (JIRA) jira-events at lists.jboss.org
Fri Oct 22 17:29:54 EDT 2010


     [ https://jira.jboss.org/browse/GTNWSRP-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Laprun updated GTNWSRP-107:
---------------------------------

    Fix Version/s: 2.0.0-Beta04
                       (was: 2.0.0-CR01)


> CCE: ReturnAny cannot be cast to ResourceResponse
> -------------------------------------------------
>
>                 Key: GTNWSRP-107
>                 URL: https://jira.jboss.org/browse/GTNWSRP-107
>             Project: GateIn WSRP
>          Issue Type: Bug
>    Affects Versions: 2.0.0-Beta03
>            Reporter: Matt Wringe
>            Assignee: Chris Laprun
>             Fix For: 2.0.0-Beta04
>
>
> Running into strange ClassCastExceptions when using wsrp 2.0 with remote portlets over the portlet bridge. This can be easily reproduced with the portlet bridge's richfaces demo app (modified to include the remotable runtime option). When trying to load the portlet:
> java.lang.ClassCastException: org.oasis.wsrp.v2.ReturnAny cannot be cast to org.oasis.wsrp.v2.ResourceResponse
> 	at org.oasis.wsrp.v2.ResourceResponse$JaxbAccessorF_portletContext.get(FieldAccessor_Ref.java:52)
> 	at com.sun.xml.bind.v2.runtime.reflect.Accessor.getUnadapted(Accessor.java:147)
> 	at com.sun.xml.bind.v2.runtime.JAXBContextImpl$7.get(JAXBContextImpl.java:927)
> 	at org.jboss.ws.metadata.accessor.JAXBAccessor.get(JAXBAccessor.java:48)
> 	at org.jboss.ws.core.jaxrpc.ParameterWrapping.unwrapResponseParameters(ParameterWrapping.java:224)
> 	at org.jboss.ws.core.CommonClient.syncOutputParams(CommonClient.java:513)
> 	at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:397)
> 	at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:290)
> 	at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:170)
> 	at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
> 	at $Proxy557.initCookie(Unknown Source)
> 	at org.gatein.wsrp.services.v2.V2MarkupService.initCookie(V2MarkupService.java:107)
> 	at org.gatein.wsrp.consumer.handlers.SessionHandler.initCookie(SessionHandler.java:183)
> 	at org.gatein.wsrp.consumer.handlers.SessionHandler.initCookieIfNeeded(SessionHandler.java:153)
> 	at org.gatein.wsrp.consumer.handlers.SessionHandler.initCookieIfNeeded(SessionHandler.java:130)
> 	at org.gatein.wsrp.consumer.handlers.InvocationHandler.performRequest(InvocationHandler.java:157)
> 	at org.gatein.wsrp.consumer.handlers.InvocationHandler.handle(InvocationHandler.java:97)
> 	at org.gatein.wsrp.consumer.handlers.InvocationDispatcher.dispatchAndHandle(InvocationDispatcher.java:134)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list