]
Marián Labuda closed JBIDE-21999.
---------------------------------
Verified on nightly build of JBT with OpenShift plugin build B258.
Server adapter: stream closed exception when debugging
-------------------------------------------------------
Key: JBIDE-21999
URL:
https://issues.jboss.org/browse/JBIDE-21999
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.CR1
Reporter: Xavier Coulon
Assignee: Xavier Coulon
Priority: Blocker
Fix For: 4.3.1.CR1
While testing the debugging support on the server adapter, I got the following error:
{code}
[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)
{code}
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.