Re: An exception is thrown when I open some files in linux, however, this doesn't occurrs when I do the same in windows XP
Tuesday, November 11, 2008 10:24 PM
No, I doubt anyone can tell you why it's happening. However, you should add some diagnostics to the code. Check
file==null, file.exists(), file.isDirectory(), and file.canRead(). Print out the values to see if they match up with your expectations.