You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2013/07/08 13:15:48 UTC

[jira] [Resolved] (SLING-2946) IOOBE in TopicRoundRobinJobQueue

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

Carsten Ziegeler resolved SLING-2946.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: Extensions Event 3.2.0

Thanks for your patch, it's applied
                
> IOOBE in TopicRoundRobinJobQueue
> --------------------------------
>
>                 Key: SLING-2946
>                 URL: https://issues.apache.org/jira/browse/SLING-2946
>             Project: Sling
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: Extensions Event 3.1.4
>            Reporter: Timothee Maret
>            Assignee: Carsten Ziegeler
>             Fix For: Extensions Event 3.2.0
>
>         Attachments: SLING-2946.patch
>
>
> The TopicRoundRobinJobQueue throws IndexOutOfBoundsException which fill the logs.
> The reason is that the 'topicIndex' is never decreased (or set to 0) when the 'topics' array list can be decreased in two methods:
> * clear
> * removeAllJobs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira