You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jason Huynh (JIRA)" <ji...@apache.org> on 2017/11/22 17:15:00 UTC

[jira] [Created] (GEODE-4008) InvalidClassException when deserializing FunctionAdapter from pre Geode clients

Jason Huynh created GEODE-4008:
----------------------------------

             Summary: InvalidClassException when deserializing FunctionAdapter from pre Geode clients
                 Key: GEODE-4008
                 URL: https://issues.apache.org/jira/browse/GEODE-4008
             Project: Geode
          Issue Type: Bug
          Components: functions
            Reporter: Jason Huynh


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)