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 agent not getting started with jdk 1.8u66
    via by Unknown author,
  • Why Gradle build fail with java8?
    via by Unknown author,
  • Jacoco coverage issue after changing to Java 8
    via by ami...@amdocs.com,
  • 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,
  • GitHub comment 10#78063458
    via GitHub by Imagle
    ,
  • Does not compile
    via GitHub by fabienrenaud
    ,
  • Does not compile
    via GitHub by fabienrenaud
    ,
    • java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(Unknown Source) at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(Unknown Source) Caused by: java.lang.RuntimeException: Class java/util/UUID could not be instrumented. at org.jacoco.agent.rt.internal_e5875b2.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:140) at org.jacoco.agent.rt.internal_e5875b2.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:101) at org.jacoco.agent.rt.internal_e5875b2.PreMain.createRuntime(PreMain.java:55) at org.jacoco.agent.rt.internal_e5875b2.PreMain.premain(PreMain.java:47) ... 6 more Caused by: java.lang.NoSuchFieldException: $jacocoAccess at java.lang.Class.getField(Unknown Source) at org.jacoco.agent.rt.internal_e5875b2.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138) ... 9 more

    Users with the same issue

    Nikolay Rybak
    18 times, last one,
    Unknown visitor1 times, last one,
    Aravind
    2 times, last one,
    Unknown User
    1 times, last one,
    jokester
    1 times, last one,
    41 more bugmates