You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Filippo Diotalevi (JIRA)" <ji...@apache.org> on 2009/06/19 09:31:07 UTC
[jira] Commented: (FELIX-1251) Looping NullPointerException if the
polled directory is removed after File Install registration
[ https://issues.apache.org/jira/browse/FELIX-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721679#action_12721679 ]
Filippo Diotalevi commented on FELIX-1251:
------------------------------------------
I applied the patch on my local copy and tested it. Works as expected and fix the issue.
> Looping NullPointerException if the polled directory is removed after File Install registration
> -----------------------------------------------------------------------------------------------
>
> Key: FELIX-1251
> URL: https://issues.apache.org/jira/browse/FELIX-1251
> Project: Felix
> Issue Type: Bug
> Components: File Install
> Affects Versions: fileinstall-1.0.0
> Environment: Windows Vista
> Reporter: Guido Spadotto
> Priority: Minor
> Attachments: patch-1251.txt
>
>
> If the directory being polled by File Install is removed while File Install is running,
> the method DirectoryWatcher.traverse will raise a NullPointerException
> when evaluating the condition for its "for" loop (the "list" variable will be null).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.