java.io.IOException: Stream closed

Google Groups | Peter Brant | 3 years ago

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    Stream closed

    at java.io.BufferedInputStream.getInIfOpen()
  2. Java RT
    InputStreamReader.read
    1. java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:151)
    2. java.io.BufferedInputStream.read1(BufferedInputStream.java:273)
    3. java.io.BufferedInputStream.read(BufferedInputStream.java:334)
    4. sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
    5. sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
    6. sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
    7. java.io.InputStreamReader.read(InputStreamReader.java:184)
    7 frames
  3. Flying Saucer Core Renderer
    StyleReference.setDocumentContext
    1. org.xhtmlrenderer.css.parser.Lexer.zzRefill(Lexer.java:1634)
    2. org.xhtmlrenderer.css.parser.Lexer.yylex(Lexer.java:1865)
    3. org.xhtmlrenderer.css.parser.CSSParser.next(CSSParser.java:1798)
    4. org.xhtmlrenderer.css.parser.CSSParser.la(CSSParser.java:1810)
    5. org.xhtmlrenderer.css.parser.CSSParser.stylesheet(CSSParser.java:159)
    6. org.xhtmlrenderer.css.parser.CSSParser.parseStylesheet(CSSParser.java:89)
    7. org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:78)
    8. org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:95)
    9. org.xhtmlrenderer.context.StylesheetFactoryImpl.getStylesheet(StylesheetFactoryImpl.java:174)
    10. org.xhtmlrenderer.context.StyleReference.readAndParseAll(StyleReference.java:123)
    11. org.xhtmlrenderer.context.StyleReference.setDocumentContext(StyleReference.java:107)
    11 frames
  4. FlyingSaucer XHTML Renderer
    ITextRenderer.setDocument
    1. org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:175)
    2. org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:142)
    2 frames
  5. pdf_from_html
    pdf_from_html.main
    1. pdf_from_html.pdf_from_html.main(pdf_from_html.java:57)
    1 frame