Hi,

After switching to Java 8 , I'm getting the bellow error.
  

 [echo] ValidatorBLTest.java
[jacoco:coverage] Enhancing junit with coverage
    [junit] Exception in thread "main" 
java.lang.reflect.InvocationTargetException
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    [junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:497)
    [junit]     at 
sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
    [junit]     at 
sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
    [junit] Caused by: java.lang.RuntimeException: Class java/util/UUID could 
not be instrumented.
    [junit]     at 
org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138)
    [junit]     at 
org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:99)
    [junit]     at 
org.jacoco.agent.rt.internal_9dd1198.PreMain.createRuntime(PreMain.java:55)
    [junit]     at 
org.jacoco.agent.rt.internal_9dd1198.PreMain.premain(PreMain.java:47)
    [junit]     ... 6 more
    [junit] Caused by: java.lang.NoSuchFieldException: $jacocoAccess
    [junit]     at java.lang.Class.getField(Class.java:1703)
    [junit]     at 
org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:136)
    [junit]     ... 9 more
    [junit] FATAL ERROR in native method: processing of -javaagent failed
    [junit] Running x.y.z.bl.ValidatorBLTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    [junit] Test x.y.z.bl.ValidatorBLTest FAILED (crashed)


Please advice ,
Thanks in advance 

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/ce75af0e-8fa5-4f7a-be97-5d8d95557032%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to