[jbosstools-issues] [JBoss JIRA] (JBIDE-21125) There was an error retrieving children in the OpenShift explorer Unable to find the connection for a %s named %s

Andre Dietisheim (JIRA) issues at jboss.org
Wed Dec 2 11:05:00 EST 2015


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

Andre Dietisheim commented on JBIDE-21125:
------------------------------------------

I see the error being used in:

{code}
	public ConnectionNotFoundException(IResource resource) {
		super("Unable to find the connection for a {0} named {1}", resource.getKind(), resource.getName());
	}
{code}

which is throws when a connection for a given resource is being looked up:

{code}
public class ConnectionsRegistryUtil {
	...
	public static Connection getConnectionFor(IResource resource) {
		Connection connection = safeGetConnectionFor(resource);
		if(connection == null) {
				throw new ConnectionNotFoundException(resource);
		}
		return connection;
	}
{code}
which is being used in various places upon application creation. It compares client lib instances which I guess can change upon re-connects.
I also see this being used in other related places like explorer watches etc.

I'd love to get more repdroducible details on when this happens to you.

> There was an error retrieving children in the OpenShift explorer Unable to find the connection for a %s named %s
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-21125
>                 URL: https://issues.jboss.org/browse/JBIDE-21125
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>            Reporter: Burr Sutter
>             Fix For: 4.3.1.Beta1, 4.4.0.Alpha1
>
>
> Nightly Build from (Nov 20) 
> File New OpenShift Application 
> eap6-basic-sti 
> produces:
> There was an error retrieving children in the OpenShift explorer
> Unable to find the connection for a %s named %s
> This version of Openshift 
> https://github.com/hferentschik/openshift-vagrant
> oc version
> oc v3.1.0.4-3-ga6353c7
> kubernetes v1.1.0-origin-1107-g4c8e6f4



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


More information about the jbosstools-issues mailing list