This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 508717 - StackOverflowError with Quick Access (Ctrl+3)
Summary: StackOverflowError with Quick Access (Ctrl+3)
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.7   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: 4.7 M4   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 495016
Blocks:
  Show dependency tree
 
Reported: 2016-12-06 03:53 EST by Noopur Gupta CLA
Modified: 2016-12-12 08:29 EST (History)
4 users (show)

See Also:


Attachments
Stack trace (75.85 KB, text/plain)
2016-12-06 03:53 EST, Noopur Gupta CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Noopur Gupta CLA 2016-12-06 03:53:51 EST
Created attachment 265730 [details]
Stack trace

Eclipse SDK
Version: Oxygen (4.7)
Build id: I20161205-2000
OS: Windows 7, v.6.1, x86_64 / win32

- Open a new workspace.
- Press Ctrl+3 and type "error log".
- Press 'Enter'.
=> We get the StackOverflowError with the attached stack trace.

...
	at org.eclipse.ui.internal.quickaccess.QuickAccessContents.refresh(QuickAccessContents.java:150)
	at org.eclipse.ui.internal.quickaccess.QuickAccessContents$4.controlResized(QuickAccessContents.java:773)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:236)
...
Comment 1 Noopur Gupta CLA 2016-12-07 03:42:37 EST
I am also getting the following exception very frequently while using Quick Assist, which could be related:

org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(SWT.java:4533)
	at org.eclipse.swt.SWT.error(SWT.java:4448)
	at org.eclipse.swt.SWT.error(SWT.java:4419)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:482)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:354)
	at org.eclipse.swt.widgets.Widget.setData(Widget.java:1212)
	at org.eclipse.ui.internal.quickaccess.QuickAccessContents.refreshTable(QuickAccessContents.java:355)
	at org.eclipse.ui.internal.quickaccess.QuickAccessContents.refresh(QuickAccessContents.java:150)
	at org.eclipse.ui.internal.quickaccess.QuickAccessContents$2.modifyText(QuickAccessContents.java:679)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:180)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4431)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1103)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1084)
	at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:3122)
	at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:4978)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4833)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5194)
	at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
	at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2447)
	at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:262)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4928)
	at org.eclipse.swt.widgets.Text.windowProc(Text.java:2704)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5181)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2553)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3818)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1133)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:698)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
Comment 2 Lars Vogel CLA 2016-12-08 02:37:28 EST
Patrik, can you fix this one today? I think we should not release M4 with this error.
Comment 3 Dani Megert CLA 2016-12-08 05:17:59 EST
(In reply to Lars Vogel from comment #2)
> Patrik, can you fix this one today? I think we should not release M4 with
> this error.

+1. This needs to get fixed for M4.
Comment 4 Dani Megert CLA 2016-12-08 06:02:41 EST
I can get the widget disposed usually with
1. start a new workspace with I20161207-2000
2. close Welcome page
3. Ctrl+3
4. type "error log"
5. Enter


I can usually get the stack overflow with:
1. start a new workspace with I20161207-2000
2. close Welcome page
3. Ctrl+3
4. quickly type "breakpoints"


The bug seems to depend on timing as well.


Tracked down to the fix for bug 495016. Reverted with http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=ba4677256e01cbb58ac77a4dafe643f37858b69a
Comment 5 Dani Megert CLA 2016-12-08 11:42:43 EST
Verified in eclipse-SDK-I20161208-0830-win32-x86_64.