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

OpenShift Explorer: NPE when launching "New OpenShift Application"

XMLWordPrintable

    • Hide
      1. ASSERT: make sure you have a user without a domain
      2. EXEC: in the OpenShift Explorer, pick New OpenShift Application in the context menu

      Result:
      You get the Application Configuration Page that opens an error when it tries to load the existing applications and the gears.

      In the log you'll see the following stacktrace:

      java.lang.NullPointerException
      	at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationConfigurationWizardPageModel.loadGearProfiles(ApplicationConfigurationWizardPageModel.java:237)
      	at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationConfigurationWizardPage$12.run(ApplicationConfigurationWizardPage.java:711)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      
      java.lang.NullPointerException
      	at org.jboss.tools.openshift.express.internal.core.console.UserDelegate.getApplications(UserDelegate.java:150)
      	at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationConfigurationWizardPageModel.loadExistingApplications(ApplicationConfigurationWizardPageModel.java:160)
      	at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationConfigurationWizardPage$9.run(ApplicationConfigurationWizardPage.java:670)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      

      Expected result:
      You get the Create Domain dialog that allows you to create the domain.

      The link in central OpenShift Application works fine. YOu get the Domain Creation dialog and no NPE in the Application Configuration Page.

      Show
      ASSERT: make sure you have a user without a domain EXEC: in the OpenShift Explorer , pick New OpenShift Application in the context menu Result: You get the Application Configuration Page that opens an error when it tries to load the existing applications and the gears. In the log you'll see the following stacktrace: java.lang.NullPointerException at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationConfigurationWizardPageModel.loadGearProfiles(ApplicationConfigurationWizardPageModel.java:237) at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationConfigurationWizardPage$12.run(ApplicationConfigurationWizardPage.java:711) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) java.lang.NullPointerException at org.jboss.tools.openshift.express.internal.core.console.UserDelegate.getApplications(UserDelegate.java:150) at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationConfigurationWizardPageModel.loadExistingApplications(ApplicationConfigurationWizardPageModel.java:160) at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationConfigurationWizardPage$9.run(ApplicationConfigurationWizardPage.java:670) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Expected result: You get the Create Domain dialog that allows you to create the domain. The link in central OpenShift Application works fine. YOu get the Domain Creation dialog and no NPE in the Application Configuration Page .
    • Hide

      Use the link in central (or the new wizard File->New->Other->OpenShift) to create a new application on OpenShift

      Show
      Use the link in central (or the new wizard File->New->Other->OpenShift) to create a new application on OpenShift
    • Not Required

          ljelinko@redhat.com Lucia Jelinkova (Inactive)
          adietish@redhat.com André Dietisheim
          Isaac Rooskov Isaac Rooskov (Inactive)
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

            Created:
            Updated:
            Resolved: