java.lang.reflect.InvocationTargetException

java.com | 3 weeks ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    ----------messages:(3/215)---------- command: main -javaagent:NativeMethodPrefixAgent.jar NativeMethodPrefixApp reason: User specified action: run main/othervm -javaagent:NativeMethodPrefixAgent.jar NativeMethodPrefixApp elapsed time (seconds): 0.421 ----------System.out:(6/224)---------- Premain tr1: Retransforming java/lang/Runtime tr0: Retransforming java/lang/Runtime Error occurred during initialization of VM java.lang.NoClassDefFoundError: Could not initialize class java.lang.invoke.MethodHandleNatives ----------System.err:(59/4582)---------- ERROR: Injection failure: java.lang.InternalError: java.lang.NoSuchMethodException: no such method: java.lang.invoke.MethodHandle.linkToStatic(MemberName)Object/invokeStatic java.lang.InternalError: java.lang.NoSuchMethodException: no such method: java.lang.invoke.MethodHandle.linkToStatic(MemberName)Object/invokeStatic at java.lang.invoke.MethodHandleStatics.newInternalError(MethodHandleStatics.java:120) at java.lang.invoke.DirectMethodHandle.makePreparedLambdaForm(DirectMethodHandle.java:214) at java.lang.invoke.DirectMethodHandle.preparedLambdaForm(DirectMethodHandle.java:188) at java.lang.invoke.DirectMethodHandle.preparedLambdaForm(DirectMethodHandle.java:177) at java.lang.invoke.DirectMethodHandle.make(DirectMethodHandle.java:84) at java.lang.invoke.MethodHandles$Lookup.getDirectMethodCommon(MethodHandles.java:1655) at java.lang.invoke.MethodHandles$Lookup.getDirectMethod(MethodHandles.java:1600) at java.lang.invoke.MethodHandles$Lookup.findStatic(MethodHandles.java:777) at java.lang.invoke.MethodHandleImpl.findCollector(MethodHandleImpl.java:1223) at java.lang.invoke.MethodHandleImpl.makeArrays(MethodHandleImpl.java:1263) at java.lang.invoke.MethodHandleImpl.<clinit>(MethodHandleImpl.java:1271) at java.lang.invoke.MethodHandleNatives.<clinit>(MethodHandleNatives.java:80) at NativeMethodPrefixAgent$Tr.transform(NativeMethodPrefixAgent.java:66) at sun.instrument.TransformerManager.transform(TransformerManager.java:188) at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428) at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144) at NativeMethodPrefixAgent.premain(NativeMethodPrefixAgent.java:130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386) at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401) Caused by: java.lang.NoSuchMethodException: no such method: java.lang.invoke.MethodHandle.linkToStatic(MemberName)Object/invokeStatic at java.lang.invoke.MemberName.makeAccessException(MemberName.java:873) at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:990) at java.lang.invoke.DirectMethodHandle.makePreparedLambdaForm(DirectMethodHandle.java:212) ... 22 more Caused by: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandle.linkToStatic(Ljava/lang/invoke/MemberName;)Ljava/lang/Object; at java.lang.invoke.MethodHandleNatives.resolve(Native Method) at java.lang.invoke.MemberName$Factory.resolve(MemberName.java:962) at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:987) ... 23 more Caused by: java.lang.VirtualMachineError: out of space in CodeCache for method handle intrinsic ... 26 more Returning bad class file, to cause test failure ERROR: Injection failure: java.lang.ArrayIndexOutOfBoundsException: 6 java.lang.ArrayIndexOutOfBoundsException: 6 at jdk.internal.org.objectweb.asm.ClassReader.readShort(ClassReader.java:2355) at jdk.internal.org.objectweb.asm.ClassReader.<init>(ClassReader.java:198) at jdk.internal.org.objectweb.asm.ClassReader.<init>(ClassReader.java:182) at asmlib.Instrumentor.<init>(Instrumentor.java:99) at asmlib.Instrumentor.instrFor(Instrumentor.java:89) at NativeMethodPrefixAgent$Tr.transform(NativeMethodPrefixAgent.java:66) at sun.instrument.TransformerManager.transform(TransformerManager.java:188) at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428) at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144) at NativeMethodPrefixAgent.premain(NativeMethodPrefixAgent.java:130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386) at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401) Returning bad class file, to cause test failure

    JDK Bug System | 2 years ago | Yekaterina Kantserova
    java.lang.reflect.InvocationTargetException
  2. 0

    ----------messages:(3/215)---------- command: main -javaagent:NativeMethodPrefixAgent.jar NativeMethodPrefixApp reason: User specified action: run main/othervm -javaagent:NativeMethodPrefixAgent.jar NativeMethodPrefixApp elapsed time (seconds): 0.421 ----------System.out:(6/224)---------- Premain tr1: Retransforming java/lang/Runtime tr0: Retransforming java/lang/Runtime Error occurred during initialization of VM java.lang.NoClassDefFoundError: Could not initialize class java.lang.invoke.MethodHandleNatives ----------System.err:(59/4582)---------- ERROR: Injection failure: java.lang.InternalError: java.lang.NoSuchMethodException: no such method: java.lang.invoke.MethodHandle.linkToStatic(MemberName)Object/invokeStatic java.lang.InternalError: java.lang.NoSuchMethodException: no such method: java.lang.invoke.MethodHandle.linkToStatic(MemberName)Object/invokeStatic at java.lang.invoke.MethodHandleStatics.newInternalError(MethodHandleStatics.java:120) at java.lang.invoke.DirectMethodHandle.makePreparedLambdaForm(DirectMethodHandle.java:214) at java.lang.invoke.DirectMethodHandle.preparedLambdaForm(DirectMethodHandle.java:188) at java.lang.invoke.DirectMethodHandle.preparedLambdaForm(DirectMethodHandle.java:177) at java.lang.invoke.DirectMethodHandle.make(DirectMethodHandle.java:84) at java.lang.invoke.MethodHandles$Lookup.getDirectMethodCommon(MethodHandles.java:1655) at java.lang.invoke.MethodHandles$Lookup.getDirectMethod(MethodHandles.java:1600) at java.lang.invoke.MethodHandles$Lookup.findStatic(MethodHandles.java:777) at java.lang.invoke.MethodHandleImpl.findCollector(MethodHandleImpl.java:1223) at java.lang.invoke.MethodHandleImpl.makeArrays(MethodHandleImpl.java:1263) at java.lang.invoke.MethodHandleImpl.<clinit>(MethodHandleImpl.java:1271) at java.lang.invoke.MethodHandleNatives.<clinit>(MethodHandleNatives.java:80) at NativeMethodPrefixAgent$Tr.transform(NativeMethodPrefixAgent.java:66) at sun.instrument.TransformerManager.transform(TransformerManager.java:188) at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428) at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144) at NativeMethodPrefixAgent.premain(NativeMethodPrefixAgent.java:130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386) at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401) Caused by: java.lang.NoSuchMethodException: no such method: java.lang.invoke.MethodHandle.linkToStatic(MemberName)Object/invokeStatic at java.lang.invoke.MemberName.makeAccessException(MemberName.java:873) at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:990) at java.lang.invoke.DirectMethodHandle.makePreparedLambdaForm(DirectMethodHandle.java:212) ... 22 more Caused by: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandle.linkToStatic(Ljava/lang/invoke/MemberName;)Ljava/lang/Object; at java.lang.invoke.MethodHandleNatives.resolve(Native Method) at java.lang.invoke.MemberName$Factory.resolve(MemberName.java:962) at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:987) ... 23 more Caused by: java.lang.VirtualMachineError: out of space in CodeCache for method handle intrinsic ... 26 more Returning bad class file, to cause test failure ERROR: Injection failure: java.lang.ArrayIndexOutOfBoundsException: 6 java.lang.ArrayIndexOutOfBoundsException: 6 at jdk.internal.org.objectweb.asm.ClassReader.readShort(ClassReader.java:2355) at jdk.internal.org.objectweb.asm.ClassReader.<init>(ClassReader.java:198) at jdk.internal.org.objectweb.asm.ClassReader.<init>(ClassReader.java:182) at asmlib.Instrumentor.<init>(Instrumentor.java:99) at asmlib.Instrumentor.instrFor(Instrumentor.java:89) at NativeMethodPrefixAgent$Tr.transform(NativeMethodPrefixAgent.java:66) at sun.instrument.TransformerManager.transform(TransformerManager.java:188) at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428) at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144) at NativeMethodPrefixAgent.premain(NativeMethodPrefixAgent.java:130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386) at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401) Returning bad class file, to cause test failure

    JDK Bug System | 2 years ago | Yekaterina Kantserova
    java.lang.reflect.InvocationTargetException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

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

      out of space in CodeCache for method handle intrinsic

      at java.lang.invoke.MethodHandleNatives.resolve()
    2. Java RT
      MethodHandleNatives.<clinit>
      1. java.lang.invoke.MethodHandleNatives.resolve(Native Method)
      2. java.lang.invoke.MemberName$Factory.resolve(Unknown Source)
      3. java.lang.invoke.MemberName$Factory.resolveOrFail(Unknown Source)
      4. java.lang.invoke.DirectMethodHandle.makePreparedLambdaForm(Unknown Source)
      5. java.lang.invoke.DirectMethodHandle.preparedLambdaForm(Unknown Source)
      6. java.lang.invoke.DirectMethodHandle.preparedLambdaForm(Unknown Source)
      7. java.lang.invoke.DirectMethodHandle.make(Unknown Source)
      8. java.lang.invoke.MethodHandles$Lookup.getDirectMethodCommon(Unknown Source)
      9. java.lang.invoke.MethodHandles$Lookup.getDirectMethod(Unknown Source)
      10. java.lang.invoke.MethodHandles$Lookup.findStatic(Unknown Source)
      11. java.lang.invoke.MethodHandleImpl.findCollector(Unknown Source)
      12. java.lang.invoke.MethodHandleImpl.makeArrays(Unknown Source)
      13. java.lang.invoke.MethodHandleImpl.<clinit>(Unknown Source)
      14. java.lang.invoke.MethodHandleNatives.<clinit>(Unknown Source)
      14 frames
    3. com.sun.javafx
      PlatformImpl.startup
      1. com.sun.javafx.application.PlatformImpl.startup(Unknown Source)
      1 frame
    4. deploy.sqe.drivers
      FXUIDriver.premain
      1. deploy.sqe.drivers.FXUIDriver.premain(FXUIDriver.java:65)
      1 frame
    5. Java RT
      InstrumentationImpl.loadClassAndCallPremain
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      5. sun.instrument.InstrumentationImpl.loadClassAndStartAgent(Unknown Source)
      6. sun.instrument.InstrumentationImpl.loadClassAndCallPremain(Unknown Source)
      6 frames