[
https://issues.apache.org/jira/browse/UIMA-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13189143#comment-13189143
]
Marshall Schor commented on UIMA-2347:
--------------------------------------
You might already be thinking this, but just in case: if possible, it would be
better to "hide" these kinds of details from APIs that users use - making the
underlying implementation "just work"..
> StackOverflowError by greedy TextMarker rule elements
> -----------------------------------------------------
>
> Key: UIMA-2347
> URL: https://issues.apache.org/jira/browse/UIMA-2347
> Project: UIMA
> Issue Type: Bug
> Components: TextMarker
> Reporter: Peter Klügl
> Assignee: Peter Klügl
>
> The new implementation of the TextMarker rule inference is now based on
> recursion. Greedy rule elements continue their match on additional
> annotations therefore with a call of continueMatch(). This causes a quite big
> call stack for rules like ANY+ on large documents. Investigate the error.
> Maybe introduce a new method continueOwnMatch that is based on a loop.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira