You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2009/04/10 23:07:14 UTC
[jira] Created: (QPID-1803) FileUtils recursive delete may throw
NullPointerException if files are deleted outside of the JVM
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
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
[jira] Assigned: (QPID-1803) FileUtils recursive delete may throw
NullPointerException if files are deleted outside of the JVM
Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Ritchie reassigned QPID-1803:
------------------------------------
Assignee: Martin Ritchie
> 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
[jira] Updated: (QPID-1803) FileUtils recursive delete may throw
NullPointerException if files are deleted outside of the JVM
Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Ritchie updated QPID-1803:
---------------------------------
Status: Ready To Review (was: In Progress)
> 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