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

Deserialization of marshalled return values can happen from within JGroups thread context

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.2.0.ALPHA2, 4.2.0.Final
    • 4.0.0.Final, 4.1.0.Final, 4.2.0.ALPHA1
    • Marshalling
    • None

    Description

      MarshalledValues representing return values can be deserialized from within JGroups thread leading to CNFEs.

      The following deserializes the return value in the remote node from within the JGroups thread:

      public void testReturnValueDeserialization()

      { Cache cache1 = cache(0, "replSync"); Cache cache2 = cache(1, "replSync"); Pojo v1 = new Pojo(1); cache1.put("1", v1); Pojo previous = (Pojo) cache1.put("1", new Pojo(2)); assert previous.equals(v1); }

      Need to dig further to find out why.

      Attachments

        Activity

          People

            rh-ee-galder Galder ZamarreƱo
            rh-ee-galder Galder ZamarreƱo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: