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

Invalid class cast in function execution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • functions
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pivotalsarge Michael W. Dodge
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: