Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-28655

IllegalStateException during Loading Container Info

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 4.30.x
    • 4.25.0.AM1
    • docker
    • None
    • Hide

      1. Have docker connection (I am using podman socket)
      2. Pull some hello world image (docker.io/library/hello-world:latest)
      3. Open Docker images view
      4. Run hello-world image
      5. Go through the dialogs to run an image
      6. ASSERT: after Run a Docker image dialog is finished, container is created and console output contains particular output.
      Actual result: Nothing happens, in Error log there is the above described error (IllegalArgumentException).

      Show
      1. Have docker connection (I am using podman socket) 2. Pull some hello world image (docker.io/library/hello-world:latest) 3. Open Docker images view 4. Run hello-world image 5. Go through the dialogs to run an image 6. ASSERT: after Run a Docker image dialog is finished, container is created and console output contains particular output. Actual result: Nothing happens, in Error log there is the above described error (IllegalArgumentException).
    • ---

      I am seeing many eclipse errors occurring during testing of docker component using integration-tests.

      Eclipse 2022-09 RC1 + Java 17 + JBT installed from [1].

      !ENTRY org.eclipse.core.jobs 4 2 2022-09-26 10:58:46.817
      !MESSAGE An internal error occurred during: "Loading Container info...".
      !STACK 0
      java.lang.IllegalStateException: Entity input stream has already been closed.
      	at org.glassfish.jersey.message.internal.EntityInputStream.ensureNotClosed(EntityInputStream.java:205)
      	at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:862)
      	at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:816)
      	at org.glassfish.jersey.client.ClientResponse.readEntity(ClientResponse.java:298)
      	at org.glassfish.jersey.client.InboundJaxrsResponse$1.call(InboundJaxrsResponse.java:91)
      	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
      	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
      	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
      	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:365)
      	at org.glassfish.jersey.client.InboundJaxrsResponse.runInScopeIfPossible(InboundJaxrsResponse.java:240)
      	at org.glassfish.jersey.client.InboundJaxrsResponse.readEntity(InboundJaxrsResponse.java:88)
      	at org.mandas.docker.client.DefaultDockerClient.propagate(DefaultDockerClient.java:2780)
      	at org.mandas.docker.client.DefaultDockerClient.request(DefaultDockerClient.java:2652)
      	at org.mandas.docker.client.DefaultDockerClient.inspectContainer(DefaultDockerClient.java:1030)
      	at org.eclipse.linuxtools.internal.docker.core.DockerConnection.getContainerInfo(DockerConnection.java:946)
      	at org.eclipse.linuxtools.internal.docker.ui.views.ContainerInspectPropertySection$1.run(ContainerInspectPropertySection.java:90)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
      

      [1]: https://download.jboss.org/jbosstools/photon/staging/updates/

              jjohnstn Jeff Johnston
              odockal@redhat.com Ondrej Dockal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: