[
https://issues.apache.org/jira/browse/UIMA-6168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17110545#comment-17110545
]
Richard Eckart de Castilho commented on UIMA-6168:
--------------------------------------------------
I think we have a bug in this fix. I have submitted a PR that fixes it for me
in the context where I discovered the problem, but unfortunately, I don't have
a good idea for a unit test to capture the specific problem.
Btw. [git bisect|https://git-scm.com/docs/git-bisect] rocks ;)
> protect indexes fails when there were no indexed fs that needed protecting
> --------------------------------------------------------------------------
>
> Key: UIMA-6168
> URL: https://issues.apache.org/jira/browse/UIMA-6168
> Project: UIMA
> Issue Type: Bug
> Components: Core Java Framework
> Affects Versions: 2.10.4SDK, 3.1.1SDK
> Reporter: Marshall Schor
> Assignee: Richard Eckart de Castilho
> Priority: Major
> Fix For: 3.2.0SDK, 2.10.5SDK
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> While testing Annotation trim (UIMA-6152) it had cases where protect indexes
> was used with no indexed items - and exposed an index out-of-bounds error in
> the actions taken for this case.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)