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/04 03:39:10 UTC
[jira] [Assigned] (GEODE-625) A function's ResultCollector throws
ClassCastException when ResultSender.sendException is invoked
[ https://issues.apache.org/jira/browse/GEODE-625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashvin reassigned GEODE-625:
----------------------------
Assignee: Ashvin
> A function's ResultCollector throws ClassCastException when 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
> Assignee: Ashvin
>
> For e.g. If LuceneFunction.execute invokes resultSender.sendException, the following error is generated.
> {code}
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)