[jbosstools-issues] [JBoss JIRA] (JBIDE-21737) Error while selecting a project in the OpenShift Explorer view

Viacheslav Kabanovich (JIRA) issues at jboss.org
Tue Mar 1 02:44:00 EST 2016


    [ https://issues.jboss.org/browse/JBIDE-21737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169882#comment-13169882 ] 

Viacheslav Kabanovich commented on JBIDE-21737:
-----------------------------------------------

I reproduced this problem on clean workspace, when JBDS is run without org.jboss.tools.openshift.express.ui plugin. Context org.jboss.tools.openshift.explorer.context.connection is defined in its plugin xml. The definition should be moved to org.jboss.tools.openshift.common.ui plugin.

> Error while selecting a project in the OpenShift Explorer view
> --------------------------------------------------------------
>
>                 Key: JBIDE-21737
>                 URL: https://issues.jboss.org/browse/JBIDE-21737
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.3.1.Beta2
>            Reporter: Xavier Coulon
>             Fix For: 4.3.1.CR1
>
>
> I have the following exception *many times* in the console when I select a project in the OpenShift Explorer view:
> {code}
> org.eclipse.core.commands.common.NotDefinedException: Cannot get the parent identifier from an undefined context. org.jboss.tools.openshift.explorer.context.connection
> 	at org.eclipse.core.commands.contexts.Context.getParentId(Context.java:197)
> 	at org.eclipse.e4.ui.bindings.internal.ContextSet$CComp.getLevel(ContextSet.java:49)
> 	at org.eclipse.e4.ui.bindings.internal.ContextSet$CComp.compare(ContextSet.java:38)
> 	at org.eclipse.e4.ui.bindings.internal.ContextSet$CComp.compare(ContextSet.java:1)
> 	at java.util.TimSort.binarySort(TimSort.java:292)
> 	at java.util.TimSort.sort(TimSort.java:217)
> 	at java.util.Arrays.sort(Arrays.java:1512)
> 	at java.util.ArrayList.sort(ArrayList.java:1454)
> 	at java.util.Collections.sort(Collections.java:175)
> 	at org.eclipse.e4.ui.bindings.internal.ContextSet.<init>(ContextSet.java:77)
> 	at org.eclipse.e4.ui.bindings.internal.BindingTableManager.createContextSet(BindingTableManager.java:90)
> 	at org.eclipse.e4.ui.bindings.internal.BindingServiceImpl.setContextIds(BindingServiceImpl.java:177)
> 	at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:497)
> 	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
> 	at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:90)
> 	at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:111)
> 	at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:341)
> 	at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:356)
> 	at org.eclipse.e4.ui.internal.services.ContextContextService.activateContext(ContextContextService.java:56)
> 	at org.eclipse.ui.internal.contexts.ContextService.activateContext(ContextService.java:170)
> 	at org.eclipse.ui.internal.contexts.ContextService.activateContext(ContextService.java:102)
> 	at org.jboss.tools.openshift.internal.common.ui.explorer.OpenShiftExplorerView$Contexts.activate(OpenShiftExplorerView.java:201)
> 	at org.jboss.tools.openshift.internal.common.ui.explorer.OpenShiftExplorerView$OpenShiftExplorerContextsHandler$2.selectionChanged(OpenShiftExplorerView.java:187)
> 	at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:163)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> 	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
> 	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
> 	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
> 	at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2197)
> 	at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1228)
> 	at org.eclipse.ui.navigator.CommonViewer.handleSelect(CommonViewer.java:461)
> 	at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1257)
> 	at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:242)
> 	at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:236)
> 	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:408)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
> 	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
> 	at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:5045)
> 	at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5432)
> 	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> 	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
> 	at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1121)
> 	at org.eclipse.swt.widgets.Tree.mouseDownSuper(Tree.java:2066)
> 	at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1113)
> 	at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2571)
> 	at org.eclipse.swt.widgets.Tree.mouseDown(Tree.java:2034)
> 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5692)
> 	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> 	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
> 	at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2130)
> 	at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2337)
> 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5756)
> 	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> 	at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5193)
> 	at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5342)
> 	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
> 	at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3695)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> 	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> 	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:380)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> 	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:669)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list