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

Marián Labuda (JIRA) issues at jboss.org
Thu Aug 13 07:35:02 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-20417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13097975#comment-13097975 ] 

Marián Labuda commented on JBIDE-20417:
---------------------------------------

It is because of access (authorization). User you are using does not have rights to create a new project, because cluster is something like top level access. We were having some issues related to scope of user/access rights/authorization because of cluster and there were done some fixes over time, but it seems that it is still happening :-/

> 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
>            Assignee: Fred Bricon
>              Labels: openshift_v3
>             Fix For: 4.3.0.CR1
>
>
> 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