[jbosstools-issues] [JBoss JIRA] (JBIDE-24453) NoClassDefFoundError below CDKDockerUtility.<init> (thrown in DockerClientFactory.getClient)

Andre Dietisheim (JIRA) issues at jboss.org
Mon May 29 05:09:00 EDT 2017


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

Andre Dietisheim edited comment on JBIDE-24453 at 5/29/17 5:08 AM:
-------------------------------------------------------------------

[~rob.stryker] I cant either, I created this from a repeatedly reported issue in aeri, see? 
My rough guess is that we have a faulty installation of an unknown type (the docker client library could not found apparently.) But there might be other reasons. [~xcoulon] [~jjohnstn] does this ring any bells to you?
The first code occurrence on our side of the trenches is at 
{code}
DockerConnectionManager.reloadConnections(DockerConnectionManager.java:60)
{code}
The least we should do is to make sure is to verify that we properly display an error to the user. We should also maybe try to reach out to the users for more informations.  But what do I tell you?


was (Author: adietish):
[~rob.stryker] I cant either, I created this from a repeatedly reported issue in aeri, see? 
My rough guess is that we have a faulty installation of an unknown type (the docker client library could not found apparently.) But there might be other reasons. [~xcoulon] does this ring any bells to you?
The first code occurrence on our side of the trenches is at 
{code}
DockerConnectionManager.reloadConnections(DockerConnectionManager.java:60)
{code}
The least we should do is to make sure is to verify that we properly display an error to the user. We should also maybe try to reach out to the users for more informations.  But what do I tell you?

> NoClassDefFoundError below CDKDockerUtility.<init> (thrown in DockerClientFactory.getClient)
> --------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-24453
>                 URL: https://issues.jboss.org/browse/JBIDE-24453
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdk
>            Reporter: Automated Error Reporting Bot
>            Assignee: Andre Dietisheim
>             Fix For: 4.5.0.AM1
>
>
> The following problem was reported via the automated error reporting:
> Message: Problems occurred when invoking code from plug-in: "org.eclipse.jface".
> java.lang.NoClassDefFoundError: Could not initialize class com.spotify.docker.client.DefaultDockerClient
>     at org.eclipse.linuxtools.internal.docker.core.DockerClientFactory.getClient(DockerClientFactory.java:66)
>     at org.eclipse.linuxtools.internal.docker.core.DockerClientFactory.getClient(DockerClientFactory.java:47)
>     at org.eclipse.linuxtools.internal.docker.core.DockerConnection.open(DockerConnection.java:252)
>     at org.eclipse.linuxtools.internal.docker.core.DefaultTCPConnectionSettingsProvider.getConnectionSettings(DefaultTCPConnectionSettingsProvider.java:30)
>     at org.eclipse.linuxtools.internal.docker.core.DefaultDockerConnectionSettingsFinder.getKnownConnectionSettings(DefaultDockerConnectionSettingsFinder.java:265)
>     at org.eclipse.linuxtools.docker.core.DockerConnectionManager.reloadConnections(DockerConnectionManager.java:60)
>     at org.eclipse.linuxtools.docker.core.DockerConnectionManager.<init>(DockerConnectionManager.java:50)
>     at org.eclipse.linuxtools.docker.core.DockerConnectionManager.getInstance(DockerConnectionManager.java:44)
>     at org.jboss.tools.openshift.cdk.server.core.internal.listeners.CDKDockerUtility.<init>(CDKDockerUtility.java:29)
>     at org.jboss.tools.openshift.cdk.server.ui.internal.view.CDKActionProvider$ShowInDockerViewAfterStartupAction.adaptToViewItem(CDKActionProvider.java:104)
>     at org.jboss.tools.openshift.cdk.server.ui.internal.view.CDKActionProvider$ShowInViewAfterStartupAction.accept(CDKActionProvider.java:182)
>     at org.eclipse.wst.server.ui.internal.view.servers.AbstractServerAction.selectionChanged(AbstractServerAction.java:85)
>     at org.jboss.tools.openshift.cdk.server.ui.internal.view.CDKActionProvider$ShowInViewAfterStartupAction.selectionChanged(CDKActionProvider.java:198)
>     at org.eclipse.ui.actions.SelectionProviderAction.selectionChanged(SelectionProviderAction.java:144)
>     at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:158)
>     at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>     at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
>     at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
>     at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:155)
>     at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2191)
>     at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1728)
>     at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1077)
>     at org.eclipse.ui.navigator.CommonViewer.setSelection(CommonViewer.java:370)
>     at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:383)
>     at org.eclipse.wst.server.ui.internal.cnf.ServerDecoratorsHandler$1.run(ServerDecoratorsHandler.java:58)
>     at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
>     at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
>     at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4203)
> The reporter(s) left the following comment(s):
> --- Anonymous wrote on 56e0: ---
> cannot select server in server view.
> Bundles:
> | org.eclipse.core.runtime | 3.12.0.v20160606-1342 | 3.12.0.v20160606-1342 |
> | org.eclipse.jface | 3.12.2.v20170113-2113 | 3.12.2.v20170113-2113 |
> | org.eclipse.linuxtools.docker.core | 2.1.0.201612072123 | 2.3.0.201703072040 |
> | org.eclipse.swt | 3.105.3.v20170228-0512 | 3.105.3.v20170228-0512 |
> | org.eclipse.ui | 3.108.1.v20160929-1045 | 3.108.1.v20160929-1045 |
> | org.eclipse.ui.navigator | 3.6.101.v20161006-1120 | 3.6.101.v20161006-1120 |
> | org.eclipse.wst.server.ui | 1.5.307.v201611072017 | 1.5.307.v201611072017 |
> | org.jboss.tools.openshift.cdk.server | 3.3.2.v20170216-0102 | 3.3.2.v20170216-0102 |
> Operating Systems:
> | Linux | 3.12.67 | 3.16.0 |
> | MacOSX | 10.12.3 | 10.12.4 |
> | Windows | 6.1.0 | 10.0.0 |
> The above information is a snapshot of the collected data. Visit https://aer.ctrlflow.com/redhat/reviewers/#!/problems/581a1e4ae4b0e3eea949ea84 for the latest data.
> Thank you for your assistance.
>  Your friendly error-reports-inbox.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list