You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Otto Fowler (JIRA)" <ji...@apache.org> on 2018/06/06 18:33:00 UTC

[jira] [Commented] (NIFI-5274) ReplaceText can product StackOverflowError which causes admin yield

    [ https://issues.apache.org/jira/browse/NIFI-5274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16503720#comment-16503720 ] 

Otto Fowler commented on NIFI-5274:
-----------------------------------

how does this happen?  Did I introduce this?

> ReplaceText can product StackOverflowError which causes admin yield
> -------------------------------------------------------------------
>
>                 Key: NIFI-5274
>                 URL: https://issues.apache.org/jira/browse/NIFI-5274
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.6.0
>            Reporter: Michael Moser
>            Assignee: Michael Moser
>            Priority: Major
>
> Regex Replace mode can easily produce StackOverflowError. Certain regular expressions are implemented using recursion, which when used on large input text can cause StackOverflowError.  This causes the ReplaceText processor to rollback and admin yield, which causes the input flowfile to get stuck in the input queue.
> We should be able to catch this condition and route the flowfile to failure.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)