You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Michael Dodge (JIRA)" <ji...@apache.org> on 2016/12/27 15:53:58 UTC

[jira] [Created] (GEODE-2246) Invalid class cast in function execution

Michael Dodge created GEODE-2246:
------------------------------------

             Summary: Invalid class cast in function execution
                 Key: GEODE-2246
                 URL: https://issues.apache.org/jira/browse/GEODE-2246
             Project: Geode
          Issue Type: Bug
          Components: functions
            Reporter: Michael Dodge


In some situations (e.g., running a certain version of the native client quickstarts) a ClassCastException is thrown inside ExecuteFunction66.run() at line 391 of ExecuteFunction66.java:
        final DistributionManager newDM = (DistributionManager) dm;

The variable dm is an instance of the interface org.apache.geode.distributed.internal.DM. The class org.apache.geode.distributed.internal.DistributionManager implements DM but not all implementers of DM extend DistributionManager, e.g., org.apache.geode.distributed.internal.LonerDistributionManager.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)