[mod_cluster-issues] [JBoss JIRA] Commented: (MODCLUSTER-208) ClassCastException on updateClusterStatus()

Paul Ferraro (JIRA) jira-events at lists.jboss.org
Tue Feb 1 10:15:39 EST 2011


    [ https://issues.jboss.org/browse/MODCLUSTER-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579357#comment-12579357 ] 

Paul Ferraro commented on MODCLUSTER-208:
-----------------------------------------

That can't be it, the generic typing of these objects are not retained at runtime due to type erasure.  Yesterday, I created a unit test to make sure that the DefaultRpcResponse object survives serialization and deserialization without breaking.  That test passes - and I have yet to reproduce this locally.  I'll keep trying.

> ClassCastException on updateClusterStatus()
> -------------------------------------------
>
>                 Key: MODCLUSTER-208
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-208
>             Project: mod_cluster
>          Issue Type: Bug
>    Affects Versions: 1.1.0.Final
>         Environment: JBoss AS 6.0.0.final
>            Reporter: Bela Ban
>            Assignee: Paul Ferraro
>
> 13:55:36,731 ERROR [org.apache.catalina.core.ContainerBase] Exception invoking periodic operation: : java.lang.ClassCastException: org.jboss.modcluster.ha.rpc.DefaultRpcResponse cannot be cast to org.jboss.modcluster.ha.rpc.RpcResponse
>         at org.jboss.modcluster.ha.HAModClusterService$ClusteredModClusterService.updateClusterStatus(HAModClusterService.java:1222) [:1.1.0.Final]
>         at org.jboss.modcluster.ha.HAModClusterService$ClusteredModClusterService.status(HAModClusterService.java:1167) [:1.1.0.Final]
>         at org.jboss.modcluster.ha.HAModClusterService.status(HAModClusterService.java:359) [:1.1.0.Final]
>         at org.jboss.modcluster.catalina.CatalinaEventHandlerAdapter.lifecycleEvent(CatalinaEventHandlerAdapter.java:314) [:1.1.0.Final]
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115) [:6.0.0.Final]
>         at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1335) [:6.0.0.Final]
>         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1599) [:6.0.0.Final]
>         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1588) [:6.0.0.Final]
>         at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the mod_cluster-issues mailing list