[jbosstools-issues] [JBoss JIRA] (JBIDE-20458) NPE when creating an application

Jeff Cantrill (JIRA) issues at jboss.org
Wed Aug 19 10:11:26 EDT 2015


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

Jeff Cantrill commented on JBIDE-20458:
---------------------------------------

[~rafabene] I am unable to reproduce using code from master against a server I stood up locally using the latest templates and v1.0.4 of openshift.  Hopefully this is just an issue in the staging environment.  A new environment is supposed to be available today.  Please keep an eye out for the email and try again to see if you can reproduce.

> NPE when creating an application
> --------------------------------
>
>                 Key: JBIDE-20458
>                 URL: https://issues.jboss.org/browse/JBIDE-20458
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.3.0.Beta2
>            Reporter: Rafael Benevides
>            Assignee: Jeff Cantrill
>              Labels: application_wizard
>             Fix For: 4.3.0.CR1
>
>
> I followed the wizard to create an application and it fired the NPE at the end.
> Template: eap6-basic-sti
> An internal error occurred during: "Create Application From Template Job".
> {code}
> java.lang.NullPointerException
> 	at com.openshift.internal.util.JBossDmrExtentions.asString(JBossDmrExtentions.java:77)
> 	at com.openshift.internal.restclient.model.KubernetesResource.asString(KubernetesResource.java:242)
> 	at com.openshift.internal.restclient.model.KubernetesResource.getName(KubernetesResource.java:147)
> 	at com.openshift.internal.restclient.DefaultClient.create(DefaultClient.java:186)
> 	at com.openshift.internal.restclient.DefaultClient.create(DefaultClient.java:170)
> 	at com.openshift.internal.restclient.capability.server.ServerTemplateProcessing.process(ServerTemplateProcessing.java:50)
> 	at com.openshift.internal.restclient.capability.server.ServerTemplateProcessing.process(ServerTemplateProcessing.java:29)
> 	at com.openshift.internal.restclient.capability.resources.ProjectTemplateProcessing.process(ProjectTemplateProcessing.java:52)
> 	at org.jboss.tools.openshift.internal.ui.job.CreateApplicationFromTemplateJob$1.visit(CreateApplicationFromTemplateJob.java:64)
> 	at org.jboss.tools.openshift.internal.ui.job.CreateApplicationFromTemplateJob$1.visit(CreateApplicationFromTemplateJob.java:1)
> 	at com.openshift.internal.restclient.model.KubernetesResource.accept(KubernetesResource.java:75)
> 	at org.jboss.tools.openshift.internal.ui.job.CreateApplicationFromTemplateJob.doRun(CreateApplicationFromTemplateJob.java:58)
> 	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)
> {code}



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


More information about the jbosstools-issues mailing list