Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 84747 - Widget is disposed error updating ProblemTableViewer
Summary: Widget is disposed error updating ProblemTableViewer
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M5   Edit
Assignee: Martin Aeschlimann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 84909 84949 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-08 18:06 EST by Darin Swanson CLA
Modified: 2005-02-11 04:26 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Swanson CLA 2005-02-08 18:06:24 EST
I20050208-0800
I had just done a refactoring that had moved a static method to another class. 
The refactoring had introduced errors in the moved methods as it referenced 
private static variables in the original location. I received the warning 
dialog about these errors but continued.
On the next save:

org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(SWT.java:2839)
	at org.eclipse.swt.SWT.error(SWT.java:2762)
	at org.eclipse.swt.SWT.error(SWT.java:2733)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:393)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:295)
	at org.eclipse.swt.widgets.Widget.getData(Widget.java:446)
	at 
org.eclipse.jdt.internal.ui.viewsupport.ProblemTableViewer.doUpdateItem
(ProblemTableViewer.java:75)
	at 
org.eclipse.jdt.internal.ui.viewsupport.ResourceToItemsMapper.updateItem
(ResourceToItemsMapper.java:73)
	at 
org.eclipse.jdt.internal.ui.viewsupport.ResourceToItemsMapper.resourceChanged
(ResourceToItemsMapper.java:67)
	at 
org.eclipse.jdt.internal.ui.viewsupport.ProblemTableViewer.handleLabelProviderC
hanged(ProblemTableViewer.java:123)
	at org.eclipse.jface.viewers.ContentViewer$1.labelProviderChanged
(ContentViewer.java:74)
	at org.eclipse.jdt.ui.ProblemsLabelDecorator.fireProblemsChanged
(ProblemsLabelDecorator.java:357)
	at org.eclipse.jdt.ui.ProblemsLabelDecorator.access$0
(ProblemsLabelDecorator.java:352)
	at org.eclipse.jdt.ui.ProblemsLabelDecorator$1.problemsChanged
(ProblemsLabelDecorator.java:332)
	at org.eclipse.jdt.internal.ui.viewsupport.ProblemMarkerManager$1.run
(ProblemMarkerManager.java:176)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages
(Synchronizer.java:118)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2855)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2519)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1622)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1588)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:299)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
	at org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:102)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:227)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:281)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:131)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:261)
	at org.eclipse.core.launcher.Main.run(Main.java:817)
	at org.eclipse.core.launcher.Main.main(Main.java:801)
Comment 1 Dirk Baeumer CLA 2005-02-09 04:09:03 EST
Martin, can you please investigate.
Comment 2 Martin Aeschlimann CLA 2005-02-10 11:54:16 EST
fixed > 20050210
Comment 3 Dirk Baeumer CLA 2005-02-10 11:57:53 EST
*** Bug 84909 has been marked as a duplicate of this bug. ***
Comment 4 Martin Aeschlimann CLA 2005-02-11 04:26:08 EST
*** Bug 84949 has been marked as a duplicate of this bug. ***