Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-3141

TailFile failed with ArrayIndexOutOfBoundsException after updating NiFi to 1.1.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • None
    • None

    Description

      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.

      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
      

      Attachments

        1. NiFi 1.0.0 TailFile status.png
          24 kB
          Koji Kawamura
        2. NiFi 1.1.0 TailFile status.png
          28 kB
          Koji Kawamura

        Issue Links

          Activity

            People

              ijokarumawak Koji Kawamura
              ijokarumawak Koji Kawamura
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: