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.

Solution: Deleting and recreating the Temp directory solves the problem.

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

  Applies to: NetBeans 6.x, 5.x
  Platforms: Win XP
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo