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

Server adapter: stream closed exception when debugging

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 4.3.1.CR1
    • 4.3.1.CR1
    • openshift
    • None

      While testing the debugging support on the server adapter, I got the following error:

      [ERROR] 2016-03-25 12:19:53,006 com.openshift.internal.restclient.capability.resources.OpenShiftBinaryRSync - Could not retrieve error message from process
      java.io.IOException: Stream closed
      	at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
      	at java.io.BufferedInputStream.read(BufferedInputStream.java:336)
      	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
      	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
      	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
      	at java.io.InputStreamReader.read(InputStreamReader.java:184)
      	at java.io.Reader.read(Reader.java:140)
      	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1485)
      	at org.apache.commons.io.IOUtils.copy(IOUtils.java:1461)
      	at org.apache.commons.io.IOUtils.copy(IOUtils.java:1408)
      	at org.apache.commons.io.IOUtils.copy(IOUtils.java:1433)
      	at org.apache.commons.io.IOUtils.toString(IOUtils.java:585)
      	at org.apache.commons.io.IOUtils.toString(IOUtils.java:563)
      	at com.openshift.internal.restclient.capability.resources.OpenShiftBinaryRSync.getErrorMessage(OpenShiftBinaryRSync.java:107)
      	at com.openshift.internal.restclient.capability.resources.OpenShiftBinaryRSync.await(OpenShiftBinaryRSync.java:94)
      
      

      This error happened at the same time as the deployment failed, as reported in JBIDE-21981, but since there are 2 distinct problems, we should track them in 2 separate issues.

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

                Created:
                Updated:
                Resolved: