From: Christian T. <Tan...@op...> - 2009-12-11 10:39:37
|
Hi, I use cobertura 1.9.2 and get a NullPointerException while instrumenting a class. The stacktrace is: [cobertura-instrument] WARN addInstrumentationToSingleClass, Unable to instrument file D:\DVP\...\target\classes\...\ASophisticatedClass.class [cobertura-instrument] java.lang.NullPointerException [cobertura-instrument] at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source) [cobertura-instrument] at org.objectweb.asm.ClassReader.accept(Unknown Source) [cobertura-instrument] at org.objectweb.asm.ClassReader.accept(Unknown Source) [cobertura-instrument] at org.objectweb.asm.ClassWriter.toByteArray(Unknown Source) [cobertura-instrument] at net.sourceforge.cobertura.instrument.Main.addInstrumentationToSingleClass(Main.java:392) [cobertura-instrument] at net.sourceforge.cobertura.instrument.Main.addInstrumentation(Main.java:416) [cobertura-instrument] at net.sourceforge.cobertura.instrument.Main.parseArguments(Main.java:492) [cobertura-instrument] at net.sourceforge.cobertura.instrument.Main.main(Main.java:514) [cobertura-instrument] Cobertura: Saved information on 371 classes. [cobertura-instrument] Instrument time: 4412ms It´s a normal class without errors. Has anybody an idea? Mit freundlichen Grüßen i.A. Christian Tanzmann Software Developer flexible software | for your way of working OPTIMAL SYSTEMS Gesellschaft für innovative Computertechnologien mbH Cicerostraße 26, 10709 Berlin Tel.: 030 - 8 95 70 80 Fax: 030 - 8 95 70 88 88 E-Mail: mailto:tan...@op... Web: www.optimal-systems.de<http://www.optimal-systems.de/> Hier können Sie den aktuellen Newsletter des Monats nachlesen: http://www.optimal-systems.de/news __________________________________________________________________________________ Sitz der Gesellschaft: Berlin HRB 38 560 Amtsgericht Charlottenburg - USt-IdNr.: DE 136 722 551 Geschäftsführer: Karsten Renz |