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

A function's ResultCollector throws ClassCastException when ResultSender.sendException is invoked

    XMLWordPrintableJSON

Details

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

    Description

      For e.g. If LuceneFunction.execute invokes resultSender.sendException, the following error is generated.

      java.lang.ClassCastException: java.lang.IllegalArgumentException cannot be cast to com.gemstone.gemfire.cache.lucene.int
      ernal.distributed.TopEntriesCollector
      	at com.gemstone.gemfire.cache.lucene.internal.distributed.TopEntriesFunctionCollector.addResult(TopEntriesFunctionColle
      ctor.java:1)
      	at com.gemstone.gemfire.internal.cache.execute.LocalResultCollectorImpl.addResult(LocalResultCollectorImpl.java:76)
      	at com.gemstone.gemfire.internal.cache.execute.PartitionedRegionFunctionResultSender.lastResult(PartitionedRegionFuncti
      onResultSender.java:208)
      	at com.gemstone.gemfire.internal.cache.execute.PartitionedRegionFunctionResultSender.lastResult(PartitionedRegionFuncti
      onResultSender.java:166)
      	at com.gemstone.gemfire.internal.cache.execute.PartitionedRegionFunctionResultSender.sendException(PartitionedRegionFun
      ctionResultSender.java:301)
      	at com.gemstone.gemfire.cache.lucene.internal.distributed.LuceneFunction.execute(LuceneFunction.java:52)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ashvin Ashvin Agrawal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: