java.lang.instrument.IllegalClassFormatException

Error while instrumenting class com/comp/xt/svc/Basxmcchglp1C00v02.

Solutions on the web72

  • via Google Groups by Unknown author, 5 months ago
    Error while instrumenting class com/comp/xt/svc/Basxmcchglp1C00v02.
  • via haomengapp.com by Unknown author, 1 year ago
    Error while instrumenting class com/company/AbstractClass.
  • Error while instrumenting class ...
  • Stack trace

    • java.lang.instrument.IllegalClassFormatException: Error while instrumenting class com/comp/xt/svc/Basxmcchglp1C00v02. at org.jacoco.agent.rt.internal_8ff85ea.CoverageTransformer.transform(CoverageTransformer.java:93) at sun.instrument.TransformerManager.transform(TransformerManager.java:188) at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:424) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) at com.comp.xt.Rvd0x02.mainSubroutine(Rvd0x02.java:26) at hx.mt.util.Process.run(Process.java:13) at hx.mt.util.ProcessInfo.run(ProcessInfo.java:20) at com.comp.xt.Rcd0xf06.mainSubroutine(Rcd0xf06.java:143) at hx.mt.util.Process.run(Process.java:13) at hx.mt.util.ProcessInfo.run(ProcessInfo.java:20) at com.comp.pt.svc.util.Recv203.mainSubroutine(Pmscar203.java:435) at hx.mt.util.Process.run(Process.java:13) at hx.mt.util.ProcessInfo.run(ProcessInfo.java:20) at com.comp.pt.svc.ctrl.Cycle01.mainSubroutine(Pmscoc01.java:1114) at hx.mt.util.Process.run(Process.java:13) at hx.mt.util.ProcessInfo.run(ProcessInfo.java:20) at com.comp.pt.CycleController.StartDaily(Basstrcycl.java:125) at com.comp.pt.custom.CycleController.mainSubroutine(Basstrcycl.java:82) at hx.mt.util.Process.run(Process.java:13) at hx.mt.util.ProcessInfo.run(ProcessInfo.java:20) at hx.mt.util.DynamicCall.legacyInvoke(DynamicCall.java:271) at hx.mt.util.DynamicCall.execute(DynamicCall.java:167) at hx.mt.util.DynamicCall.invoke(DynamicCall.java:577) at hx.mt.task.LegacyCustomTaskWrapper.invoke(LegacyCustomTaskWrapper.java:17) at hx.mt.task.CustomTaskWrapper.run(CustomTaskWrapper.java:117) at com.comp.pt.svc.custom.jobScheduler.QuartzAsyncJob.execute(QuartzAsyncJob.java:44) at org.quartz.core.JobRunShell.run(Unknown Source) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(Unknown Source) Caused by: java.io.IOException: Error while instrumenting class com/comp/xt/svc/Basxmcchglp1C00v02. at org.jacoco.agent.rt.internal_8ff85ea.core.instr.Instrumenter.instrumentError(Instrumenter.java:166) at org.jacoco.agent.rt.internal_8ff85ea.core.instr.Instrumenter.instrument(Instrumenter.java:117) at org.jacoco.agent.rt.internal_8ff85ea.CoverageTransformer.transform(CoverageTransformer.java:91) ... 33 more Caused by: java.lang.RuntimeException: Method code too large! at org.jacoco.agent.rt.internal_8ff85ea.asm.MethodWriter.getSize(MethodWriter.java:2079) at org.jacoco.agent.rt.internal_8ff85ea.asm.ClassWriter.toByteArray(ClassWriter.java:838) at org.jacoco.agent.rt.internal_8ff85ea.core.instr.Instrumenter.instrument(Instrumenter.java:91) at org.jacoco.agent.rt.internal_8ff85ea.core.instr.Instrumenter.instrument(Instrumenter.java:114) ... 34 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.