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

Adding nar's to auto load nar directory unreadable by user running the nifi jvm fails to start nifi

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.17.0
    • Extensions
    • None
    • NiFi 1.9

    Description

      If nar's are added to the extensions directory while NiFi is not running and those nar's do not have read permissions by the user set to run nifi jvm, nifi fails to start up and throws NPE

       

      2020-06-15 13:34:16,988 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down. java.lang.NullPointerException: null at org.apache.nifi.documentation.DocGenerator.generate(DocGenerator.java:62) at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:932) at org.apache.nifi.NiFi.<init>(NiFi.java:158) at org.apache.nifi.NiFi.<init>(NiFi.java:72) at org.apache.nifi.NiFi.main(NiFi.java:297) 2020-06-15 13:34:16,988 INFO [Thread-1] org.apache.nifi.NiFi Initiating shutdown of Jetty web server... 2020-06-15 13:34:16,989 INFO [Thread-1] org.apache.nifi.NiFi Jetty web server shutdown completed (nicely or otherwise).
      

      Attachments

        Issue Links

          Activity

            People

              sabonyi Nandor Soma Abonyi
              digitalplumber Juan C. Sequeiros
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m