Details
-
Bug
-
Resolution: Done
-
Major
-
4.2.0.Alpha2
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.
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
- duplicates
-
JBIDE-16857 Application wizard: Could not open OpenShift wizard
- Closed
-
JBIDE-16917 Application wizard: NPE if I remove the first connection in the explorer and launch the wizard
- Closed
-
JBIDE-16892 NPE when trying to create Openshift Application when offline
- Closed
- is cloned by
-
JBIDE-16872 Application Wizard: Cannot launch application wizard from File->New if theres no connection
- Closed