Hi Evgeny,

In addition to what Luis said, the application is a rest API over grails 
2.4.2, which use an oracle db. Do you need any other details?

Thanks!

Diego.

El jueves, 5 de mayo de 2016, 12:13:11 (UTC-3), Luis Thur escribió:
>
> El miércoles, 4 de mayo de 2016, 20:37:45 (UTC-3), Evgeny Mandrikov 
>  escribió: 
> > 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! 
> >   
>
> Hi Evgeny! 
> Yes, the output for java -version is: 
>
> java version "1.8.0_45" 
> Java(TM) SE Runtime Environment (build 1.8.0_45-b14) 
> Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) 
>
> Thanks for your time.

-- 
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/2ee72008-6d13-4dcf-81f9-cca2a7c103fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to