Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-20345

Application wizard: Cannot create a new OpenShift v3 application on staging server from template

    Details

      Description

      If I want to create a new OpenShift v3 application from template on staging OpenShift v3 server, I got following error. The error is shown for application build from existing templates on the server and also from local templates (those one provided by user in New Application wizard). Creating a new OpenShift v3 application on staging server from OpenShift command line interface works fine.

      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)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                fbricon Fred Bricon
                Reporter:
                mlabuda Marián Labuda
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: