Hi,

Could you please post output of "java -version" ? And describe a bit more 
application under measurement ?


On Wednesday, May 4, 2016 at 4:58:00 PM UTC+2, Diego Bosin wrote:
>
> Hi, 
>
> I have this issue with jdk1.8.0_45 and jacoco 0.7.5 and 0.7.6. If I 
> understood well, this was solved from jacoco 0.7.0 (
> https://github.com/jacoco/jacoco/issues/74). 
>
> The stack is the following:
>
> Exception in thread "main" 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:497)
>
> 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_b0d6a23.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:139)
>
> at 
> org.jacoco.agent.rt.internal_b0d6a23.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:100)
>
> at 
> org.jacoco.agent.rt.internal_b0d6a23.PreMain.createRuntime(PreMain.java:55)
>
> at org.jacoco.agent.rt.internal_b0d6a23.PreMain.premain(PreMain.java:47)
>
> ... 6 more
>
> Caused by: java.lang.NoSuchFieldException: $jacocoAccess
>
> at java.lang.Class.getField(Class.java:1703)
>
> at 
> org.jacoco.agent.rt.internal_b0d6a23.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:137)
>
> ... 9 more
>
> FATAL ERROR in native method: processing of -javaagent failed
>
>
> I'm configuring JAVA_OPTS in this way:
>
> export JAVA_OPTS="
> -javaagent:/tmp/jacoco/lib/jacocoagent.jar=output=tcpserver,address=*,port=6300,includes=*"
>
> Any idea to solve this?
>
> Thanks!
>
 

-- 
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/f7ce97d6-d7d6-4613-b9e4-98d2dc51257f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to