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

Rare condition causes FileSystemRepository NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.0.0, 0.7.0
    • 1.0.0, 0.7.1
    • Core Framework
    • None

    Description

      In rare unpredictable cases when NiFi is processing a heavy load, we see FileSystemRepository throw a NullPointerException

      java.lang.NullPointerException
          at o.a.n.c.r.FileSystemRepository$2.write(FileSystemRepository.java:918) [nifi-framework-core-0.7.0.jar]
          at o.a.n.c.r.io.DisableOnCloseOutputStream.write(DisableOnCloseOutputStream.java:49)
          ....
          Suppressed: java.lang.NullPointerException
              at o.a.n.c.r.FileSystemRepository$2.flush(FileSystemRepository.java:934) [nifi-framework-core-0.7.0.jar]
              at o.a.n.c.r.io.DisableOnCloseOutputStream.close(DisableOnCloseOutputStream.java:68)
      

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              mosermw Michael W Moser
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: