Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 368270

Summary: [Unit Test Failure] org.eclipse.emf.facet.widgets.table.tests.internal.v0_2.swtbot.NatTableUITests.testIsSelectedCellEditable
Product: z_Archived Reporter: Gregoire Dupe <gdupe>
Component: EMF-FacetAssignee: Gregoire Dupe <gdupe>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: emft.facet-inbox
Version: unspecifiedFlags: gdupe: juno+
gdupe: kepler+
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Gregoire Dupe CLA 2012-01-10 10:48:52 EST
Since https://hudson.eclipse.org/hudson/job/emffacet-nightly-3.8/69/

Failed to execute runnable (org.eclipse.emf.facet.widgets.table.ui.internal.exported.exception.SyncException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0)

Stacktrace

org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.emf.facet.widgets.table.ui.internal.exported.exception.SyncException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0)
	at org.eclipse.swt.SWT.error(SWT.java:4300)
	at org.eclipse.swt.SWT.error(SWT.java:4215)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:196)
	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:4331)
	at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.run(UIThreadRunnable.java:76)
	at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncExec(UIThreadRunnable.java:198)
	at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncExec(UIThreadRunnable.java:183)
	at org.eclipse.emf.facet.widgets.table.tests.internal.v0_2.swtbot.NatTableUITests.testIsSelectedCellEditable(NatTableUITests.java:312)
Caused by: org.eclipse.emf.facet.widgets.table.ui.internal.exported.exception.SyncException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at org.eclipse.emf.facet.widgets.table.ui.internal.SynchronizedTableWidgetController.safeSyncExec(SynchronizedTableWidgetController.java:134)
	at org.eclipse.emf.facet.widgets.table.ui.internal.SynchronizedTableWidgetController.isSelectedCellEditable(SynchronizedTableWidgetController.java:571)
	at org.eclipse.emf.facet.widgets.table.tests.internal.v0_2.swtbot.NatTableUITests$5.run(NatTableUITests.java:315)
	at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable$4.doRun(UIThreadRunnable.java:196)
	at org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable$1.run(UIThreadRunnable.java:89)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3563)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
	at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication.start(UITestApplication.java:53)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	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:352)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:624)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
	at org.eclipse.core.launcher.Main.main(Main.java:34)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.RangeCheck(ArrayList.java:547)
	at java.util.ArrayList.get(ArrayList.java:322)
	at org.eclipse.emf.facet.widgets.table.ui.nattable.internal.NatTableWidget.isSelectedCellEditable(NatTableWidget.java:1332)
	at org.eclipse.emf.facet.widgets.table.ui.internal.TableWidgetController.isSelectedCellEditable(TableWidgetController.java:2079)
	at org.eclipse.emf.facet.widgets.table.ui.internal.SynchronizedTableWidgetController$46.safeRun(SynchronizedTableWidgetController.java:574)
	at org.eclipse.emf.facet.widgets.table.ui.internal.SynchronizedTableWidgetController$46.safeRun(SynchronizedTableWidgetController.java:1)
	at org.eclipse.emf.facet.widgets.table.ui.internal.SynchronizedTableWidgetController$AbstractExceptionFreeRunnable.run(SynchronizedTableWidgetController.java:126)
	at org.eclipse.emf.facet.widgets.table.ui.internal.SynchronizedTableWidgetController.syncExecWithResult(SynchronizedTableWidgetController.java:72)
	at org.eclipse.emf.facet.widgets.table.ui.internal.SynchronizedTableWidgetController.safeSyncExec(SynchronizedTableWidgetController.java:132)