IvyDE
  1. IvyDE
  2. IVYDE-130

IvyConsole:java.io.IOException: Output Stream is closed

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0.alpha1
    • Fix Version/s: 2.0.0.final
    • Component/s: None
    • Labels:
      None

      Description

      java.io.IOException: Output Stream is closed
      	at org.eclipse.ui.console.IOConsoleOutputStream.encodedWrite(IOConsoleOutputStream.java:229)
      	at org.eclipse.ui.console.IOConsoleOutputStream.write(IOConsoleOutputStream.java:224)
      	at org.eclipse.ui.console.MessageConsoleStream.print(MessageConsoleStream.java:55)
      	at org.eclipse.ui.console.MessageConsoleStream.println(MessageConsoleStream.java:80)
      	at org.apache.ivyde.eclipse.ui.console.IvyConsole.appendLine(IvyConsole.java:172)
      	at org.apache.ivyde.eclipse.ui.console.IvyConsole.log(IvyConsole.java:81)
      	at org.apache.ivyde.eclipse.ui.console.IvyConsole.verbose(IvyConsole.java:236)
      	at org.apache.ivy.util.MessageLoggerEngine.verbose(MessageLoggerEngine.java:195)
      	at org.apache.ivy.util.Message.verbose(Message.java:91)
      	at org.apache.ivy.plugins.resolver.BasicResolver.download(BasicResolver.java:721)
      	at org.apache.ivy.plugins.resolver.RepositoryResolver.download(RepositoryResolver.java:245)
      	at org.apache.ivy.core.resolve.ResolveEngine.downloadArtifacts(ResolveEngine.java:348)
      	at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:291)
      	at org.apache.ivy.Ivy.resolve(Ivy.java:512)
      	at org.apache.ivyde.eclipse.cpcontainer.IvyResolveJob$1.run(IvyResolveJob.java:283)
      
      

        Issue Links

          Activity

          Hide
          Nicolas Lalevée added a comment -

          Could we get more context ?
          when did it happened ?
          Did you reproduce it often ?

          Show
          Nicolas Lalevée added a comment - Could we get more context ? when did it happened ? Did you reproduce it often ?
          Hide
          qxo added a comment -

          Yes, It's offen happen

          My workspace have many project using ivy plugin.

          Show
          qxo added a comment - Yes, It's offen happen My workspace have many project using ivy plugin.
          Hide
          Nicolas Lalevée added a comment -

          Often happen, at startup ? when launching a resolve in a specifi project ? when triggering the "resolve all" button ?
          And do you do anything particular during the resolve ? like closing the console ?
          Which exact version of Eclipse do you use ?

          Show
          Nicolas Lalevée added a comment - Often happen, at startup ? when launching a resolve in a specifi project ? when triggering the "resolve all" button ? And do you do anything particular during the resolve ? like closing the console ? Which exact version of Eclipse do you use ?
          Hide
          Nicolas Lalevée added a comment -

          Finally I was able to reproduce it. Actually this bug was introduced with IVYDE-123.
          Closing the IvyConsole close the streams but IvyDE still try to log into it.

          Show
          Nicolas Lalevée added a comment - Finally I was able to reproduce it. Actually this bug was introduced with IVYDE-123 . Closing the IvyConsole close the streams but IvyDE still try to log into it.

            People

            • Assignee:
              Nicolas Lalevée
              Reporter:
              qxo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development