Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-14973

Blocked recursive attempt to activate part

    Details

      Description

      I just opened an HTML5 file with JBoss HTML Editor (Source tab)
      And then I opened an XHTML file from another project (Source tab).
      When I switch between editors I get the following warning in Error log:

      eclipse.buildId=unknown
      java.version=1.7.0_09
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product org.eclipse.platform.ide
      Command-line arguments:  -product org.eclipse.platform.ide -data /home/igels/Java/eclipse-4.3/workspace/runtime/runtime-JBT -dev file:/home/igels/Java/eclipse-4.3/workspace/designtime/contribution/.metadata/.plugins/org.eclipse.pde.core/JBT/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog
      
      Warning
      Fri Jun 21 16:25:51 PDT 2013
      Blocked recursive attempt to activate part
      
      java.lang.IllegalStateException
      	at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer$2.setFocus(ContributedPartRenderer.java:119)
      	at org.eclipse.swt.custom.CTabItem.setFocus(CTabItem.java:329)
      	at org.eclipse.swt.custom.CTabFolder.setFocus(CTabFolder.java:2509)
      	at org.eclipse.swt.widgets.Control.fixFocus(Control.java:206)
      	at org.eclipse.swt.widgets.Control.setVisible(Control.java:4791)
      	at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3049)
      	at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3006)
      	at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1101)
      	at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:66)
      	at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41)
      	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
      	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
      	at org.eclipse.swt.widgets.Display.syncExec(Display.java:4491)
      	at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:205)
      	at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
      	at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
      	at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
      	at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
      	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
      	at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
      	at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
      	at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
      	at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:80)
      	at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58)
      	at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
      	at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
      	at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:576)
      	at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:543)
      	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:605)
      	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:585)
      	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.setPart(PartServiceImpl.java:158)
      	at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
      	at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:88)
      	at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:107)
      	at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:328)
      	at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:342)
      	at org.eclipse.e4.core.internal.contexts.EclipseContext.activate(EclipseContext.java:625)
      	at org.eclipse.e4.core.internal.contexts.EclipseContext.activateBranch(EclipseContext.java:630)
      	at org.eclipse.e4.ui.internal.workbench.PartActivationHistory.activate(PartActivationHistory.java:52)
      	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:588)
      	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:539)
      	at org.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer.activate(AbstractPartRenderer.java:104)
      	at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer$1.handleEvent(ContributedPartRenderer.java:59)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1416)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1401)
      	at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1675)
      	at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1638)
      	at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:3851)
      	at org.eclipse.swt.widgets.Control.gtk_event_after(Control.java:3119)
      	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2085)
      	at org.eclipse.swt.widgets.Control.windowProc(Control.java:5467)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4569)
      	at org.eclipse.swt.internal.gtk.OS._gtk_widget_grab_focus(Native Method)
      	at org.eclipse.swt.internal.gtk.OS.gtk_widget_grab_focus(OS.java:13721)
      	at org.eclipse.swt.widgets.Control.forceFocus(Control.java:2438)
      	at org.eclipse.swt.widgets.Composite.forceFocus(Composite.java:546)
      	at org.eclipse.swt.widgets.Control.forceFocus(Control.java:2431)
      	at org.eclipse.swt.widgets.Control.setFocus(Control.java:4284)
      	at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1410)
      	at org.jboss.tools.vpe.xulrunner.browser.XulRunnerBrowser.setFocus(XulRunnerBrowser.java:163)
      	at org.jboss.tools.vpe.editor.mozilla.MozillaEditor.setFocus(MozillaEditor.java:795)
      	at org.jboss.tools.vpe.editor.VpeEditorPart.setFocus(VpeEditorPart.java:869)
      	at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart.setFocus(JSPMultiPageEditorPart.java:186)
      	at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart.setFocus(JSPMultiPageEditorPart.java:171)
      	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.delegateSetFocus(CompatibilityPart.java:192)
      	at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:249)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:220)
      	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:107)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.focusGui(PartRenderingEngine.java:763)
      	at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer$2.setFocus(ContributedPartRenderer.java:102)
      	at org.eclipse.swt.custom.CTabItem.setFocus(CTabItem.java:329)
      	at org.eclipse.swt.custom.CTabFolder.setFocus(CTabFolder.java:2509)
      	at org.eclipse.swt.widgets.Control.fixFocus(Control.java:206)
      	at org.eclipse.swt.widgets.Control.setVisible(Control.java:4791)
      	at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3049)
      	at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3057)
      	at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1753)
      	at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:278)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                kmarmaliykov Konstantin Marmalyukov
                Reporter:
                akazakov Alexey Kazakov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: