java.lang.reflect.InvocationTargetException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Jacoco coverage issue after changing to Java 8
    via by ami...@amdocs.com,
  • GitHub comment 10#78063458
    via GitHub by Imagle
    ,
  • Why Gradle build fail with java8?
    via by Unknown author,
  • jacoco-0.7.1:Jacoco does not support IBM JDK 1.7
    via by ign...@gmail.com,
  • Class java/util/UUID could not be instrumented
    via by katheri...@gmail.com,
    • java.lang.reflect.InvocationTargetException 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:483) at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386) at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401) Caused by: java.lang.RuntimeException: Class java/util/UUID could not be instrumented. at org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138) at org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:99) at org.jacoco.agent.rt.internal_9dd1198.PreMain.createRuntime(PreMain.java:55) at org.jacoco.agent.rt.internal_9dd1198.PreMain.premain(PreMain.java:47) ... 6 more Caused by: java.lang.NoSuchFieldException: $jacocoAccess at java.lang.Class.getField(Class.java:1690) at org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:136) ... 9 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Nikolay Rybak
    Nikolay Rybak18 times, last one,
    Aravind
    Aravind2 times, last one,
    Unknown User
    Unknown User1 times, last one,
    jokester
    jokester1 times, last one,
    41 more bugmates