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

openshift application explorer crashes on focus

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.16.0.Final
    • Fix Version/s: 4.16.0.Final
    • Component/s: openshift
    • Labels:
      None

      Description

      When trying to open the openShift application explorer view, nothing is shown and a stack is produced: 

       

      eclipse.buildId=12.16.0.GA-v20200706-1011-B6602
      java.version=1.8.0_232
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=fr_FR
      Framework arguments: -application org.eclipse.ui.ide.workbench -product com.jboss.devstudio.core.product
      Command-line arguments: -os linux -ws gtk -arch x86_64 -application org.eclipse.ui.ide.workbench -product com.jboss.devstudio.core.product
      org.eclipse.ui.navigator
      Error
      Tue Jul 07 10:05:45 CEST 2020
      Plug-in "org.jboss.tools.openshift.ui" was unable to instantiate class "org.jboss.tools.openshift.internal.ui.applicationexplorer.OpenShiftApplicationExplorerContentProvider".
      org.eclipse.core.runtime.CoreException: Plug-in "org.jboss.tools.openshift.ui" was unable to instantiate class "org.jboss.tools.openshift.internal.ui.applicationexplorer.OpenShiftApplicationExplorerContentProvider".
       at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:212)
       at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:206)
       at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:923)
       at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:246)
       at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:63)
       at org.eclipse.ui.internal.navigator.extensions.NavigatorContentDescriptor.createContentProvider(NavigatorContentDescriptor.java:370)
       at org.eclipse.ui.internal.navigator.extensions.NavigatorContentExtension$1.run(NavigatorContentExtension.java:114)
       at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
       at org.eclipse.ui.internal.navigator.extensions.NavigatorContentExtension.internalGetContentProvider(NavigatorContentExtension.java:109)
       at org.eclipse.ui.internal.navigator.NavigatorContentService.extractContentProviders(NavigatorContentService.java:1110)
       at org.eclipse.ui.internal.navigator.NavigatorContentService.updateService(NavigatorContentService.java:360)
       at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.inputChanged(NavigatorContentServiceContentProvider.java:113)
       at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:278)
       at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1634)
       at org.eclipse.ui.navigator.CommonNavigator.createPartControl(CommonNavigator.java:205)
       at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:154)
       at org.eclipse.ui.internal.e4.compatibility.CompatibilityView.createPartControl(CompatibilityView.java:155)
       at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:361)
       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:498)
       at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
       at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:999)
       at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:964)
       at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:140)
       at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:405)
       at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:332)
       at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:202)
       at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:91)
       at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:60)
       at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:42)
       at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:132)
       at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:1000)
       at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:660)
       at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$1.run(PartRenderingEngine.java:545)
       at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
       at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:529)
       at org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer.createWidget(ElementReferenceRenderer.java:73)
       at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:1000)
       at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:660)
       at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:766)
       at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:737)
       at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:731)
       at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
       at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:715)
       at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1294)
       at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.lambda$0(LazyStackRenderer.java:75)
       at org.eclipse.e4.ui.services.internal.events.UIEventHandler.lambda$0(UIEventHandler.java:38)
       at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:236)
       at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:133)
       at org.eclipse.swt.widgets.Display.syncExec(Display.java:5795)
       at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:219)
       at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
       at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:205)
       at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:203)
       at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
       at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
       at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
       at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:132)
       at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:75)
       at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:44)
       at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:55)
       at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63)
       at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424)
       at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElementGen(ElementContainerImpl.java:170)
       at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:188)
       at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.lambda$3(StackRenderer.java:1060)
       at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:84)
       at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
       at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
       at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5685)
       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1423)
       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1449)
       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1432)
       at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1221)
       at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3241)
       at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1879)
       at org.eclipse.swt.custom.CTabFolder.lambda$0(CTabFolder.java:330)
       at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
       at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5685)
       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1423)
       at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4953)
       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4446)
       at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1158)
       at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
       at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1047)
       at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
       at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:658)
       at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
       at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:557)
       at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:154)
       at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150)
       at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
       at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
       at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
       at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
       at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
       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:498)
       at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
       at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
       at org.eclipse.equinox.launcher.Main.run(Main.java:1447)
       at org.eclipse.equinox.launcher.Main.main(Main.java:1420)
      Caused by: java.lang.reflect.InvocationTargetException
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
       at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:204)
       ... 104 more
      Caused by: java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/JsonProcessingException
       at io.fabric8.kubernetes.client.Config.tryKubeConfig(Config.java:483)
       at io.fabric8.kubernetes.client.Config.autoConfigure(Config.java:224)
       at io.fabric8.kubernetes.client.Config.<init>(Config.java:208)
       at io.fabric8.kubernetes.client.ConfigBuilder.<init>(ConfigBuilder.java:16)
       at io.fabric8.kubernetes.client.ConfigBuilder.<init>(ConfigBuilder.java:13)
       at org.jboss.tools.openshift.internal.ui.models.applicationexplorer.ApplicationExplorerUIModel$ClusterInfo.loadClient(ApplicationExplorerUIModel.java:79)
       at org.jboss.tools.openshift.internal.ui.models.applicationexplorer.ApplicationExplorerUIModel$ClusterInfo.<init>(ApplicationExplorerUIModel.java:65)
       at org.jboss.tools.openshift.internal.ui.models.applicationexplorer.ApplicationExplorerUIModel.<init>(ApplicationExplorerUIModel.java:129)
       at org.jboss.tools.openshift.internal.ui.models.applicationexplorer.ApplicationExplorerUIModel.getInstance(ApplicationExplorerUIModel.java:59)
       at org.jboss.tools.openshift.internal.ui.applicationexplorer.OpenShiftApplicationExplorerContentProvider.<init>(OpenShiftApplicationExplorerContentProvider.java:44)
       ... 109 more
      Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.core.JsonProcessingException cannot be found by org.jboss.tools.openshift.client_3.11.0.Final-v20200703-1427-B5862
       at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:516)
       at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:171)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
       ... 119 more
       
      

       

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  stephane.bouchet Stephane Bouchet
                  Reporter:
                  stephane.bouchet Stephane Bouchet
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: