java.lang.NoSuchMethodError: jdk.vm.ci.hotspot.CompilerToVM.asResolvedJavaMethod(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethodImpl; at jdk.vm.ci.hotspot.CompilerToVMHelper.asResolvedJavaMethod(jdk.vm.ci@9-ea/CompilerToVMHelper.java:177)

JDK Bug System | Zoltan Majo | 2 months ago
  1. 0

    The test jvmci/compilerToVM/MaterializeVirtualObjectTest.java fails if run with -XX:-EliminateAllocations. I managed to reproduce the failure on linux-x64 with an early-access jdk9-b138 build. Here is the relevant output: java.lang.NoSuchMethodError: jdk.vm.ci.hotspot.CompilerToVM.asResolvedJavaMethod(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethodImpl; at jdk.vm.ci.hotspot.CompilerToVMHelper.asResolvedJavaMethod(jdk.vm.ci@9-ea/CompilerToVMHelper.java:177) at compiler.jvmci.common.CTVMUtilities.getResolvedMethod(CTVMUtilities.java:60) at compiler.jvmci.common.CTVMUtilities.getResolvedMethod(CTVMUtilities.java:65) at compiler.jvmci.compilerToVM.MaterializeVirtualObjectTest.<clinit>(MaterializeVirtualObjectTest.java:88) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:535) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) STATUS:Failed.`main' threw exception: java.lang.NoSuchMethodError: jdk.vm.ci.hotspot.CompilerToVM.asResolvedJavaMethod(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethodImpl;

    JDK Bug System | 2 months ago | Zoltan Majo
    java.lang.NoSuchMethodError: jdk.vm.ci.hotspot.CompilerToVM.asResolvedJavaMethod(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethodImpl; at jdk.vm.ci.hotspot.CompilerToVMHelper.asResolvedJavaMethod(jdk.vm.ci@9-ea/CompilerToVMHelper.java:177)
  2. 0

    ScalaTemplateCompiler error associated with scala.runtime.RichChar conversion when use sbt directly

    Google Groups | 5 years ago | hotstong
    java.lang.NoSuchMethodError: scala.runtime.ScalaRunTime$.ensureAccessible(Ljava/ lang/reflect/Method;)Ljava/lang/reflect/Method;
  3. 0

    junit tests fail with NoSuchMethodError BridgeMethodResolver.isVisibilityBridgeMethodPair

    Stack Overflow | 5 years ago | Kevin
    java.lang.NoSuchMethodError: org.springframework.core.BridgeMethodResolver.isVisibilityBridgeMethodPair(Ljava/lang/reflect/Method;Ljava/lang/reflect/Method;)Z
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Adding crashes application

    Stack Overflow | 2 years ago | Dhiv
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: java.lang.reflect.Constructor.getParameters()[Ljava/lang/reflect/Parameter;
  6. 0

    [JIRA] (JENKINS-39689) Docker-java shaded jar should not embed an old version of tiger_types (used by Stapler)

    Google Groups | 4 weeks ago | bat...@batmat.net (JIRA)
    java.lang.NoSuchMethodError: org.jvnet.tiger_types.Types.bind(Ljava/lang/reflect/Type;Ljava/lang/reflect/GenericDeclaration;Ljava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;

    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.NoSuchMethodError

      jdk.vm.ci.hotspot.CompilerToVM.asResolvedJavaMethod(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethodImpl; at jdk.vm.ci.hotspot.CompilerToVMHelper.asResolvedJavaMethod(jdk.vm.ci@9-ea/CompilerToVMHelper.java:177)

      at compiler.jvmci.common.CTVMUtilities.getResolvedMethod()
    2. compiler.jvmci.common
      CTVMUtilities.getResolvedMethod
      1. compiler.jvmci.common.CTVMUtilities.getResolvedMethod(CTVMUtilities.java:60)
      2. compiler.jvmci.common.CTVMUtilities.getResolvedMethod(CTVMUtilities.java:65)
      2 frames
    3. compiler.jvmci.compilerToVM
      MaterializeVirtualObjectTest.<clinit>
      1. compiler.jvmci.compilerToVM.MaterializeVirtualObjectTest.<clinit>(MaterializeVirtualObjectTest.java:88)
      1 frame