[
https://issues.apache.org/jira/browse/NIFI-7535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17552606#comment-17552606
]
ASF subversion and git services commented on NIFI-7535:
-------------------------------------------------------
Commit f99298f98e3b5a959e8a9d69c5d68316408a925d in nifi's branch
refs/heads/main from Nandor Soma Abonyi
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=f99298f98e ]
NIFI-7535 add detailed error message when .nar file is not readable
This closes #6056
Signed-off-by: Bence Simon <[email protected]>
> 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
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)