[jbosstools-issues] [JBoss JIRA] (JBIDE-21875) NPE is thrown on OS 3 connection without any project on fresh start of IDE

Marián Labuda (JIRA) issues at jboss.org
Wed Mar 16 07:10:00 EDT 2016


     [ https://issues.jboss.org/browse/JBIDE-21875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marián Labuda resolved JBIDE-21875.
-----------------------------------
    Resolution: Done


> NPE is thrown on OS 3 connection without any project on fresh start of IDE
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-21875
>                 URL: https://issues.jboss.org/browse/JBIDE-21875
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.3.1.CR1
>            Reporter: Marián Labuda
>            Assignee: Marián Labuda
>            Priority: Blocker
>              Labels: connection, openshift_v3
>             Fix For: 4.4.0.Alpha1
>
>
> When I start IDE and I have not stored password/token in secure storage for an OpenShift 3 connection, I am prompted to fill in credentials. After successfully filling in and hiting Finish button, connection is established, but if connection does not contain any project beneath it, there is NPE thrown with following stack trace
> {code}
> There was an error retrieving children in the OpenShift explorer
> java.lang.NullPointerException
> 	at java.util.ArrayList.<init>(ArrayList.java:177)
> 	at org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectCache.getProjectsFor(OpenShiftProjectCache.java:73)
> 	at org.jboss.tools.openshift.internal.ui.explorer.OpenShiftExplorerContentProvider.getChildrenFor(OpenShiftExplorerContentProvider.java:93)
> 	at org.jboss.tools.openshift.internal.common.ui.explorer.BaseExplorerContentProvider$1.run(BaseExplorerContentProvider.java:167)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jbosstools-issues mailing list