[
https://issues.apache.org/jira/browse/NIFI-3141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15714882#comment-15714882
]
ASF GitHub Bot commented on NIFI-3141:
--------------------------------------
Github user olegz commented on the issue:
https://github.com/apache/nifi/pull/1289
Reviewing. . .
> TailFile failed with ArrayIndexOutOfBoundsException after updating NiFi to
> 1.1.0
> --------------------------------------------------------------------------------
>
> Key: NIFI-3141
> URL: https://issues.apache.org/jira/browse/NIFI-3141
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.1.0
> Reporter: Koji Kawamura
> Assignee: Koji Kawamura
> Attachments: NiFi 1.0.0 TailFile status.png, NiFi 1.1.0 TailFile
> status.png
>
>
> TailFile with NiFi 1.0.0 or earlier only handles single file. So it doesn't
> have index in state key name. But the updated TailFile expects stored state
> key has index in it, tried to extract the index and failed.
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
> at
> org.apache.nifi.processors.standard.TailFile.initStates(TailFile.java:365)
> ~[na:na]
> at
> org.apache.nifi.processors.standard.TailFile.recoverState(TailFile.java:348)
> ~[na:na]
> ... 16 common frames omitted
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)