You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/08/05 09:35:04 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14654951#comment-14654951 ] 

ASF subversion and git services commented on GEODE-187:
-------------------------------------------------------

Commit 01145b8e9eeec8d7fdf8e6fed500ff54021ab609 in incubator-geode's branch refs/heads/develop from kbachhav
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=01145b8 ]

GEODE-187:AsyncEventQueue with Event Filter test log shows "IllegalStateException"
 -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.
 -Added 'continue' after first itr.remove is called


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