[jbosstools-issues] [JBoss JIRA] (JBIDE-20290) Projects wizard: NPE when deleting a project

Andre Dietisheim (JIRA) issues at jboss.org
Thu Jul 16 07:09:02 EDT 2015


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

Andre Dietisheim commented on JBIDE-20290:
------------------------------------------

I detected the problem:
The OpenShiftExplorerContentProvider tries to refresh the inexistent ResourceGrouping for a project. Projects are not children of ResourceGroupings, this thus fails.
The lookup for the ResourceGrouping in the map for the given project returns null, causing #refreshGrouping to npe.
{code:title=OpenShiftExplorerContentProvider#handleConnectionChanged}
refreshGrouping(groupMap.get(resource.getProject()), resource.getKind())
{code}

> 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