[jbosstools-issues] [JBoss JIRA] (JBIDE-11890) OpenShift Explorer: NPE when launching "New OpenShift Application"
Andre Dietisheim (JIRA)
jira-events at lists.jboss.org
Wed May 16 09:23:17 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-11890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andre Dietisheim updated JBIDE-11890:
-------------------------------------
Steps to Reproduce:
# ASSERT: make sure you have a user without a domain
# EXEC: in the *OpenShift Explorer*, pick *New OpenShift Application* in the context menu
!explorer-new-openshift-application.png!
Result:
You get the *Application Configuration Page* that opens an error when it tries to load the existing applications and the gears.
!npe-when-new-application.png!
In the log you'll see the following stacktrace:
{code}
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)
{code}
{code}
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)
{code}
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*.
was:
# ASSERT: make sure you have a user without a domain
# EXEC: in the *OpenShift Explorer*, pick *New OpenShift Application* in the context menu
!explorer-new-openshift-application.png!
Result:
You get the *Application Configuration Page* that opens an error when it tries to load the existing applications and the gears.
!npe-when-new-application.png!
In the log you'll see the following stacktrace:
{code}
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)
{code}
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*.
> OpenShift Explorer: NPE when launching "New OpenShift Application"
> ------------------------------------------------------------------
>
> Key: JBIDE-11890
> URL: https://issues.jboss.org/browse/JBIDE-11890
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Reporter: Andre Dietisheim
> Priority: Critical
> Attachments: explorer-new-openshift-application.png, npe-when-new-application.png
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list