[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
Wed Jun 29 17:33:00 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/29/16 5:32 PM:
-------------------------------------------------------------------

[~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 


was (Author: adietish):
[~scabanovich] I think that in this specific 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 imho. 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