JVM throwing Access Violation exceptions all over the place