Ok, I missed the attachment. I'll add the tracking of handles/files to
figure out what is going on. Yes, the error reporting on this issue is
terrible.
Mladen Turk wrote:
What I mean, there was no detailed exception message,
because the JVM is stupid in that area:
... in handleRead:
if (h == INVALID_HANDLE_VALUE) {
return -1;
}
Later it calls GetLastError() in readBytes if
handleError returns -1, and that is always 0 (no error)
and the thrown is "Read error".
Not sure how get the filename that is problematic, but
that's for you to find thought ;)
Cheers,
Mladen.