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

GenerateFlowFile throws NPE in FileSystemRepository

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.3.0
    • Core Framework
    • None
    • Ubuntu Linux 14.04.5 LTS, x86, NiFi 1.2.0-SNAPSHOT, Java 1.8.0_102

    Description

      While volume testing, GenerateFlowFile is randomly throwing NullPointerException during startup. The NPE occurs in FileSystemRepository.write() called from BufferedOutputStream.flushBuffer() and results in an Administrative Yield.

      When it happens, the bulletin shows up on the processors immediately after starting them. Starting them a second time will often succeed, but sometimes it takes a multiple retries. When the GenerateFlowFile processors are started for these tests, the graph is typically empty.

      Log entries for an example Thread are attached. This looks similar to NIFI-2551, but that is marked as being fixed in 1.0.0.

      Attachments

        1. genff-npe.log
          13 kB
          Joe Skora
        2. flow.xml
          22 kB
          Joe Skora
        3. priority.groovy
          0.6 kB
          Joe Skora

        Issue Links

          Activity

            People

              markap14 Mark Payne
              jskora Joe Skora
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: