Community
Participate
Working Groups
I created a project which uses the Central Test Data. After creating the project everything runs fine, tests are executed successfully. But after exporting the project, deleting it from my DB and importing it again the test execution fails with an UE: An internal error occurred during: "Executing Test Suite...". -1 3004: Unexpected error occurred. java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.Vector.get(Unknown Source) at org.eclipse.persistence.indirection.IndirectList.get(IndirectList.java:401) at org.eclipse.jubula.client.core.model.TDManagerPO.getDataSet(TDManagerPO.java:350) at org.eclipse.jubula.client.core.businessprocess.TestDataBP.getTestData(TestDataBP.java:106) at org.eclipse.jubula.client.core.utils.RefToken.getExecutionString(RefToken.java:335) at org.eclipse.jubula.client.core.utils.ParamValueConverter.getExecutionString(ParamValueConverter.java:190) at org.eclipse.jubula.client.core.businessprocess.TestExecution.configureMessageCap(TestExecution.java:870) at org.eclipse.jubula.client.core.businessprocess.TestExecution.buildMessageCap(TestExecution.java:782) at org.eclipse.jubula.client.core.businessprocess.TestExecution.processCap(TestExecution.java:579) at org.eclipse.jubula.client.core.businessprocess.TestExecution.startTestSuite(TestExecution.java:544) at org.eclipse.jubula.client.core.businessprocess.TestExecution.executeTestSuite(TestExecution.java:335) at org.eclipse.jubula.client.core.ClientTest$1.run(ClientTest.java:519) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) The executed test suite is not decorated with a warning. Looking at the test cases used in the test suite shows that those test cases which use central test data sets located in categories now no longer use central test data but are reset to local test case as data source. The one test case using the central test data set which is not located in a category however still uses this one.
fixed with http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=672884d71883c450317dd9ecd12d280f37a56f5a
Fix verified manually