From: SourceForge.net <no...@so...> - 2009-06-06 07:29:16
|
Bugs item #2799925, was opened at 2009-06-02 13:17 Message generated for change (Comment added) made by ptab You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=720015&aid=2799925&group_id=130558 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Rick Riemer (ricq) Assigned to: Nobody/Anonymous (nobody) Summary: Cobertura breaks on Java 6u14 at the end of a junit run Initial Comment: After upgrading my Sun JDK from Java 6u13 to Java 6u14 last weekend, my cobertura runs fail consistently (see stack trace below). The failure happens at the end of the junit run, i.e.: when the forked JUnit VM shuts down. Stack trace: [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.java:80) [junit] at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230) [junit] at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31) [junit] at java.lang.Thread.run(Thread.java:619) [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 FYI: some details about my install: * Ant 1.7.1 * Cobertura 1.9.1 * JUnit 4.5 * Sun JDK 1.6.0_14 (Client VM) * Windows XP SP3 ---------------------------------------------------------------------- Comment By: Piotr Tabor (ptab) Date: 2009-06-06 09:29 Message: Have the same problem. It causes completely empty results (no htmls and 0% coverage in the xml format). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=720015&aid=2799925&group_id=130558 |