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

application wizard: domain and gear-profile disabled, application creation fails with NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.1.1.Beta1, 4.2.0.Alpha1
    • 4.1.1.Beta1, 4.2.0.Alpha1
    • openshift
    • None
    • Hide
      1. ASSERT: make sure you have an account without domain
      2. EXEC: launch application wizard (ex. via context-menu in OpenShift Explorer)
      3. ASSERT: you get the domain dialog presented, get prompted to provide a domain name
      4. ASSERT: once you gave the required domain name, you get the application creation wizard
      5. ASSERT: it has the domain combo and the gear-profiles disabled:
      6. EXEC: provide some name and finish the wizard

      Result:

      In the Eclipse log you'll spot the following:

      java.lang.NullPointerException
      	at org.jboss.tools.openshift.express.internal.ui.job.CreateApplicationJob.safeRefreshDomain(CreateApplicationJob.java:128)
      	at org.jboss.tools.openshift.express.internal.ui.job.CreateApplicationJob.doRun(CreateApplicationJob.java:96)
      	at org.jboss.tools.openshift.express.internal.ui.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      
      
      Show
      ASSERT: make sure you have an account without domain EXEC: launch application wizard (ex. via context-menu in OpenShift Explorer) ASSERT: you get the domain dialog presented, get prompted to provide a domain name ASSERT: once you gave the required domain name, you get the application creation wizard ASSERT: it has the domain combo and the gear-profiles disabled: EXEC: provide some name and finish the wizard Result: In the Eclipse log you'll spot the following: java.lang.NullPointerException at org.jboss.tools.openshift.express.internal.ui.job.CreateApplicationJob.safeRefreshDomain(CreateApplicationJob.java:128) at org.jboss.tools.openshift.express.internal.ui.job.CreateApplicationJob.doRun(CreateApplicationJob.java:96) at org.jboss.tools.openshift.express.internal.ui.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
    • Hide

      close the wizard and start again. the error wont happen again.

      Show
      close the wizard and start again. the error wont happen again.

            adietish@redhat.com André Dietisheim
            adietish@redhat.com André Dietisheim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: