You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Juan C. Sequeiros (Jira)" <ji...@apache.org> on 2020/06/15 17:51:00 UTC

[jira] [Created] (NIFI-7535) Adding nar's to extensions directory unreadable by user running the nifi jvm fails to start nifi

Juan C. Sequeiros created NIFI-7535:
---------------------------------------

             Summary: Adding nar's to extensions directory unreadable by user running the nifi jvm fails to start nifi
                 Key: NIFI-7535
                 URL: https://issues.apache.org/jira/browse/NIFI-7535
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
         Environment: NiFi 1.9
            Reporter: Juan C. Sequeiros


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

 
{code:java}
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).
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)