On 10/11/2011 11:15 AM, Dan Kimmel wrote:
Are you running this on a multiprocessor machine? Just because this
works 99.99% of the time, it sounds like the kind of multi-threading
error I heard so much about at JavaOne last week.

While it is a multi-processor machine (PC running XP), the creation of the IFSFILE object (not the ifs file itself) and the delete is happening on the same thread.

Try marking the variable that holds the reference to your IFSFile
object "volatile". Marking it so changes the JVM memory model
contract.

My gut says that's over complicating it ... I'm pretty sure this is a problem in jt400.

John E thinks that the problem is occurring because fd_.server_ is null. This probably means that the server was disconnect when isDirectory() was called, and the exception was being eaten.

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.