[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
Tue Jun 28 10:34:00 EDT 2016


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

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

This error is thrown by VariablesHelper.replaceVariables while retrieving OpenShiftServerUtils.getSourcePath(server); That may be an independent issue, connection might exist but project jboss-eap-quickstarts be unavailable. [~adietish], can we throw a specific exception in VariablesHelper.replaceVariables to be caught here and shown in a user friendly way?

> 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.M2
>
>         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