[jbosstools-issues] [JBoss JIRA] (JBIDE-22639) Opening an Openshift3 server adapter when connection does not exists anymore causes NPE

Andre Dietisheim (JIRA) issues at jboss.org
Thu Jun 30 04:04:01 EDT 2016


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

Andre Dietisheim edited comment on JBIDE-22639 at 6/30/16 4:03 AM:
-------------------------------------------------------------------

[~scabanovich] IMHO the problem is not within VariablesHelper in this particular case. The root cause is that there's no connection for the editor. We should therefore display an appropriate error. That's what I did in https://github.com/jbosstools/jbosstools-openshift/pull/1243 


was (Author: adietish):
[~scabanovich] IMHO the problem is not within VariablesHelper in this particular case. The root cause is that there's no connection for the editor. We should therefore display an appropriate error and keep the editor section disabled. That's what I did in https://github.com/jbosstools/jbosstools-openshift/pull/1243 

> Opening an Openshift3 server adapter when connection does not exists anymore causes NPE
> ---------------------------------------------------------------------------------------
>
>                 Key: JBIDE-22639
>                 URL: https://issues.jboss.org/browse/JBIDE-22639
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift, server
>    Affects Versions: 4.4.0.Final
>            Reporter: Jeff MAURY
>             Fix For: 4.4.1.AM2
>
>         Attachments: non-existent-workspace-reference.png, screenshot-1.png
>
>
> ASSERT: create an Openshift3 connection
> ASSERT: create a server adapter from that connection
> ASSERT: delete the Openshift3 connection
> EXEC: open the server adapter
> ASSERT: NPE is thrown and dialog is displayed (see [^screenshot-1.png])



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


More information about the jbosstools-issues mailing list