From: Hiller, D. (Contractor) <dea...@br...> - 2010-12-14 01:15:09
|
Well, after playing around, the jar packaged with cobertura is the wrong one(asm 3.0) and 2.2.3 does have the one with the Boolean constructor which fixed instrumenting in ant and it works now BUT while fixing that, this bug seems to come back which was reported as fixed in 1.9.2...(AND my coverage report says 0% still L ). [junit] Testcase: testSomething took 3.015 sec [junit] Exception in thread "Thread-0" java.lang.ExceptionInInitializerError [junit] at java.io.File.deleteOnExit(File.java:939) [junit] at net.sourceforge.cobertura.util.FileLocker.<init>(FileLocker.j [junit] at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobal [junit] at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTime [junit] at java.lang.Thread.run(Thread.java:662) [junit] Caused by: java.lang.IllegalStateException: Shutdown in progress [junit] at java.lang.Shutdown.add(Shutdown.java:62) [junit] at java.lang.System$2.registerShutdownHook(System.java:1146) [junit] at java.io.DeleteOnExitHook.<clinit>(DeleteOnExitHook.java:20) [junit] ... 5 more Grrrrrrr.....any ideas? I see the cobertura.ser file now and the instrumented class in my instrumented directory, but report is not right yet. Thanks, Dean This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. |