Usamos o Hudson para CI e os testes unitários não estão sendo executados depois que atualizamos para a VM 6. Os testes passam normalmente no ambiente local.
Todos os testes apresentam a exception abaixo. Aparentemente a VM é encerrada antes mesmo de iniciar.
Via shell rodei um “hello world” usando a mesma VM e executou sem problemas. Alguém tem uma idéia do que pode ser?
[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)
Obrigado!