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

Closing log of a pod throws an exception

XMLWordPrintable

    • Hide

      ASSERT: Have a running OS 3 application and oc binary set in preferences.
      EXEC: Open log of a pod via context menu of a pod or build.
      EXEC: Close log console by clicking on view tool item Close.

      RESULT: Exception is thrown.
      EXPECTED RESULT: No exception is thrown.

      Show
      ASSERT: Have a running OS 3 application and oc binary set in preferences. EXEC: Open log of a pod via context menu of a pod or build. EXEC: Close log console by clicking on view tool item Close. RESULT: Exception is thrown. EXPECTED RESULT: No exception is thrown.

      When I am trying to close log of a pod (build pod or application pod, does not matter which one) by clicking on gray view tool item Close, I get following exception

      Exception reading pod log inputstream
      
      java.io.IOException: Stream closed
      	at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
      	at java.io.BufferedInputStream.read(BufferedInputStream.java:336)
      	at java.io.SequenceInputStream.read(SequenceInputStream.java:207)
      	at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
      	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
      	at java.io.FilterInputStream.read(FilterInputStream.java:107)
      	at org.jboss.tools.openshift.internal.ui.job.PodLogsJob$ConsoleStreamPipe.runOCBinary(PodLogsJob.java:166)
      	at org.jboss.tools.openshift.internal.core.OCBinaryOperation.run(OCBinaryOperation.java:34)
      	at org.jboss.tools.openshift.internal.ui.job.PodLogsJob$ConsoleStreamPipe.run(PodLogsJob.java:153)
      	at java.lang.Thread.run(Thread.java:745)
      
      

            scabanovich Viacheslav Kabanovich (Inactive)
            mlabuda_jira Marián Labuda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: