[jbosstools-issues] [JBoss JIRA] (JBIDE-20417) NPE while trying to create an OpenShift project

Fred Bricon (JIRA) issues at jboss.org
Tue Aug 4 18:13:01 EDT 2015


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

Fred Bricon updated JBIDE-20417:
--------------------------------
    Description: 
I'm running OS3 as a vagrant image (https://github.com/jcantrill/jctoolbox/blob/jimmi_based_box/openshift/Vagrantfile)

When trying to create an openshift project, I get an exception when clicking finish :

!http://content.screencast.com/users/fbricon/folders/Jing/media/2ce1f1c3-892d-4f25-a991-bba7af592aa5/00000136.png|width=600!

{noformat}
java.lang.NullPointerException
	at org.jboss.tools.openshift.internal.ui.wizard.project.NewProjectWizard$1.doRun(NewProjectWizard.java:52)
	at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
{noformat}

The NPE actually occurs in a catch block, where e.getStatus() is null:

{code}
} catch (OpenShiftException e) {
					return	OpenShiftUIActivator.statusFactory().errorStatus(
							NLS.bind("Could not create project \"{0}\": {1}", getModel().getProjectName(), e.getStatus().getMessage()), e);
				}
{code}

  was:
I'm running OS3 as a vagrant image (https://github.com/jcantrill/jctoolbox/blob/jimmi_based_box/openshift/Vagrantfile)

When trying to create an openshift project, I get an exception when clicking finish :

!http://content.screencast.com/users/fbricon/folders/Jing/media/2ce1f1c3-892d-4f25-a991-bba7af592aa5/00000136.png|width=600!

The NPE actually occurs in a catch block, where e.getStatus() is null



> NPE while trying to create an OpenShift project
> -----------------------------------------------
>
>                 Key: JBIDE-20417
>                 URL: https://issues.jboss.org/browse/JBIDE-20417
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.3.0.Beta2
>            Reporter: Fred Bricon
>
> I'm running OS3 as a vagrant image (https://github.com/jcantrill/jctoolbox/blob/jimmi_based_box/openshift/Vagrantfile)
> When trying to create an openshift project, I get an exception when clicking finish :
> !http://content.screencast.com/users/fbricon/folders/Jing/media/2ce1f1c3-892d-4f25-a991-bba7af592aa5/00000136.png|width=600!
> {noformat}
> java.lang.NullPointerException
> 	at org.jboss.tools.openshift.internal.ui.wizard.project.NewProjectWizard$1.doRun(NewProjectWizard.java:52)
> 	at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> {noformat}
> The NPE actually occurs in a catch block, where e.getStatus() is null:
> {code}
> } catch (OpenShiftException e) {
> 					return	OpenShiftUIActivator.statusFactory().errorStatus(
> 							NLS.bind("Could not create project \"{0}\": {1}", getModel().getProjectName(), e.getStatus().getMessage()), e);
> 				}
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list