I am getting the below error when tomcat starts. I have configured the jvm
argument as
-javaagent:/xxxx/xxx/xxx/jacocoagent.jar=append=true,output=tcpserver,address=xxxxxx,port=xxxxx,excludes=org.sonar.api.*:org.sonar.core.*:org.sonar.jpa.*:com.xxxx.*:oracle.*:org.spring.*,includes=com.xxxx.*
java.lang.instrument.IllegalClassFormatException: Error while instrumenting
class com/xxx/xxx/xxx/xxx/xxxxx
Caused by: java.io.IOException: Error while instrumenting class
com/xxx/xxx/xxx/xxx/xxxxx.
at
org.jacoco.agent.rt.internal_e6e56f0.core.instr.Instrumenter.instrumentError(Instrumenter.java:152)
at
org.jacoco.agent.rt.internal_e6e56f0.core.instr.Instrumenter.instrument(Instrumenter.java:103)
at
org.jacoco.agent.rt.internal_e6e56f0.CoverageTransformer.transform(CoverageTransformer.java:87)
... 62 more
Caused by: java.lang.ArrayIndexOutOfBoundsException
--
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/57bd9997-fabd-4ec1-9616-84108122881b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.