My first exception!

Error occurred during initialization of VM
java.lang.ExceptionInInitializerError
        at java.security.SecureClassLoader.<clinit>(SecureClassLoader.java:55)
        at sun.misc.Launcher.<init>(Launcher.java:71)
        at sun.misc.Launcher.<clinit>(Launcher.java:59)
        at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1322)
        at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1304)
Caused by: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
        at sun.security.util.Debug.<clinit>(Debug.java:45)
        at java.security.SecureClassLoader.<clinit>(SecureClassLoader.java:55)
        at sun.misc.Launcher.<init>(Launcher.java:71)
        at sun.misc.Launcher.<clinit>(Launcher.java:59)
        at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1322)
        at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1304)

4 thoughts on “

  1. How many bytecodes? I think you’ve managed a different error than my usual ones as I don’t think I’ve gotten this one during bringup. I’ve certainly had my share of index out of bounds though.

  2. I messed up the bit where native oop-returning methods returned NULL. It left the mirror handle in _oop_temp and ended up returning that, so instead of a null string it was getting the mirror.

    And that was at 145k though I passed 240k now :)

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.