You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Ashvin (JIRA)" <ji...@apache.org> on 2015/12/03 23:58:10 UTC

[jira] [Created] (GEODE-625) A function ResultCollector throws ClassCastException whe ResultSender.sendException is invoked

Ashvin created GEODE-625:
----------------------------

             Summary: A function ResultCollector throws ClassCastException whe ResultSender.sendException is invoked
                 Key: GEODE-625
                 URL: https://issues.apache.org/jira/browse/GEODE-625
             Project: Geode
          Issue Type: Bug
          Components: functions
            Reporter: Ashvin


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)
```





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