Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-4008

InvalidClassException when deserializing FunctionAdapter from pre Geode clients

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • functions
    • None

    Description

      There was a change to deprecate FunctionAdapter in Geode, and this removed the method signatures of the class. This causes Java to assign a new serialVersionUID to the class. However we have clients pre Geode that when they attempt to execute a function by serializing the function across (not using a function id), the FunctionAdapter class is unable to deserialize properly.

      The proposed fix is to assign a serialVersionUID to the class that matches that of the pre Geode FunctionAdapter. This will cause any Geode 1.0-1.3 clients to run into this same error. However FunctionAdapter has been deprecated and it would be easy enough to just change the classes to implement Function.

      Attachments

        Issue Links

          Activity

            People

              jasonhuynh Jason Huynh
              jasonhuynh Jason Huynh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: