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

Viacheslav Kabanovich (JIRA) issues at jboss.org
Thu Jun 23 10:25:00 EDT 2016


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

Viacheslav Kabanovich commented on JBIDE-22639:
-----------------------------------------------

[~jeffmaury], [~adietish], please take a look at the pull request.
Since there was already the check for null connection, the editor allows for that case. However, when connection is removed by user, could it make sense to remove also all server adapters based on that connection? If you agree, I would open an issue for that.

> 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.S117
>
>         Attachments: 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