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

    Details

    • Steps to Reproduce:
      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)
    • Workaround Description:
      Hide

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

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

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                adietish André Dietisheim
                Reporter:
                adietish André Dietisheim
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: