[ https://issues.apache.org/jira/browse/NIFI-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15190420#comment-15190420 ]
ASF subversion and git services commented on NIFI-1491: ------------------------------------------------------- Commit 8f0116544ab80ed5a76a7665e9258bdfbeb4def2 in nifi's branch refs/heads/master from [~pvillard] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=8f01165 ] NIFI-1491 Deprecated existing method and added new one throwing eception Reviewed and amended (to add javadoc @deprecation link and to carry forward other deprecated methods) by Tony Kurc (tk...@apache.org). This closes #227 > NPE error on startup because of file permission issues > ------------------------------------------------------ > > Key: NIFI-1491 > URL: https://issues.apache.org/jira/browse/NIFI-1491 > Project: Apache NiFi > Issue Type: Bug > Components: Core Framework > Affects Versions: 0.4.1, 0.5.1 > Reporter: Matthew Clarke > Assignee: Tony Kurc > Priority: Minor > Fix For: 0.6.0 > > > A node that was part of a NiFi cluster would not start. It immediately > through this error in the app log: > 2016-02-08 15:26:46,617 DEBUG [main] org.apache.nifi.BootstrapListener > Awaiting response from Bootstrap... > 2016-02-08 15:26:46,629 INFO [main] org.apache.nifi.BootstrapListener > Successfully initiated communication with Bootstrap > 2016-02-08 15:26:46,635 ERROR [main] org.apache.nifi.NiFi Failure to launch > NiFi due to java.lang.NullPointerException > java.lang.NullPointerException: null > at org.apache.nifi.util.FileUtils.deleteFilesInDir(FileUtils.java:141) > ~[nifi-nar-utils-1.1.1.0-12.jar:1.1.1.0-12] > at org.apache.nifi.NiFi.<init>(NiFi.java:98) > ~[nifi-runtime-1.1.1.0-12.jar:1.1.1.0-12] > at org.apache.nifi.NiFi.main(NiFi.java:227) > ~[nifi-runtime-1.1.1.0-12.jar:1.1.1.0-12] > 2016-02-08 15:26:46,637 INFO [Thread-1] org.apache.nifi.NiFi Initiating > shutdown of Jetty web server... > 2016-02-08 15:26:46,638 INFO [Thread-1] org.apache.nifi.NiFi Jetty web server > shutdown completed (nicely or otherwise). > Turns out the problem was permission related to files in the NiFi work dir. > NiFi should present a better error to the user. -- This message was sent by Atlassian JIRA (v6.3.4#6332)