[jbosstools-issues] [JBoss JIRA] (JBIDE-20290) Projects wizard: NPE when deleting a project
Andre Dietisheim (JIRA)
issues at jboss.org
Thu Jul 16 07:01:04 EDT 2015
[ https://issues.jboss.org/browse/JBIDE-20290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andre Dietisheim updated JBIDE-20290:
-------------------------------------
Steps to Reproduce:
# ASSERT: make sure that you have a connection to a v3 OpenShift server
# ASSERT: make sure that you have at least 1 project in your v3 OpenShift server
# EXEC: in Explorer: pick "Manage Projects" in the context menu to your connection
# ASSERT: OpenShift projects wizard pops up listing your project(s)
# EXEC: select a project and hit "Remove..."
Result:
!npe-deleting-resource.png!
An error dialog pops up and reports an NPE.
In Eclipse log one can see the following:
{code}
java.lang.NullPointerException
at org.jboss.tools.openshift.internal.ui.explorer.OpenShiftExplorerContentProvider.getResourceGrouping(OpenShiftExplorerContentProvider.java:126)
at org.jboss.tools.openshift.internal.ui.explorer.OpenShiftExplorerContentProvider.refreshGrouping(OpenShiftExplorerContentProvider.java:119)
at org.jboss.tools.openshift.internal.ui.explorer.OpenShiftExplorerContentProvider.handleConnectionChanged(OpenShiftExplorerContentProvider.java:65)
at org.jboss.tools.openshift.internal.common.ui.explorer.BaseExplorerContentProvider$ConnectionsRegistryListener.connectionChanged(BaseExplorerContentProvider.java:260)
at org.jboss.tools.openshift.common.core.connection.ConnectionsRegistry.fireChange(ConnectionsRegistry.java:158)
at org.jboss.tools.openshift.common.core.connection.ConnectionsRegistry.fireConnectionChanged(ConnectionsRegistry.java:116)
at org.jboss.tools.openshift.internal.ui.job.DeleteResourceJob.doRun(DeleteResourceJob.java:48)
at org.jboss.tools.openshift.internal.ui.wizard.project.ManageProjectsWizardPage$3$1.doRun(ManageProjectsWizardPage.java:177)
at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
{code}
was:
# ASSERT: make sure that you have a connection to a v3 OpenShift server
# ASSERT: make sure that you have at least 1 project in your v3 OpenShift server
# EXEC: in Explorer: pick "Manage Projects" in the context menu to your connection
# ASSERT: OpenShift projects wizard pops up listing your project(s)
# EXEC: select a project and hit "Remove..."
Result:
!npe-deleting-resource.png!
An error dialog pops up and reports an NPE.
> Projects wizard: NPE when deleting a project
> --------------------------------------------
>
> Key: JBIDE-20290
> URL: https://issues.jboss.org/browse/JBIDE-20290
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.0.Beta2
> Reporter: Andre Dietisheim
> Assignee: Jeff Cantrill
> Priority: Critical
> Fix For: 4.3.0.Beta2
>
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jbosstools-issues
mailing list