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

Application Wizard: Cannot launch application wizard from File->New if theres no connection

    XMLWordPrintable

Details

    • Hide

      1. ASSERT: No connection in OpenShift Explorer view.
      2a. EXEC: Open menu File -> New -> OpenShift Application

      2b. Open Central
      3b. Click on OpenShift Application

      Show
      1. ASSERT: No connection in OpenShift Explorer view. 2a. EXEC: Open menu File -> New -> OpenShift Application 2b. Open Central 3b. Click on OpenShift Application
    • Hide

      Create a connection before launching application wizard from central

      Show
      Create a connection before launching application wizard from central

    Description

      If there is no presented connection in OpenShift Explorer than attempts to create new OpenShift application from menu File - New or from Central cause errors.

      Open from menu cause error message - see attached file.
      Open from central cause error in error log.

      Error Log
       
      org.eclipse.core.runtime.CoreException: Plug-in "org.jboss.tools.openshift.express.ui" was unable to instantiate class "org.jboss.tools.openshift.express.internal.ui.wizard.application.NewOpenShiftApplicationWizard".
      	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
      	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:186)
      	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
      	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
      	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
      	at org.jboss.tools.central.editors.GettingStartedPage.createExtension(GettingStartedPage.java:710)
      	at org.jboss.tools.central.editors.GettingStartedPage.openWizard(GettingStartedPage.java:631)
      	at org.jboss.tools.central.editors.GettingStartedPage.access$11(GettingStartedPage.java:630)
      	at org.jboss.tools.central.editors.GettingStartedPage$6.linkActivated(GettingStartedPage.java:602)
      	at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleActivate(AbstractHyperlink.java:233)
      	at org.eclipse.ui.forms.widgets.ImageHyperlink.handleActivate(ImageHyperlink.java:199)
      	at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleMouseUp(AbstractHyperlink.java:327)
      	at org.eclipse.ui.forms.widgets.AbstractHyperlink.access$2(AbstractHyperlink.java:311)
      	at org.eclipse.ui.forms.widgets.AbstractHyperlink$4.handleEvent(AbstractHyperlink.java:125)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4423)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3771)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3391)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1122)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1006)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:146)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:615)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:566)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:125)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:109)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:80)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:372)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:226)
      	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:606)
      	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)
      Caused by: java.lang.NullPointerException
      	at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizardModel.update(OpenShiftApplicationWizardModel.java:516)
      	at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizardModel.setConnection(OpenShiftApplicationWizardModel.java:476)
      	at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizardModel.<init>(OpenShiftApplicationWizardModel.java:71)
      	at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizard.<init>(OpenShiftApplicationWizard.java:82)
      	at org.jboss.tools.openshift.express.internal.ui.wizard.application.NewOpenShiftApplicationWizard.<init>(NewOpenShiftApplicationWizard.java:32)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      	at java.lang.Class.newInstance(Class.java:374)
      	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
      	... 39 more
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: