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 232823 - InternalError: java.io.IOException: Stream closed
Summary: InternalError: java.io.IOException: Stream closed
Status: RESOLVED INCOMPLETE
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
: 240913 244791 244794 251006 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-07-16 17:00 UTC by rptmaestro
Modified: 2015-03-23 13:12 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 202195


Attachments
stacktrace (2.95 KB, text/plain)
2013-07-16 17:00 UTC, rptmaestro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rptmaestro 2013-07-16 17:00:49 UTC
Build: NetBeans IDE 7.4 Beta (Build 201307092200)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Linux

User Comments:
rptmaestro: Double clicked on a word in the "Report Problem" details field.




Stacktrace: 
java.lang.InternalError: java.io.IOException: Stream closed
   at java.text.BreakIterator.createBreakInstance(BreakIterator.java:620)
   at java.text.BreakIterator.getBreakInstance(BreakIterator.java:565)
   at java.text.BreakIterator.getWordInstance(BreakIterator.java:465)
   at javax.swing.text.Utilities.getWordStart(Utilities.java:641)
   at javax.swing.text.DefaultEditorKit$BeginWordAction.actionPerformed(DefaultEditorKit.java:1750)
   at javax.swing.text.DefaultEditorKit$SelectWordAction.actionPerformed(DefaultEditorKit.java:2163)
Comment 1 rptmaestro 2013-07-16 17:00:51 UTC
Created attachment 137233 [details]
stacktrace
Comment 2 Marian Mirilovic 2013-07-17 12:16:24 UTC
SEVERE [org.openide.util.Exceptions]
java.lang.InternalError: java.io.IOException: Stream closed
	at java.text.BreakIterator.createBreakInstance(BreakIterator.java:620)
	at java.text.BreakIterator.getBreakInstance(BreakIterator.java:565)
	at java.text.BreakIterator.getSentenceInstance(BreakIterator.java:546)
	at com.sun.tools.javadoc.DocLocale.<init>(DocLocale.java:104)
	at com.sun.tools.javadoc.DocEnv.<init>(DocEnv.java:146)
	at org.netbeans.modules.java.source.JavadocEnv.<init>(JavadocEnv.java:102)
Comment 3 Jan Lahoda 2013-07-17 14:37:55 UTC
I see two possible causes, and unfortunately I don't see a way to determine the real cause without the start-up header of the log, which the exception reporter neglected to include.

The two causes are:
1. JDK placed in a directory ending with an exclamation mark ('!'). Filled as CR 8020712 to JDK. If this is the reason, then I don't see a way for us to do anything about that. Simply place your JDK to a directory whose name does not end with '!'.
2. The process is out of file descriptors. Unfortunately, the only way for me to even attempt to evaluate which module may be the culprit is to have the list of opened file descriptors, but I don't have such a list. So if point "1." does not hold for you, please provide the list of opened file descriptors, i.e. the output of:
ls -l /proc/<IDE's-process-number>/fd

Thanks.
Comment 4 Marian Mirilovic 2014-02-05 12:32:56 UTC
*** Bug 240913 has been marked as a duplicate of this bug. ***
Comment 5 Stanislav Aubrecht 2014-05-30 07:48:19 UTC
*** Bug 244791 has been marked as a duplicate of this bug. ***
Comment 6 Antonin Nebuzelsky 2014-05-30 09:15:29 UTC
*** Bug 244794 has been marked as a duplicate of this bug. ***
Comment 7 Antonin Nebuzelsky 2015-03-23 13:12:19 UTC
*** Bug 251006 has been marked as a duplicate of this bug. ***