[infinispan-issues] [JBoss JIRA] (ISPN-2760) JGroups ClassCastException joining node in dist mode

Christopher Wong (JIRA) jira-events at lists.jboss.org
Fri Jan 25 14:07:47 EST 2013


Christopher Wong created ISPN-2760:
--------------------------------------

             Summary: JGroups ClassCastException joining node in dist mode
                 Key: ISPN-2760
                 URL: https://issues.jboss.org/browse/ISPN-2760
             Project: Infinispan
          Issue Type: Feature Request
          Components: Distributed Cache
    Affects Versions: 5.2.0.CR3
            Reporter: Christopher Wong
            Assignee: Mircea Markus


I'm seeing exceptions in my application when I try to start a second node to join the cluster. The cache is for the Lucene directory hooked up under Hibernate Search. These errors did not occur under 5.2.0.CR1, 5.2.0.CR2 nor Galder's build that fixes ISPN-2723 (https://github.com/galderz/infinispan/tree/t_2723). The first node has these exceptions:

01-25-2013 13:51:40 WARN  MPING protocols.MPING: group_addr (HibernateSearch-Infinispan-cluster-MT) or cluster_name of header (null) is null; passing up discovery request from 41089a5d-fe86-4679-6606-428ad1781501, but this should not be the case

01-25-2013 13:51:40 ERROR MPING protocols.MPING: failed receiving packet (from /127.0.0.1:46655)

java.lang.ClassCastException: org.jgroups.protocols.relay.SiteUUID cannot be cast to org.jgroups.PhysicalAddress
	at org.jgroups.protocols.Discovery.up(Discovery.java:391)
	at org.jgroups.protocols.MPING.up(MPING.java:179)
	at org.jgroups.protocols.MPING.run(MPING.java:330)
	at java.lang.Thread.run(Thread.java:662)

The joining node has these exceptions:

01-25-2013 13:52:02 ERROR MPING                    : failed receiving packet (from /127.0.0.1:46655)
java.lang.RuntimeException: class for magic number 1151 not found
        at org.jgroups.util.Util.readOtherAddress(Util.java:849)
        at org.jgroups.util.Util.readAddress(Util.java:813)
        at org.jgroups.util.Util.readAddresses(Util.java:898)
        at org.jgroups.protocols.PingData.readFrom(PingData.java:162)
        at org.jgroups.util.Util.readStreamable(Util.java:938)
        at org.jgroups.protocols.PingHeader.readFrom(PingHeader.java:88)
        at org.jgroups.Message.readHeader(Message.java:902)
        at org.jgroups.Message.readFrom(Message.java:785)
        at org.jgroups.protocols.MPING.run(MPING.java:329)
        at java.lang.Thread.run(Thread.java:662)




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list