Community
Participate
Working Groups
Using 4.5.2-1126 driver 1: Open up a datapool with two or more variables in it's editor 2: Remove one or more variables (either overview or inside the equivalence class) 3: Go File--> Revert, notice that the editor does NOT change to clean, the system seems to have process running (the "Busy" mouse icon shows up) and the records under these variables are erased (if they are not null/empty)
Using the 11/25 TPTP 4.5.2 I2 TP candidate driver, the operation terminates with the following exception: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 3 at org.eclipse.hyades.test.ui.datapool.internal.control.DatapoolTable.refreshRows(DatapoolTable.java:3398) at org.eclipse.hyades.test.ui.datapool.internal.control.DatapoolTable.refresh(DatapoolTable.java:3181) at org.eclipse.hyades.test.ui.datapool.internal.control.DatapoolTable.refresh(DatapoolTable.java:3273) at org.eclipse.hyades.test.ui.internal.editor.form.DataTableForm.load(DataTableForm.java:118) at org.eclipse.hyades.test.ui.internal.editor.form.DataTableForm.load(DataTableForm.java:125) at org.eclipse.hyades.test.ui.internal.editor.extension.DatapoolEditorExtension.refreshContent(DatapoolEditorExtension.java:578) at org.eclipse.hyades.test.ui.editor.extension.BaseEditorExtension.reload(BaseEditorExtension.java:557) at org.eclipse.hyades.ui.internal.editor.action.RevertAction.run(RevertAction.java:48) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247) at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:619) at org.eclipse.ui.menus.CommandContributionItem.access$10(CommandContributionItem.java:605) at org.eclipse.ui.menus.CommandContributionItem$4.handleEvent(CommandContributionItem.java:595) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
This defect requires a new test case for the revert action (/org.eclipse.hyades.ui/src/org/eclipse/hyades/ui/internal/editor/action/RevertAction.java). See org.eclipse.hyades.test.ui.datapool.internal.control.DatapoolActionHandlerListener.updateActions().
Decreasing severity since: -The symptom is only seen when reverting a deleted variable. -The UI is responsive. -The deleted variable it reverted correctly.
This problem cannot be seen using the 46I2TP1 driver, marking as works for me for now and will be monitored during the future test passes
(In reply to comment #4) > This problem cannot be seen using the 46I2TP1 driver, marking as works for me > for now and will be monitored during the future test passes > Closing.