Seems to me it would be easier just to see if your program throws the same error when you tell it to specifically look at one of those files. I really doubt that would be the problem. I'm not on your...
Type: Posts; User: KevinWorkman
Seems to me it would be easier just to see if your program throws the same error when you tell it to specifically look at one of those files. I really doubt that would be the problem. I'm not on your...
That's probably not what you should be doing. Instead, you should attempt to understand why those errors are occurring, as it probably indicates a problem with your logic.
Okay, so what does that mean? What is null?
Also, you should check out the File API to understand what can be returned from the functions you're using: Java Platform SE 6
And what is being accessed on that line? What is its value?
Recommended reading: http://www.javaprogrammingforums.com/blogs/copeg/5-debugging-system-out-println.html
You didn't really answer my questions. What is the stack trace? What line does the error occur on? What exactly is it trying to access?
What is the full stack trace? What line doe the error occur on? What exactly is it trying to access?