commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <>
Subject [jira] [Commented] (JCI-68) FilesystemAlterationMonitor NullPointerException when directory not readable
Date Mon, 19 Aug 2013 10:15:49 GMT


Emmanuel Bourg commented on JCI-68:

Thank you for the report Jan.

We'll have to check if the FileAlterationMonitor of commons-io is also affected by this issue.

Here is the stacktrace:

Exception in thread "Thread-1" java.lang.NullPointerException
        at org.apache.commons.jci.monitor.FilesystemAlterationObserverImpl$MonitorFileImpl.listFiles(
        at org.apache.commons.jci.monitor.FilesystemAlterationObserverImpl$Entry.compareChilds(
        at org.apache.commons.jci.monitor.FilesystemAlterationObserverImpl$Entry.needsToBeDeleted(
        at org.apache.commons.jci.monitor.FilesystemAlterationObserverImpl.checkEntries(
        at org.apache.commons.jci.monitor.FilesystemAlterationObserverImpl.checkAndNotify(

> FilesystemAlterationMonitor NullPointerException when directory not readable
> ----------------------------------------------------------------------------
>                 Key: JCI-68
>                 URL:
>             Project: Commons JCI
>          Issue Type: Bug
>          Components: fam
>    Affects Versions: 1.1
>         Environment: Linux
>            Reporter: Jan
>              Labels: fam, permissions
>             Fix For: 1.1
>         Attachments:
> When one of the directories monitored by the FilesystemAlterationMonitor is not readable
by the proess, the monitoring crashes with a NullPointerException

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message