What to do when NetBeans fails on Win XP with "IllegalStateException: Out of bounds"?On some systems, Netbeans fails because it cannot write to the Temp directory
This is a problem with Windows, even though the directory seems to behave fine from Windows explorer.
If you have this problem, then Netbeans fails (e.g.) compilation with an IllegalStateException: Out of bounds. The real culprit can be found in the messages.log file where there are many informational exceptions: Cannot write to system temp directory
Solution: Deleting and recreating the Temp directory solves the problem.
Applies to: NetBeans 6.x, 5.x
Platforms: Win XP