java.io.IOException: Stream closed

Oracle Community | 807593 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    javax.xml.transform.TransformerException: java.security.AccessControl

    Oracle Community | 1 decade ago | 807593
    java.io.IOException: Stream closed
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    This occasionally happens when launching tachyon on ec2: {code} 2016-02-03 19:31:04,199 ERROR MASTER_LOGGER (TachyonMaster.java:main) - Uncaught exception terminating Master java.lang.RuntimeException: Unable to load default Tachyon properties file at tachyon.conf.TachyonConf.<init>(TachyonConf.java:150) at tachyon.conf.TachyonConf.<init>(TachyonConf.java:117) at tachyon.web.WebInterfaceWorkersServlet.<init>(WebInterfaceWorkersServlet.java:184) at tachyon.web.MasterUIWebServer.<init>(MasterUIWebServer.java:50) at tachyon.master.TachyonMaster.startServingWebServer(TachyonMaster.java:377) at tachyon.master.TachyonMaster.startServing(TachyonMaster.java:367) at tachyon.master.TachyonMaster.startServing(TachyonMaster.java:362) at tachyon.master.TachyonMaster.start(TachyonMaster.java:304) at tachyon.master.TachyonMaster.main(TachyonMaster.java:78) Caused by: java.io.IOException: Stream closed at java.util.zip.InflaterInputStream.ensureOpen(InflaterInputStream.java:67) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:142) at java.io.FilterInputStream.read(FilterInputStream.java:133) at java.io.FilterInputStream.read(FilterInputStream.java:107) at java.util.Properties$LineReader.readLine(Properties.java:434) at java.util.Properties.load0(Properties.java:353) at java.util.Properties.load(Properties.java:341) at tachyon.conf.TachyonConf.<init>(TachyonConf.java:148) ... 8 more {code} This causes the Tachyon master to die during startup. Trying to start Tachyon again has always solved the problem. The fix might be to retry a couple times when we hit this error.

    JIRA | 1 year ago | Andrew Audibert
    java.lang.RuntimeException: Unable to load default Tachyon properties file
  4. 0

    JAXP transform

    Oracle Community | 2 decades ago | 843834
    java.io.IOException: Stream closed

  1. Hronom 9 times, last 2 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    Stream closed

    at java.io.BufferedInputStream.ensureOpen()
  2. Java RT
    Properties.load
    1. java.io.BufferedInputStream.ensureOpen(BufferedInputStream.java:120)
    2. java.io.BufferedInputStream.read(BufferedInputStream.java:270)
    3. sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:404)
    4. sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:442)
    5. sun.nio.cs.StreamDecoder.read(StreamDecoder.java:179)
    6. java.io.InputStreamReader.read(InputStreamReader.java:167)
    7. java.io.BufferedReader.fill(BufferedReader.java:136)
    8. java.io.BufferedReader.readLine(BufferedReader.java:299)
    9. java.io.BufferedReader.readLine(BufferedReader.java:362)
    10. java.util.Properties.load(Properties.java:192)
    10 frames
  3. Xalan Java
    StylesheetHandler.endDocument
    1. org.apache.xalan.templates.OutputProperties.loadPropertiesFile(OutputProperties.java:212)
    2. org.apache.xalan.templates.OutputProperties.getDefaultMethodProperties(OutputProperties.java:320)
    3. org.apache.xalan.templates.OutputProperties.<init>(OutputProperties.java:130)
    4. org.apache.xalan.templates.StylesheetRoot.recompose(StylesheetRoot.java:257)
    5. org.apache.xalan.processor.StylesheetHandler.endDocument(StylesheetHandler.java:502)
    5 frames
  4. org.apache.crimson
    XMLReaderImpl.parse
    1. org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:508)
    2. org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
    3. org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
    3 frames
  5. Xalan Java
    TransformerFactoryImpl.newTransformer
    1. org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:934)
    2. org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:750)
    2 frames
  6. Unknown
    XPanelTable$6.actionPerformed
    1. CellNode.writeXMLFile(CellNode.java:359)
    2. XPanelTable$6.actionPerformed(XPanelTable.java:106)
    2 frames
  7. Java RT
    EventDispatchThread.run
    1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
    2. javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
    3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
    4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
    6. java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:227)
    7. java.awt.Component.processMouseEvent(Component.java:5021)
    8. java.awt.Component.processEvent(Component.java:4818)
    9. java.awt.Container.processEvent(Container.java:1525)
    10. java.awt.Component.dispatchEventImpl(Component.java:3526)
    11. java.awt.Container.dispatchEventImpl(Container.java:1582)
    12. java.awt.Component.dispatchEvent(Component.java:3367)
    13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3359)
    14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3074)
    15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3004)
    16. java.awt.Container.dispatchEventImpl(Container.java:1568)
    17. java.awt.Component.dispatchEvent(Component.java:3367)
    18. java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    19. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
    20. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
    21. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    22. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
    23. java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    23 frames