Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » WARNING: Prevented recursive attempt to activate part...
WARNING: Prevented recursive attempt to activate part... [message #232722] Fri, 06 April 2007 08:18
Eclipse UserFriend
Originally posted by: alexandre.magillem.com

Hi, I've already posted this in the platform mailing-list but I haven't
got any answer.
I'm not sure this is related to GEF but this problem occurs when I open
an editor from my GEF editor and when I focus back to it.

When I do that, I get an annoying Warning :

java.lang.RuntimeException: WARNING: Prevented recursive attempt to
activate part org.eclipse.ui.views.ContentOutline while still in the
middle of activating part editor

appearing when I open an editor from my GEF editor by the command :
IEditorPart editor = IDE.openEditor(page,editorInput,EDITOR_ID,true);
and when I come back to the GEF editor.

Does anyone have a hint ?

Regards.
Christophe



eclipse.buildId=unknown
java.version=1.5.0_07
java.vendor=Apple Computer, Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=fr_FR
Framework arguments: -product org.eclipse.sdk.ide -pdelaunch
Command-line arguments: -product org.eclipse.sdk.ide -data
/Users/xtof/BOULOT/Magillem/WorkSpaces/workspace/../runtime- New_configuration
-dev
file:/Users/xtof/BOULOT/Magillem/WorkSpaces/workspace/.metad ata/.plugins/org.eclipse.pde.core/Magillem_40/dev.properties
-pdelaunch -os macosx -ws carbon -arch x86

Error
Wed Apr 04 18:01:14 CEST 2007
WARNING: Prevented recursive attempt to activate part
org.eclipse.ui.views.ContentOutline while still in the middle of
activating part com.mds.schematiceditor.spiritschematiceditor

java.lang.RuntimeException: WARNING: Prevented recursive attempt to
activate part org.eclipse.ui.views.ContentOutline while still in the
middle of activating part com.mds.schematiceditor.spiritschematiceditor
at
org.eclipse.ui.internal.WorkbenchPage.setActivePart(Workbenc hPage.java:3157)
at
org.eclipse.ui.internal.WorkbenchPage.requestActivation(Work benchPage.java:2750)
at org.eclipse.ui.internal.PartPane.requestActivation(PartPane. java:256)
at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:2 20)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1501)
at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:12 88)
at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java: 2301)
at org.eclipse.swt.widgets.Control.forceFocus(Control.java:810)
at org.eclipse.swt.widgets.Control.setFocus(Control.java:2654)
at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:89 2)
at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:89 0)
at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:89 0)
at org.eclipse.swt.widgets.Control.fixFocus(Control.java:757)
at org.eclipse.swt.widgets.Control.setVisible(Control.java:3043 )
at org.eclipse.ui.part.PageBook.showPage(PageBook.java:113)
at org.eclipse.ui.part.PageBookView.showPageRec(PageBookView.ja va:966)
at
org.eclipse.ui.views.contentoutline.ContentOutline.showPageR ec(ContentOutline.java:248)
at org.eclipse.ui.part.PageBookView.partActivated(PageBookView. java:748)
at
org.eclipse.ui.views.contentoutline.ContentOutline.partBroug htToTop(ContentOutline.java:209)
at org.eclipse.ui.internal.PartListenerList$2.run(PartListenerL ist.java:87)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at
org.eclipse.ui.internal.PartListenerList.fireEvent(PartListe nerList.java:57)
at
org.eclipse.ui.internal.PartListenerList.firePartBroughtToTo p(PartListenerList.java:85)
at
org.eclipse.ui.internal.PartService.firePartBroughtToTop(Par tService.java:87)
at
org.eclipse.ui.internal.WorkbenchPagePartList.firePartBrough tToTop(WorkbenchPagePartList.java:75)
at
org.eclipse.ui.internal.WorkbenchPagePartList.fireActiveEdit orChanged(WorkbenchPagePartList.java:51)
at org.eclipse.ui.internal.PartList.setActiveEditor(PartList.ja va:152)
at
org.eclipse.ui.internal.WorkbenchPage.makeActiveEditor(Workb enchPage.java:1181)
at
org.eclipse.ui.internal.WorkbenchPage.setActivePart(Workbenc hPage.java:3200)
at
org.eclipse.ui.internal.WorkbenchPage.requestActivation(Work benchPage.java:2750)
at org.eclipse.ui.internal.PartPane.requestActivation(PartPane. java:256)
at org.eclipse.ui.internal.EditorPane.requestActivation(EditorP ane.java:89)
at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:302)
at org.eclipse.ui.internal.EditorPane.setFocus(EditorPane.java: 117)
at
org.eclipse.ui.internal.PartStack.presentationSelectionChang ed(PartStack.java:798)
at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:78 1)
at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.jav a:123)
at
org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation$1.handleEvent(TabbedStackPresentation.java:126)
at
org.eclipse.ui.internal.presentations.util.AbstractTabFolder .fireEvent(AbstractTabFolder.java:267)
at
org.eclipse.ui.internal.presentations.util.AbstractTabFolder .fireEvent(AbstractTabFolder.java:276)
at
org.eclipse.ui.internal.presentations.defaultpresentation.De faultTabFolder.access$1(DefaultTabFolder.java:1)
at
org.eclipse.ui.internal.presentations.defaultpresentation.De faultTabFolder$2.handleEvent(DefaultTabFolder.java:84)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1 279)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.ja va:3171)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:19 53)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.j ava:288)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1 279)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3312)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2941)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Previous Topic:Sashform with toggle-like child visibility
Next Topic:graphical bug between the logic gef exemple and Attachmate Reflection X
Goto Forum:
  


Current Time: Sat Aug 13 00:20:06 GMT 2022

Powered by FUDForum. Page generated in 0.01684 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top