java.lang.NoClassDefFoundError: Could not initialize class vm.share.UnsafeAccess [2016-08-13T05:02:26.61] at vm.mlvm.anonloader.share.StressClassLoadingTest$1.run(StressClassLoadingTest.java:140)

JDK Bug System | Joseph Provino | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [2016-08-13T05:02:26.57] ### TRACE 1: If the JVM crashes then the class file causing the crash is saved as *_AnonkTestee01.class [2016-08-13T05:02:26.61] Exception in thread "Thread-827" Exception in thread "Thread-782" Exception in thread "Thread-708" Exception in thread "Thread-769" Exception in thread "Thread-765" Exception in thread "Thread-891" Exception in thread "Thread-823" Exception in thread "Thread-773" Exception in thread "Thread-841" Exception in thread "Thread-776" Exception in thread "Thread-748" Exception in thread "Thread-793" Exception in thread "Thread-695" Exception in thread "Thread-698" Exception in thread "Thread-835" Exception in thread "Thread-746" Exception in thread "Thread-811" Exception in thread "Thread-837" Exception in thread "Thread-687" Exception in thread "Thread-660" Exception in thread "Thread-883" Exception in thread "Thread-781" Exception in thread "Thread-767" Exception in thread "Thread-850" Exception in thread "Thread-735" Exception in thread "Thread-700" Exception in thread "Thread-683" Exception in thread "Thread-728" Exception in thread "Thread-713" Exception in thread "Thread-690" java.lang.NoClassDefFoundError: Could not initialize class vm.share.UnsafeAccess [2016-08-13T05:02:26.61] at vm.mlvm.anonloader.share.StressClassLoadingTest$1.run(StressClassLoadingTest.java:140) [2016-08-13T05:02:26.61] java.lang.NoClassDefFoundError: Could not initialize class vm.share.UnsafeAccess [2016-08-13T05:02:26.61] at vm.mlvm.anonloader.share.StressClassLoadingTest$1.run(StressClassLoadingTest.java:140) [2016-08-13T05:02:26.61] java.lang.NoClassDefFoundError: Could not initialize class vm.share.UnsafeAccess [2016-08-13T05:02:26.61] at vm.mlvm.anonloader.share.StressClassLoadingTest$1.run(StressClassLoadingTest.java:140) [2016-08-13T05:02:26.61] java.lang.IllegalAccessError: class vm.share.UnsafeAccess (in unnamed module @0x5a7aa) cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @0x5a7aa [2016-08-13T05:02:26.61] at vm.share.UnsafeAccess.<clinit>(UnsafeAccess.java:17) [2016-08-13T05:02:26.61] at vm.mlvm.anonloader.share.StressClassLoadingTest$1.run(StressClassLoadingTest.java:140) [2016-08-13T05:02:26.61] Exception in thread "Thread-693" java.lang.NoClassDefFoundError: Could not initialize class vm.share.UnsafeAccess [2016-08-13T05:02:26.61] at vm.mlvm.anonloader.share.StressClassLoadingTest$1.run(StressClassLoadingTest.java:140) [2016-08-13T05:02:26.61] java.lang.NoClassDefFoundError: Could not initialize class vm.share.UnsafeAccess

    JDK Bug System | 7 months ago | Joseph Provino
    java.lang.NoClassDefFoundError: Could not initialize class vm.share.UnsafeAccess [2016-08-13T05:02:26.61] at vm.mlvm.anonloader.share.StressClassLoadingTest$1.run(StressClassLoadingTest.java:140)

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class vm.share.UnsafeAccess [2016-08-13T05:02:26.61] at vm.mlvm.anonloader.share.StressClassLoadingTest$1.run(StressClassLoadingTest.java:140)

      at vm.mlvm.anonloader.share.StressClassLoadingTest$1.run()
    2. vm.mlvm.anonloader
      StressClassLoadingTest$1.run
      1. vm.mlvm.anonloader.share.StressClassLoadingTest$1.run(StressClassLoadingTest.java:140)
      2. vm.mlvm.anonloader.share.StressClassLoadingTest$1.run(StressClassLoadingTest.java:140)
      2 frames