Menu

#187 IllegalArgumentException: Invalid annotation value

v1.0_(example)
open
nobody
None
5
2014-09-18
2014-04-21
No

I got this exception trying to run Cobertura 2.0.3:

java.lang.IllegalArgumentException: Invalid annotation value
at org.objectweb.asm.util.CheckAnnotationAdapter.visit(Unknown Source)
at org.objectweb.asm.ClassReader.a(Unknown Source)
at org.objectweb.asm.ClassReader.b(Unknown Source) at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:153)
at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:121)
at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.addInstrumentationToSingleClass(CoberturaInstrumenter.java:234)
at net.sourceforge.cobertura.instrument.Main.addInstrumentationToSingleClass(Main.java:298)
at net.sourceforge.cobertura.instrument.Main.addInstrumentation(Main.java:307)
at net.sourceforge.cobertura.instrument.Main.parseArguments(Main.java:399)
at net.sourceforge.cobertura.instrument.Main.main(Main.java:421)

This was running on a normally compiled class - nothing fancy about it.

Initially I thought this was an ASM bug but they say it's not:

http://forge.ow2.org/tracker/?func=detail&atid=100023&aid=317168&group_id=23

Discussion


Log in to post a comment.