geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashvin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GEODE-625) A function ResultCollector throws ClassCastException whe ResultSender.sendException is invoked
Date Thu, 03 Dec 2015 22:58:10 GMT
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)

Mime
View raw message