Bug 185232 - [WorkbenchLauncher][ErrorHandling] Widget disposed too early
Summary: [WorkbenchLauncher][ErrorHandling] Widget disposed too early
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2007-05-02 17:12 EDT by Andrew Niefer CLA
Modified: 2022-02-16 01:21 EST (History)
3 users (show)

See Also:


Attachments
crash log (10.96 KB, text/plain)
2007-05-02 17:13 EDT, Andrew Niefer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Niefer CLA 2007-05-02 17:12:45 EDT
I20070430-0800
I have not been able to reproduce this, but while testing out the new eclipsec console launcher with redirected output.  I launched an eclipse that crashed on startup.

The resulting log I got contained 
java.lang.RuntimeException: Widget disposed too early!
	at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:169)

See attached log.txt for full stack trace.
Comment 1 Andrew Niefer CLA 2007-05-02 17:13:30 EDT
Created attachment 65694 [details]
crash log
Comment 2 Boris Bokowski CLA 2007-05-03 11:39:01 EDT
It seems that the window could not be restored, and then something happened while closing it.
Comment 3 Paul Webster CLA 2007-05-03 12:11:07 EDT
Something happened to kill your launch.

The "Widget disposed too early!" just indicates that the window never came up properly (it died for some reason) and we're asking it close now.

There doesn't seem to be anything in the log that indicates what problem caused the workbench window to not open.

PW
Comment 4 Kim Horne CLA 2007-05-24 10:11:27 EDT
I still haven't had time to investigate this. 
Comment 5 Kim Horne CLA 2007-05-29 10:06:55 EDT
Not a lot to go on here.  If you can reproduce it again please let me know.
Comment 6 Hafiz CLA 2007-06-27 01:00:15 EDT
I have been able to reproduce this bug consistently by quickly clicking multiple times on the 'X' exit button to terminate. The only special scenario here seems to be when the viewpart has a Jface ModelContext operation running when closing itself. This results in entertaining second request for terminating eclipse and there by reaching a state where it finds the SWT composite already disposed.
Comment 7 Boris Bokowski CLA 2007-06-27 06:31:07 EDT
Hafiz, could you please attach the relevant part of your log file containing the stack trace(s)?
Comment 8 Boris Bokowski CLA 2007-06-27 06:32:05 EDT
Hafiz, please see the previous comment.
Comment 9 Michael Hoffman CLA 2007-08-14 17:20:25 EDT
I am using the Eclipse version identified in this bug report with the build ID: I20070625-1500 and receiving the widget disposed too early error message when performing certain actions within the workspace. The only message prior to this error was:

!ENTRY org.eclipse.ui 4 4 2007-08-14 15:51:52.703
!MESSAGE Unable to find Action Set: org.eclipse.jdt.ui.DLTKActionSet

The error received was:

!ENTRY org.eclipse.ui.workbench 4 0 2007-08-14 15:52:29.312
!MESSAGE Widget disposed too early!

This tends to happen frequently when several things are processing (a workspace build plus a perspective switch). The workbench hangs, then the UI disappears, followed by the eclipse process a minute or so later. When restarting the workbench, I receive the message:

!ENTRY org.eclipse.core.resources 2 10035 2007-08-14 15:59:07.765
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

I would love to have this fixed so that I do not have to revert to 3.2.
Comment 10 Susan McCourt CLA 2009-07-09 19:04:55 EDT
As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009
Comment 11 Eclipse Webmaster CLA 2019-09-06 16:09:35 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 12 Eclipse Genie CLA 2022-02-16 01:21:28 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.