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

NPE when creating a new Application using an existing connection

    Details

    • Steps to Reproduce:
      Hide
      1. ASSERT: make sure you have at least 1 connection defined in your workspace
      2. EXEC: launch New OpenShift Application wizard from the new wizards or from central
      3. EXEC: when prompted for the connection choose your connection, eventually fill-in the password (if you did not set it to get stored to secure storage)
      4. EXEC: hit next, get over to the application settings page.

      Result:
      The application settings page appears but an error dialog appears, informing you of an NPE:

      In the eclipse log, you'll spot the following:

      java.lang.NullPointerException
      	at org.jboss.tools.openshift.express.internal.ui.wizard.application.ApplicationConfigurationWizardPageModel.loadStandaloneCartridges(ApplicationConfigurationWizardPageModel.java:206)
      	at org.jboss.tools.openshift.express.internal.ui.wizard.application.ApplicationConfigurationWizardPage$10.run(ApplicationConfigurationWizardPage.java:722)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      
      
      Show
      ASSERT: make sure you have at least 1 connection defined in your workspace EXEC: launch New OpenShift Application wizard from the new wizards or from central EXEC: when prompted for the connection choose your connection, eventually fill-in the password (if you did not set it to get stored to secure storage) EXEC: hit next, get over to the application settings page. Result: The application settings page appears but an error dialog appears, informing you of an NPE: In the eclipse log, you'll spot the following: java.lang.NullPointerException at org.jboss.tools.openshift.express.internal.ui.wizard.application.ApplicationConfigurationWizardPageModel.loadStandaloneCartridges(ApplicationConfigurationWizardPageModel.java:206) at org.jboss.tools.openshift.express.internal.ui.wizard.application.ApplicationConfigurationWizardPage$10.run(ApplicationConfigurationWizardPage.java:722) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
    • Workaround Description:
      Hide

      switch from existing connection to "New Connection" and fill in your settings.

      Show
      switch from existing connection to "New Connection" and fill in your settings.

      Gliffy Diagrams

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: