[
https://issues.apache.org/jira/browse/NIFI-7535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nandor Soma Abonyi reassigned NIFI-7535:
----------------------------------------
Assignee: Nandor Soma Abonyi
> Adding nar's to auto load nar 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
> Assignee: Nandor Soma Abonyi
> Priority: Major
>
> 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.20.7#820007)