You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2016/01/08 05:40:43 UTC

[jira] [Updated] (GEODE-187) AsyncEventQueue with Event Filter test log shows "IllegalStateException"

     [ https://issues.apache.org/jira/browse/GEODE-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anthony Baker updated GEODE-187:
--------------------------------
    Fix Version/s: 1.0.0-alpha1

> AsyncEventQueue with Event Filter test log shows "IllegalStateException"
> ------------------------------------------------------------------------
>
>                 Key: GEODE-187
>                 URL: https://issues.apache.org/jira/browse/GEODE-187
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Kishor Bachhav
>            Assignee: Kishor Bachhav
>             Fix For: 1.0.0-alpha1
>
>
> AbstractGatewaySenderEventProcessor#processqueue iterates events to get filtered. While iterating 2 consditions are checked and event is removed in thses both condition. for single itr.next() when itr.remove is called second time, it causes IllegalStateException.
> java.lang.IllegalStateException
>         at java.util.ArrayList$Itr.remove(ArrayList.java:844)
>         at com.gemstone.gemfire.internal.cache.wan.AbstractGatewaySenderEventProcessor.processQueue(AbstractGatewaySenderEventProcessor.java:509)
>       
> We need to continue with other event if the event is already removed



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