You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2010/12/08 20:19:01 UTC

[jira] Resolved: (QPID-1803) FileUtils recursive delete may throw NullPointerException if files are deleted outside of the JVM

     [ https://issues.apache.org/jira/browse/QPID-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell resolved QPID-1803.
----------------------------------

    Resolution: Fixed

> FileUtils recursive delete may throw NullPointerException if files are deleted outside of the JVM
> -------------------------------------------------------------------------------------------------
>
>                 Key: QPID-1803
>                 URL: https://issues.apache.org/jira/browse/QPID-1803
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Common
>    Affects Versions: M4
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>            Priority: Minor
>             Fix For: 0.5
>
>
> Summary:
> When performing a recursive delete if a file that java has not yet processed is deleted then a NPE will be thrown an example of this can be seen when the FtD code is clearing the queueBacking store and the user is performing an rm -rf of the backing store at the same time:
> java.lang.NullPointerException
>         at org.apache.qpid.util.FileUtils.delete(FileUtils.java:253)
>         at org.apache.qpid.util.FileUtils.delete(FileUtils.java:255)
>         at org.apache.qpid.util.FileUtils.delete(FileUtils.java:255)
>         at org.apache.qpid.server.queue.FileQueueBackingStoreFactory.setFlowToDisk(FileQueueBackingStoreFactory.java:87)
>         at org.apache.qpid.server.queue.FileQueueBackingStoreFactory.configure(FileQueueBackingStoreFactory.java:41)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org