This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 22188

Summary: java.io.IOException: Stream closed
Product: xml Reporter: Martin Schovanek <mschovanek>
Component: CatalogAssignee: _ pkuzel <pkuzel>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Martin Schovanek 2002-04-08 12:36:05 UTC
[FFJ build 020407, jdk 1.4.0]

Steps to reproduce:
-------------------
1) right click on Sun's Resolver catalog entry and
choose View
-  DTD source editor appears
2) close the source editor
3) right click on the catalog entry and choose
View againt

IDE throws:
Mon Apr 08 11:25:37 CEST 2002:
java.io.IOException: Stream closed
Annotation: The document -//OASIS//DTD DocBook XML
V4.1.2//EN could not be loaded.
java.io.IOException: Stream closed
        at
java.io.BufferedInputStream.ensureOpen(BufferedInputStream.java:120)
        at
java.io.BufferedInputStream.read(BufferedInputStream.java:270)
        at
java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
        at
java.io.BufferedInputStream.read(BufferedInputStream.java:201)
        at
org.netbeans.modules.xml.core.lib.EncodingHelper.detectEncoding(EncodingHelper.java:49)
        at
org.netbeans.modules.xml.text.syntax.UniKit.read(UniKit.java:47)
        at
org.openide.text.CloneableEditorSupport.loadFromStreamToKit(CloneableEditorSupport.java:718)
        at
org.openide.text.CloneableEditorSupport.loadDocument(CloneableEditorSupport.java:1030)
        at
org.openide.text.CloneableEditorSupport.access$1200(CloneableEditorSupport.java:103)
        at
org.openide.text.CloneableEditorSupport$Listener.run(CloneableEditorSupport.java:1444)
        at org.openide.util.Task.run(Task.java:152)
        at
org.openide.text.CloneableEditorSupport$1.run(CloneableEditorSupport.java:301)
        at org.openide.util.Task.run(Task.java:152)
[catch] at java.lang.Thread.run(Thread.java:536)
Comment 1 _ pkuzel 2002-04-11 16:03:03 UTC
No need to enter new bug for 3.3.2_CANDIDATEs

*** This issue has been marked as a duplicate of 20425 ***
Comment 2 Martin Schovanek 2002-07-24 13:20:14 UTC
VERIFIED
Comment 3 Quality Engineering 2003-07-02 08:39:14 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.