nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NIFI-1491) NPE error on startup because of file permission issues
Date Thu, 10 Mar 2016 20:15:41 GMT

    [ https://issues.apache.org/jira/browse/NIFI-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15189870#comment-15189870
] 

ASF GitHub Bot commented on NIFI-1491:
--------------------------------------

Github user JPercivall commented on the pull request:

    https://github.com/apache/nifi/pull/227#issuecomment-195028936
  
    @trkurc what was the result of your review?


> 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
>            Reporter: Matthew Clarke
>            Priority: Minor
>
>  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)

Mime
View raw message