[jbosstools-issues] [JBoss JIRA] (JBIDE-22301) Application wizard: NPE from eclipse project with no remote git reference.

Andre Dietisheim (JIRA) issues at jboss.org
Thu Jun 2 15:49:00 EDT 2016


     [ https://issues.jboss.org/browse/JBIDE-22301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-22301:
-------------------------------------
    Git Pull Request: https://github.com/jbosstools/jbosstools-openshift/pull/1140, https://github.com/jbosstools/jbosstools-openshift/pull/1205  (was: https://github.com/jbosstools/jbosstools-openshift/pull/1140)


> Application wizard: NPE from eclipse project with no remote git reference.
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-22301
>                 URL: https://issues.jboss.org/browse/JBIDE-22301
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.4.0.Alpha1
>         Environment: JBDS 10.0.0.Alpha1
>            Reporter: Radim Hopp
>            Assignee: Viacheslav Kabanovich
>              Labels: application_wizard, openshift_v3
>             Fix For: 4.4.0.Alpha2
>
>         Attachments: paramter-page-invalid.png
>
>
> Trying to finish new openshift application wizard using existing aplication from workspace without remote git repository fails with NPE:
> {noformat:title=Unhandled event loop exception}
> java.lang.NullPointerException
> 	at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizard.performFinish(NewApplicationWizard.java:194)
> 	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:790)
> 	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:423)
> 	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
> 	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:4494)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1339)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3832)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3443)
> 	at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
> 	at org.eclipse.jface.window.Window.open(Window.java:794)
> 	at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:287)
> 	at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:270)
> 	at org.jboss.tools.openshift.internal.ui.handler.NewApplicationHandler.execute(NewApplicationHandler.java:34)
> 	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
> 	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
> 	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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:54)
> 	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:282)
> 	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:264)
> 	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
> 	at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
> 	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
> 	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:491)
> 	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
> 	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:425)
> 	at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:449)
> 	at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem$3.handleEvent(AbstractContributionItem.java:477)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4494)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1339)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3832)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3443)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1118)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1019)
> 	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:157)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:691)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
> 	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:388)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> 	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:670)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:609)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1516)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1489)
> {noformat}



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


More information about the jbosstools-issues mailing list