From: Chander <bl...@gm...> - 2020-10-26 03:14:40
|
Hi group, When I run the unit tests with htmlunit and maven pom has jacaco plugin as dependency I get the following error. The unit tests don't fail but the console displays the following error.. How do I prevent this error from happening? Caused by: org.jacoco.agent.rt.internal_43f5073.asm.MethodTooLargeException: Method too large: com/gargoylesoftware/htmlunit/javascript/host/css/StyleAttributes$Definition.<clinit> ()V at org.jacoco.agent.rt.internal_43f5073.asm.MethodWriter.computeMethodInfoSize(MethodWriter.java:2087) at org.jacoco.agent.rt.internal_43f5073.asm.ClassWriter.toByteArray(ClassWriter.java:447) at org.jacoco.agent.rt.internal_43f5073.core.instr.Instrumenter.instrument(Instrumenter.java:90) at org.jacoco.agent.rt.internal_43f5073.core.instr.Instrumenter.instrument(Instrumenter.java:107) ... 100 more java.lang.instrument.IllegalClassFormatException: Error while instrumenting com/gargoylesoftware/css/parser/javacc/CSS3ParserTokenManager. Thank You Chander |