When you get this kind of error, it's a bug in the JVM. Usually the quickest way to fix it is to run under a different version of
Java.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.