On 10/11/2011 10:53 AM, Joe Pluta wrote:
How about retrying the delete? Which returns me to my question: how
long between the time you create the IFSFile object and you try to
delete it? If simply retrying the delete doesn't work, could you
throw away the object, create a new one and try to delete the new
one?

The IFSFile object had been accessed moments before.

I thought about adding retry logic ... but, unfortunately, this is a late change for a release we're trying to get out the door. Catching the npe, and leaving some files in the /tmp directory, is lower risk than trying to implement retry logic. Especially since I can't reproduce the problem in a controlled fashion.

Thanks for the suggestions.

david



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.