Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-15303

JGroupsTransport.getMembersPhysicalAddresses() throws an IllegalArgumentException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 14.0.22.Final, 15.0.0.Dev06
    • 14.0.18.Final, 14.0.19.Final
    • Server
    • None

      When UPGRADE is used, and we have 2 sites with {A} and {B} as single members of each site, UPGRADE injects view {A,B} when it is activated.

      However, this is a virtual view, as B is not in A's real view and vice versa. So when JGroupsTransport.getMembersPhysicalAddresses() tries to get all physical addresses (e.g. in the first site), there will be no physical address for B.

      Therefore, JGroupsAddress(Address) will throw an IllegalArgumentException.

      It would be better to simply skip the null addresses.

            pruivo@redhat.com Pedro Ruivo
            rhn-engineering-bban Bela Ban
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: