Any way to correct it? It happens about once or more times a week. I am no computer expert, the only in depth programming knowledge I have is Basic Apple II, long ago.
Sounds like an error in the JVM. Install latest JRE and try it. I have seen JVMs fail like this due to hardware problems (memory). Anyway, first stop is get the latest JRE and see if the problem goes away.