Community
Participate
Working Groups
Created attachment 208921 [details] This patch will handle the null value correctly The deleting of all test result details via the clean up job fails. This is caused by an uncaught null value in the deleteMonitoringReports() method. !ENTRY org.eclipse.core.jobs 4 2 2011-12-28 19:12:53.124 !MESSAGE An internal error occurred during: "Commandline parsing finished - performing actions...". !STACK 0 java.lang.IllegalArgumentException: An instance of a null PK has been incorrectly provided for this find operation. at org.eclipse.persistence.internal.jpa.EntityManagerImpl.findInternal(EntityManagerImpl.java:709) at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:653) at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:532) at org.eclipse.jubula.client.core.persistence.TestResultPM.deleteMonitoringReports(TestResultPM.java:113) at org.eclipse.jubula.client.core.persistence.TestResultPM.deleteTestresultOfSummary(TestResultPM.java:90) at org.eclipse.jubula.client.core.persistence.TestResultPM.deleteAllTestresultDetails(TestResultPM.java:178) at org.eclipse.jubula.app.dbtool.core.DBToolClient.deleteAllProjects(DBToolClient.java:400) at org.eclipse.jubula.app.dbtool.core.DBToolClient.access$2(DBToolClient.java:374) at org.eclipse.jubula.app.dbtool.core.DBToolClient$1.run(DBToolClient.java:170) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Wed Dec 28 19:12:53 CET 2011 Exit: Code 1
patch applied with http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=9b71d3e90d376214ada18c914ab9c6ff498cd6f0
Fix verified, all test result details are deleted when running "deleteall" in dbtool