Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 178535 - [Viewers] SWTException: Failed to execute runnable
Summary: [Viewers] SWTException: Failed to execute runnable
Status: RESOLVED DUPLICATE of bug 170857
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Boris Bokowski CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-21 09:19 EDT by moran CLA
Modified: 2007-03-21 12:57 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description moran CLA 2007-03-21 09:19:41 EDT
Build ID: I20070222-0951

Steps To Reproduce:
Was running in debug mode with -consolelog when this exception popped up on screen. Had a breakpoint on a runnable thread. 

!ENTRY org.eclipse.ui 4 0 2007-03-21 13:56:04.500
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IllegalArgum
entException: Index out of bounds)
        at org.eclipse.swt.SWT.error(SWT.java:3478)
        at org.eclipse.swt.SWT.error(SWT.java:3401)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.ja
va:126)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3467)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3107)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2264)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2228)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2103)
        at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:457)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.ja
va:289)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.jav
a:452)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEAppli
cation.java:101)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandl
e.java:146)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli
cation(EclipseAppLauncher.java:106)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec
lipseAppLauncher.java:76)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:354)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:169)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:476)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:416)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1124)
Caused by: java.lang.IllegalArgumentException: Index out of bounds
        at org.eclipse.swt.SWT.error(SWT.java:3462)
        at org.eclipse.swt.SWT.error(SWT.java:3401)
        at org.eclipse.swt.SWT.error(SWT.java:3372)
        at org.eclipse.swt.widgets.TreeItem.findPrevious(TreeItem.java:222)
        at org.eclipse.swt.widgets.TreeItem.<init>(TreeItem.java:189)
        at org.eclipse.jface.viewers.TreeViewer.createNewRowPart(TreeViewer.java
:686)
        at org.eclipse.jface.viewers.TreeViewer.newItem(TreeViewer.java:315)
        at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractT
reeViewer.java:798)
        at org.eclipse.jface.viewers.AbstractTreeViewer.insert(AbstractTreeViewe
r.java:2818)
        at org.eclipse.debug.internal.ui.viewers.model.InternalTreeModelViewer.i
nsert(InternalTreeModelViewer.java:422)
        at org.eclipse.debug.internal.ui.viewers.model.ChildrenUpdate.performUpd
ate(ChildrenUpdate.java:70)
        at org.eclipse.debug.internal.ui.viewers.model.ViewerUpdateMonitor$1.run
InUIThread(ViewerUpdateMonitor.java:58)
        at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.ja
va:123)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3467)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3107)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2264)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2228)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2103)
        at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:457)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.ja
va:289)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.jav
a:452)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEAppli
cation.java:101)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandl
e.java:146)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli
cation(EclipseAppLauncher.java:106)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec
lipseAppLauncher.java:76)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:354)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:169)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)


More information:
Comment 1 Boris Bokowski CLA 2007-03-21 11:56:11 EDT
Darin, have you seen something like this before?
Comment 2 Darin Wright CLA 2007-03-21 12:57:36 EDT
Yes, this is a dup of bug 170857, which is fixed in M6.

*** This bug has been marked as a duplicate of bug 170857 ***