[jbosstools-issues] [JBoss JIRA] (JBIDE-20043) Explorer: if I delete a resource the whole tree gets collapsed, I lose my selection

Andre Dietisheim (JIRA) issues at jboss.org
Fri Jun 19 11:25:03 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-20043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13081715#comment-13081715 ] 

Andre Dietisheim commented on JBIDE-20043:
------------------------------------------

With the PR in place I now get an NPE when deleting a resource:

!npe-when-deleting-resource.png!

In the Eclipse log I see the following:
{code}
java.lang.NullPointerException
	at org.jboss.tools.openshift.internal.ui.explorer.OpenShiftExplorerContentProvider.refreshGrouping(OpenShiftExplorerContentProvider.java:83)
	at org.jboss.tools.openshift.internal.ui.explorer.OpenShiftExplorerContentProvider.handleConnectionChanged(OpenShiftExplorerContentProvider.java:58)
	at org.jboss.tools.openshift.internal.common.ui.explorer.BaseExplorerContentProvider$ConnectionsRegistryListener.connectionChanged(BaseExplorerContentProvider.java:217)
	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.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
{code}

> Explorer: if I delete a resource the whole tree gets collapsed, I lose my selection
> -----------------------------------------------------------------------------------
>
>                 Key: JBIDE-20043
>                 URL: https://issues.jboss.org/browse/JBIDE-20043
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.3.0.Beta1
>            Reporter: Andre Dietisheim
>            Assignee: Jeff Cantrill
>              Labels: openshift_v3
>             Fix For: 4.3.0.Beta2
>
>         Attachments: npe-when-deleting-resource.png
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list