Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
M4
-
None
Description
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)