java.lang.NoClassDefFoundError: java/lang/invoke/DYNGuardWithTestHandle0

Stack Overflow | shijie xu | 5 months ago
  1. 0

    Load byte array as a class in Java system packages

    Stack Overflow | 5 months ago | shijie xu
    java.lang.NoClassDefFoundError: java/lang/invoke/DYNGuardWithTestHandle0
  2. 0

    GitHub comment 253#207642314

    GitHub | 8 months ago | JoshRosen
    java.lang.NoClassDefFoundError: java/lang/invoke/SerializedLambda
  3. 0

    vm/mlvm/cp/stress/classfmt/correctBootstrap fails with the following error: # Actual: /export/local/aurora/CommonData/TEST_JAVA_HOME/bin/java -client -Xcomp -client -XX:-TieredCompilation -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:+IgnoreUnrecognizedVMOptions -XX:-DoEscapeAnalysis -XX:+AggressiveOpts -Xpatch:java.base=/export/local/aurora/CommonData/vm/bin/classes/java.base vm.mlvm.share.ClassfileGeneratorTest -generator vm.mlvm.cp.share.GenManyIndyCorrectBootstrap ### TRACE 1: RNG seed = -7218227314503015004 (0x9bd3b4805306a5a4) # ERROR: Test caught an exception: # ERROR: java.lang.NoClassDefFoundError: java/lang/invoke/NewInvokeSpecialCallSite # ERROR: at Dummy.<clinit>(Unknown Source) # ERROR: at jdk.internal.misc.Unsafe.ensureClassInitialized0(java.base@9-internal/Native Method) # ERROR: at jdk.internal.misc.Unsafe.ensureClassInitialized(java.base@9-internal/Unsafe.java:975) # ERROR: at java.lang.invoke.DirectMethodHandle$EnsureInitialized.computeValue(java.base@9-internal/DirectMethodHandle.java:316) # ERROR: at java.lang.invoke.DirectMethodHandle$EnsureInitialized.computeValue(java.base@9-internal/DirectMethodHandle.java:313) # ERROR: at java.lang.ClassValue.getFromHashMap(java.base@9-internal/ClassValue.java:226) # ERROR: at java.lang.ClassValue.getFromBackup(java.base@9-internal/ClassValue.java:208) # ERROR: at java.lang.ClassValue.get(java.base@9-internal/ClassValue.java:114) # ERROR: at java.lang.invoke.DirectMethodHandle.checkInitialized(java.base@9-internal/DirectMethodHandle.java:337) # ERROR: at java.lang.invoke.DirectMethodHandle.ensureInitialized(java.base@9-internal/DirectMethodHandle.java:327) # ERROR: at java.lang.invoke.DirectMethodHandle.internalMemberNameEnsureInit(java.base@9-internal/DirectMethodHandle.java:277) # ERROR: at java.lang.invoke.MethodHandle.invokeWithArguments(java.base@9-internal/MethodHandle.java:637) # ERROR: at java.lang.invoke.MethodHandle.invokeWithArguments(java.base@9-internal/MethodHandle.java:659) # ERROR: at vm.mlvm.share.ClassfileGeneratorTest.run(ClassfileGeneratorTest.java:66) # ERROR: at vm.mlvm.share.MlvmTestExecutor.runMlvmTestInstance(MlvmTestExecutor.java:361) # ERROR: at vm.mlvm.share.MlvmTestExecutor.runMlvmTest(MlvmTestExecutor.java:305) # ERROR: at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:222) # ERROR: at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:164) # ERROR: at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:135) # ERROR: at vm.mlvm.share.MlvmTest.launch(MlvmTest.java:312) # ERROR: at vm.mlvm.share.ClassfileGeneratorTest.main(ClassfileGeneratorTest.java:72) # ERROR: Caused by: java.lang.ClassNotFoundException: java.lang.invoke.NewInvokeSpecialCallSite # ERROR: at java.lang.ClassLoader.findClass(java.base@9-internal/ClassLoader.java:660) # ERROR: at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:486) # ERROR: at vm.mlvm.share.CustomClassLoaders$1.loadClass(CustomClassLoaders.java:17) # ERROR: at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419) # ERROR: ... 21 more

    JDK Bug System | 7 months ago | Vladimir Ivanov
    java.lang.NoClassDefFoundError: java/lang/invoke/NewInvokeSpecialCallSite
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot run BEA WebLogic 8.1 SP 3 with JDK 1.6

    Oracle Community | 8 years ago | 698395
    java.lang.NoClassDefFoundError: java/lang/StringBuilder
  6. 0

    Exception in thread "Minecraft main thread" java.lang.NoClassDefFoundError

    minecraftforge.net | 11 months ago
    java.lang.NoClassDefFoundError: java/lang/ReflectiveOperationException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      java/lang/invoke/DYNGuardWithTestHandle0

      at java.lang.ClassLoader.defineClassImpl()
    2. Java RT
      ByteCodeClassLoader.run
      1. java.lang.ClassLoader.defineClassImpl(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:346)
      3. java.lang.ClassLoader.defineClass(ClassLoader.java:283)
      4. java.lang.invoke.ByteCodeClassLoader.load(ByteCodeClassLoader.java:83)
      5. java.lang.invoke.ByteCodeClassLoader.run(ByteCodeClassLoader.java:54)
      5 frames