Juan C. Sequeiros created NIFI-7574:
---------------------------------------
Summary: NiFi fails to start if there are nar's
innifi.nar.library.autoload.directory directory not readable by the user
starting up the JVM
Key: NIFI-7574
URL: https://issues.apache.org/jira/browse/NIFI-7574
Project: Apache NiFi
Issue Type: Bug
Components: Extensions
Environment: I can replicate using Apache NiFi 1.9.0
Reporter: Juan C. Sequeiros
NiFi fails to start if there are nar's in "extensions" directory not readable
by the user starting up the JVM.
On 1.9.0 probably other versions too.
If I put nar's on directory configured on the nar auto load dir:
nifi.nar.library.autoload.directory
That are not readable by the user starting up the NiFi JVM, NiFi fails to start
if restarted with 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)