Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-3688

Failed to open the Docker explorer

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • 9.1.0.CR1
    • 9.1.0.CR1
    • docker
    • None
    • NEW

    Description

      On Windows 10, after installing JBDS with the CDK v2 Beta5, when opening the docker explorer, an error occurs:

      !SESSION 2016-03-18 19:13:06.981 -----------------------------------------------
      eclipse.buildId=9.1.0.CR1-v20160318-0804-B422
      java.version=1.8.0_74
      java.vendor=Oracle Corporation
      BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_FR
      Framework arguments:  -product com.jboss.devstudio.core.product
      Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product com.jboss.devstudio.core.product
      
      !ENTRY org.eclipse.mylyn.tasks.core 1 0 2016-03-18 19:17:27.066
      !MESSAGE Migrating task repository credentials from keyring.
      
      !ENTRY org.eclipse.egit.ui 2 0 2016-03-18 19:17:31.467
      !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
      user global configuration and to define the default location to store repositories: 'C:\Users\fbricon'. If this is
      not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
      EGit might behave differently since they see different configuration options.
      This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
      
      !ENTRY org.jboss.tools.openshift.core 1 0 2016-03-18 19:24:53.273
      !MESSAGE Unauthorized.  Trying to reauthenticate
      
      !ENTRY org.eclipse.osgi 2 0 2016-03-18 19:27:53.577
      !MESSAGE While loading class "org.glassfish.hk2.osgiresourcelocator.ResourceFinder", thread "Thread[Worker-22,5,main]" timed out waiting (5001ms) for thread "Thread[Worker-2,5,main]" to finish starting bundle "org.glassfish.hk2.osgi-resource-locator_2.3.0.b10_v201508191500 [880]". To avoid deadlock, thread "Thread[Worker-22,5,main]" is proceeding but "org.glassfish.hk2.osgiresourcelocator.ResourceFinder" may not be fully initialized.
      !STACK 0
      org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; osgi.identity="org.glassfish.hk2.osgi-resource-locator"; type="osgi.bundle"; version:Version="2.3.0.b10_v201508191500" [id=880] STARTED [STARTED]
      	at org.eclipse.osgi.container.Module.lockStateChange(Module.java:329)
      	at org.eclipse.osgi.container.Module.start(Module.java:389)
      	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:454)
      	at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
      	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:531)
      	at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:324)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:327)
      	at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:386)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
      	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
      	at java.lang.ClassLoader.loadClass(Unknown Source)
      	at org.glassfish.jersey.internal.l10n.Localizer.localize(Localizer.java:118)
      	at org.glassfish.jersey.client.internal.LocalizationMessages.CLIENT_INSTANCE_CLOSED(LocalizationMessages.java:27)
      	at org.glassfish.jersey.client.JerseyClient.checkNotClosed(JerseyClient.java:178)
      	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:190)
      	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:70)
      	at com.spotify.docker.client.DefaultDockerClient.resource(DefaultDockerClient.java:1051)
      	at com.spotify.docker.client.DefaultDockerClient.info(DefaultDockerClient.java:300)
      	at org.eclipse.linuxtools.internal.docker.core.DockerConnection.getInfo(DockerConnection.java:311)
      	at org.eclipse.linuxtools.internal.docker.ui.views.ConnectionInfoPropertySection$1.run(ConnectionInfoPropertySection.java:69)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      
      !ENTRY org.eclipse.osgi 2 0 2016-03-18 19:27:58.725
      !MESSAGE While loading class "org.glassfish.hk2.osgiresourcelocator.ServiceLoader", thread "Thread[Worker-22,5,main]" timed out waiting (5001ms) for thread "Thread[Worker-2,5,main]" to finish starting bundle "org.glassfish.hk2.osgi-resource-locator_2.3.0.b10_v201508191500 [880]". To avoid deadlock, thread "Thread[Worker-22,5,main]" is proceeding but "org.glassfish.hk2.osgiresourcelocator.ServiceLoader" may not be fully initialized.
      !STACK 0
      org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; osgi.identity="org.glassfish.hk2.osgi-resource-locator"; type="osgi.bundle"; version:Version="2.3.0.b10_v201508191500" [id=880] STARTED [STARTED]
      	at org.eclipse.osgi.container.Module.lockStateChange(Module.java:329)
      	at org.eclipse.osgi.container.Module.start(Module.java:389)
      	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:454)
      	at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
      	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:531)
      	at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:324)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:327)
      	at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:386)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
      	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
      	at java.lang.ClassLoader.loadClass(Unknown Source)
      	at org.glassfish.hk2.internal.ServiceLocatorFactoryImpl.getOSGiSafeGenerators(ServiceLocatorFactoryImpl.java:103)
      	at org.glassfish.hk2.internal.ServiceLocatorFactoryImpl.getGenerator(ServiceLocatorFactoryImpl.java:112)
      	at org.glassfish.hk2.internal.ServiceLocatorFactoryImpl.access$000(ServiceLocatorFactoryImpl.java:66)
      	at org.glassfish.hk2.internal.ServiceLocatorFactoryImpl$1.run(ServiceLocatorFactoryImpl.java:88)
      	at org.glassfish.hk2.internal.ServiceLocatorFactoryImpl$1.run(ServiceLocatorFactoryImpl.java:83)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at org.glassfish.hk2.internal.ServiceLocatorFactoryImpl.<init>(ServiceLocatorFactoryImpl.java:83)
      	at org.glassfish.hk2.api.ServiceLocatorFactory.<clinit>(ServiceLocatorFactory.java:51)
      	at org.glassfish.jersey.internal.inject.Injections.<clinit>(Injections.java:68)
      	at org.glassfish.jersey.internal.RuntimeDelegateImpl.<init>(RuntimeDelegateImpl.java:61)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      	at java.lang.reflect.Constructor.newInstance(Unknown Source)
      	at java.lang.Class.newInstance(Unknown Source)
      	at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:118)
      	at javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:225)
      	at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:135)
      	at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:120)
      	at javax.ws.rs.core.UriBuilder.newInstance(UriBuilder.java:95)
      	at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:106)
      	at org.glassfish.jersey.client.JerseyWebTarget.<init>(JerseyWebTarget.java:82)
      	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:192)
      	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:70)
      	at com.spotify.docker.client.DefaultDockerClient.resource(DefaultDockerClient.java:1051)
      	at com.spotify.docker.client.DefaultDockerClient.info(DefaultDockerClient.java:300)
      	at org.eclipse.linuxtools.internal.docker.core.DockerConnection.getInfo(DockerConnection.java:311)
      	at org.eclipse.linuxtools.internal.docker.ui.views.ConnectionInfoPropertySection$1.run(ConnectionInfoPropertySection.java:69)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      
      !ENTRY org.eclipse.core.jobs 4 2 2016-03-18 19:27:58.871
      !MESSAGE An internal error occurred during: "Loading connection info...".
      !STACK 0
      java.lang.RuntimeException: java.lang.ClassNotFoundException: Provider org.glassfish.jersey.internal.RuntimeDelegateImpl could not be instantiated: java.lang.IllegalStateException: No generator was provided and there is no default generator registered
      	at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:152)
      	at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:120)
      	at javax.ws.rs.core.UriBuilder.newInstance(UriBuilder.java:95)
      	at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:106)
      	at org.glassfish.jersey.client.JerseyWebTarget.<init>(JerseyWebTarget.java:82)
      	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:192)
      	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:70)
      	at com.spotify.docker.client.DefaultDockerClient.resource(DefaultDockerClient.java:1051)
      	at com.spotify.docker.client.DefaultDockerClient.info(DefaultDockerClient.java:300)
      	at org.eclipse.linuxtools.internal.docker.core.DockerConnection.getInfo(DockerConnection.java:311)
      	at org.eclipse.linuxtools.internal.docker.ui.views.ConnectionInfoPropertySection$1.run(ConnectionInfoPropertySection.java:69)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      Caused by: java.lang.ClassNotFoundException: Provider org.glassfish.jersey.internal.RuntimeDelegateImpl could not be instantiated: java.lang.IllegalStateException: No generator was provided and there is no default generator registered
      	at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:122)
      	at javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:225)
      	at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:135)
      	... 11 more
      Caused by: java.lang.IllegalStateException: No generator was provided and there is no default generator registered
      	at org.glassfish.hk2.internal.ServiceLocatorFactoryImpl.internalCreate(ServiceLocatorFactoryImpl.java:266)
      	at org.glassfish.hk2.internal.ServiceLocatorFactoryImpl.create(ServiceLocatorFactoryImpl.java:247)
      	at org.glassfish.jersey.internal.inject.Injections._createLocator(Injections.java:138)
      	at org.glassfish.jersey.internal.inject.Injections.createLocator(Injections.java:109)
      	at org.glassfish.jersey.internal.RuntimeDelegateImpl.<init>(RuntimeDelegateImpl.java:61)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      	at java.lang.reflect.Constructor.newInstance(Unknown Source)
      	at java.lang.Class.newInstance(Unknown Source)
      	at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:118)
      	... 13 more
      
      !ENTRY org.eclipse.core.jobs 4 2 2016-03-18 19:27:58.876
      !MESSAGE An internal error occurred during: "Loading containers...".
      !STACK 0
      java.lang.RuntimeException: java.lang.ClassNotFoundException: Provider org.glassfish.jersey.internal.RuntimeDelegateImpl could not be instantiated: java.lang.IllegalStateException: No generator was provided and there is no default generator registered
      	at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:152)
      	at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:120)
      	at javax.ws.rs.core.UriBuilder.newInstance(UriBuilder.java:95)
      	at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:106)
      	at org.glassfish.jersey.client.JerseyWebTarget.<init>(JerseyWebTarget.java:82)
      	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:192)
      	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:70)
      	at com.spotify.docker.client.DefaultDockerClient.resource(DefaultDockerClient.java:1051)
      	at com.spotify.docker.client.DefaultDockerClient.listContainers(DefaultDockerClient.java:307)
      	at org.eclipse.linuxtools.internal.docker.core.DockerConnection.listContainers(DockerConnection.java:542)
      	at org.eclipse.linuxtools.internal.docker.core.DockerConnection.getContainers(DockerConnection.java:435)
      	at org.eclipse.linuxtools.internal.docker.ui.views.DockerExplorerContentProvider$1.run(DockerExplorerContentProvider.java:168)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      Caused by: java.lang.ClassNotFoundException: Provider org.glassfish.jersey.internal.RuntimeDelegateImpl could not be instantiated: java.lang.IllegalStateException: No generator was provided and there is no default generator registered
      	at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:122)
      	at javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:225)
      	at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:135)
      	... 12 more
      Caused by: java.lang.IllegalStateException: No generator was provided and there is no default generator registered
      	at org.glassfish.hk2.internal.ServiceLocatorFactoryImpl.internalCreate(ServiceLocatorFactoryImpl.java:266)
      	at org.glassfish.hk2.internal.ServiceLocatorFactoryImpl.create(ServiceLocatorFactoryImpl.java:247)
      	at org.glassfish.jersey.internal.inject.Injections._createLocator(Injections.java:138)
      	at org.glassfish.jersey.internal.inject.Injections.createLocator(Injections.java:109)
      	at org.glassfish.jersey.internal.RuntimeDelegateImpl.<init>(RuntimeDelegateImpl.java:61)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      	at java.lang.reflect.Constructor.newInstance(Unknown Source)
      	at java.lang.Class.newInstance(Unknown Source)
      	at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:118)
      	... 14 more
      
      !ENTRY org.eclipse.core.jobs 4 2 2016-03-18 19:29:45.841
      !MESSAGE An internal error occurred during: "Loading connection info...".
      !STACK 0
      java.lang.RuntimeException: java.lang.ClassNotFoundException: Provider org.glassfish.jersey.internal.RuntimeDelegateImpl could not be instantiated: java.lang.IllegalStateException: No generator was provided and there is no default generator registered
      	at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:152)
      	at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:120)
      	at javax.ws.rs.core.UriBuilder.newInstance(UriBuilder.java:95)
      	at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:106)
      	at org.glassfish.jersey.client.JerseyWebTarget.<init>(JerseyWebTarget.java:82)
      	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:192)
      	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:70)
      	at com.spotify.docker.client.DefaultDockerClient.resource(DefaultDockerClient.java:1051)
      	at com.spotify.docker.client.DefaultDockerClient.info(DefaultDockerClient.java:300)
      	at org.eclipse.linuxtools.internal.docker.core.DockerConnection.getInfo(DockerConnection.java:311)
      	at org.eclipse.linuxtools.internal.docker.ui.views.ConnectionInfoPropertySection$1.run(ConnectionInfoPropertySection.java:69)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      Caused by: java.lang.ClassNotFoundException: Provider org.glassfish.jersey.internal.RuntimeDelegateImpl could not be instantiated: java.lang.IllegalStateException: No generator was provided and there is no default generator registered
      	at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:122)
      	at javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:225)
      	at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:135)
      	... 11 more
      Caused by: java.lang.IllegalStateException: No generator was provided and there is no default generator registered
      	at org.glassfish.hk2.internal.ServiceLocatorFactoryImpl.internalCreate(ServiceLocatorFactoryImpl.java:266)
      	at org.glassfish.hk2.internal.ServiceLocatorFactoryImpl.create(ServiceLocatorFactoryImpl.java:247)
      	at org.glassfish.jersey.internal.inject.Injections._createLocator(Injections.java:138)
      	at org.glassfish.jersey.internal.inject.Injections.createLocator(Injections.java:109)
      	at org.glassfish.jersey.internal.RuntimeDelegateImpl.<init>(RuntimeDelegateImpl.java:61)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      	at java.lang.reflect.Constructor.newInstance(Unknown Source)
      	at java.lang.Class.newInstance(Unknown Source)
      	at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:118)
      	... 13 more
      

      Attachments

        Issue Links

          Activity

            People

              xcoulon@redhat.com Xavier Coulon
              fbricon@redhat.com Fred Bricon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: