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

Server adapter wizard: Error shows up on new OpenShift server adapter with clean connection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.3.0.CR1
    • 4.3.0.Beta2
    • openshift
    • None
    • Hide

      ASSERT: Have a connection in OpenShift explorer which does not have any domain nor applications.
      EXEC: Open New Server adapter wizard in servers view.
      EXEC: Select OpenShift Server adapter and proceed

      RESULT: Error pops up.
      EXPECTED RESULT: There is no error.

      Show
      ASSERT: Have a connection in OpenShift explorer which does not have any domain nor applications. EXEC: Open New Server adapter wizard in servers view. EXEC: Select OpenShift Server adapter and proceed RESULT: Error pops up. EXPECTED RESULT: There is no error.

      When I proceed through new OpenShift server adapter wizard and I am having a clean connection (no domains nor applications) I get following error.

      Problems occurred when invoking code from plug-in: "org.eclipse.jface".
      
      java.lang.NullPointerException
          at org.jboss.tools.openshift.express.internal.ui.server.OpenShiftServerWizardComposite.createErrorMessage(OpenShiftServerWizardComposite.java:565)
          at org.jboss.tools.openshift.express.internal.ui.server.OpenShiftServerWizardComposite.updateErrorMessage(OpenShiftServerWizardComposite.java:550)
          at org.jboss.tools.openshift.express.internal.ui.server.OpenShiftServerWizardComposite.access$17(OpenShiftServerWizardComposite.java:549)
          at org.jboss.tools.openshift.express.internal.ui.server.OpenShiftServerWizardComposite$9.selectionChanged(OpenShiftServerWizardComposite.java:413)
          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.setSelection(StructuredViewer.java:1733)
          at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:388)
          at org.jboss.tools.openshift.express.internal.ui.server.OpenShiftServerWizardComposite.selectApplicationCombo(OpenShiftServerWizardComposite.java:731)
          at org.jboss.tools.openshift.express.internal.ui.server.OpenShiftServerWizardComposite.initWidgets(OpenShiftServerWizardComposite.java:170)
          at org.jboss.tools.openshift.express.internal.ui.server.OpenShiftServerWizardComposite.<init>(OpenShiftServerWizardComposite.java:134)
          at org.jboss.tools.openshift.express.internal.ui.server.OpenShiftServerWizardFragment.createComposite(OpenShiftServerWizardFragment.java:63)
          at org.eclipse.wst.server.ui.internal.wizard.TaskWizardPage.createControl(TaskWizardPage.java:43)
          at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1216)
          at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1208)
          at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1197)
          at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
          at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1194)
          at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:885)
          at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:425)
          at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
          at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
          at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4481)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1327)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3819)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3430)
          at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
          at org.eclipse.jface.window.Window.open(Window.java:803)
          at org.eclipse.wst.server.ui.internal.cnf.ServersView2$1.widgetSelected(ServersView2.java:116)
          at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
          at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4481)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1327)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1351)
          at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1465)
          at org.eclipse.swt.widgets.Link.gtk_button_release_event(Link.java:372)
          at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1945)
          at org.eclipse.swt.widgets.Control.windowProc(Control.java:5590)
          at org.eclipse.swt.widgets.Display.windowProc(Display.java:4717)
          at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
          at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:9272)
          at org.eclipse.swt.widgets.Display.eventProc(Display.java:1225)
          at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
          at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2422)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3428)
          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:654)
          at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
          at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
          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)
      

            adietish@redhat.com André Dietisheim
            mlabuda_jira Marián Labuda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: