Bug 98796 - [WorkbenchParts] [OLE] recursive attempt to activate part
Summary: [WorkbenchParts] [OLE] recursive attempt to activate part
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P5 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-07 15:03 EDT by Adam Kiezun CLA
Modified: 2019-09-06 16:05 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2005-06-07 15:03:49 EDT
3.1RC1
found in log:

java.lang.RuntimeException: WARNING: Prevented recursive attempt to activate
part org.eclipse.jdt.ui.PackageExplorer while still in the middle of activating
part org.eclipse.ui.systemInPlaceEditor
at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2806)
at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2459)
at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:249)
at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:214)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code))
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled Code))
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Compiled Code))
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Compiled Code))
at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:998)
at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:1856)
at org.eclipse.swt.widgets.Widget.wmSetFocus(Widget.java:1952)
at org.eclipse.swt.widgets.Control.WM_SETFOCUS(Control.java:3630)
at org.eclipse.swt.widgets.Tree.WM_SETFOCUS(Tree.java:3232)
at org.eclipse.swt.widgets.Control.windowProc(Control.java(Compiled Code))
at org.eclipse.swt.widgets.Tree.windowProc(Tree.java(Compiled Code))
at org.eclipse.swt.widgets.Display.windowProc(Display.java(Compiled Code))
at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method)
at org.eclipse.swt.widgets.Control.forceFocus(Control.java:652)
at org.eclipse.swt.widgets.Control.setSavedFocus(Control.java:2361)
at org.eclipse.swt.widgets.Decorations.restoreFocus(Decorations.java:739)
at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1535)
at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:1473)
at org.eclipse.swt.widgets.Control.windowProc(Control.java(Compiled Code))
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java(Compiled Code))
at org.eclipse.swt.widgets.Display.windowProc(Display.java(Compiled Code))
at org.eclipse.swt.internal.ole.win32.COM.VtblCall(Native Method)
at org.eclipse.swt.internal.ole.win32.IOleObject.DoVerb(IOleObject.java:27)
at org.eclipse.swt.ole.win32.OleClientSite.doVerb(OleClientSite.java:574)
at
org.eclipse.ui.internal.editorsupport.win32.OleEditor.oleActivate(OleEditor.java:630)
at
org.eclipse.ui.internal.editorsupport.win32.OleEditor.activateClient(OleEditor.java:206)
at
org.eclipse.ui.internal.editorsupport.win32.OleEditor.access$3(OleEditor.java:204)
at
org.eclipse.ui.internal.editorsupport.win32.OleEditor$4.partActivated(OleEditor.java:162)
at org.eclipse.ui.internal.PartListenerList$1.run(PartListenerList.java:72)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java(Inlined
Compiled Code))
at org.eclipse.core.runtime.Platform.run(Platform.java(Inlined Compiled Code))
at
org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java(Compiled
Code))
at
org.eclipse.ui.internal.PartListenerList.firePartActivated(PartListenerList.java:70)
at org.eclipse.ui.internal.PartService.firePartActivated(PartService.java:73)
at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:171)
at
org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:56)
at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:108)
at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2847)
at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:544)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2322)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2246)
at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2238)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2224)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2219)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2200)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:248)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:128)
at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:169)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:153)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:222)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:198)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:300)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:843)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:741)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java(Inlined
Compiled Code))
at org.eclipse.core.runtime.Platform.run(Platform.java(Compiled Code))
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:739)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:968)
at
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1067)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code))
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled Code))
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code))
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled Code))
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1658)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:366)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:375)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:162)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Comment 1 Stefan Xenos CLA 2005-06-07 19:39:16 EDT
Steps to reproduce?
Comment 2 Adam Kiezun CLA 2005-06-07 19:46:50 EDT
no idea. i just found it in the log
Comment 3 Bernd Kolb CLA 2005-06-17 09:41:07 EDT
We also have this bug (M7 and RC1). 

In our project we can reproduce it by the following steps:

- open a dialog form a PropertySheet view and close it again (even without
modifying sth.)
- then go to another view group which has ErrorLogView and Some Other View in it. 
- activate that other View

- instead of switching to that view, Eclipse switches to the ErrorLogView which
has exactly that erorr message in it (which describes a warning !!!).

A first "solution" would be to treat it as a warning instead of an error.

Comment 4 Boris Bokowski CLA 2005-06-17 10:14:15 EDT
Bernd, do you have anything OLE-related in your setup?
Comment 5 Bernd Kolb CLA 2005-06-17 11:12:27 EDT
We don't have anything ole-related in our setup. Just the standart eclipse
propertysheet editor and some hand-written views. The strange thing is that
these  views don't have any listeners to the workbench, also they do not provide
anything.... I do not understand who is activating the properties-view when I'm
clicking to activate my view...

Comment 6 Adam Kiezun CLA 2005-07-15 13:13:30 EDT
just saw it again on 3.1 GA
as for OLE, I opened ppt and 123 files today in eclipse (as embedded editors, by
mistake)
Comment 7 Paul Webster CLA 2006-09-28 14:07:47 EDT
Is this still a problem in 3.3?

PW
Comment 8 Denis Roy CLA 2007-06-22 09:32:59 EDT
Changes requested on bug 193523
Comment 9 Eclipse Webmaster CLA 2019-09-06 16:05:04 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.