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 186968 - [69cat] IllegalStateException: Output file has been disposed!
Summary: [69cat] IllegalStateException: Output file has been disposed!
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-30 22:17 UTC by meda22
Modified: 2011-11-01 16:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 170293


Attachments
stacktrace (2.36 KB, text/plain)
2010-05-30 22:17 UTC, meda22
Details

Note You need to log in before you can comment on or make changes to this bug.
Description meda22 2010-05-30 22:17:20 UTC
This bug was originally marked as duplicate of bug 164959, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.8 (Build 200912091457)
VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04
OS: Windows 7

User Comments:
meda22: I download tomcat 6.0.26 and when I try started it on port 8082 this error raise..

big_al: Start a GlassFish server that had just crashed due to OutOfMemory




Stacktrace: 
java.lang.IllegalStateException: Output file has been disposed!
   at org.netbeans.core.output2.OutWriter.getStorage(OutWriter.java:119)
   at org.netbeans.core.output2.OutWriter$LinesImpl.getStorage(OutWriter.java:502)
   at org.netbeans.core.output2.AbstractLines.getByteSize(AbstractLines.java:176)
   at org.netbeans.core.output2.AbstractLines.getCharCount(AbstractLines.java:306)
   at org.netbeans.core.output2.OutputDocument.getLength(OutputDocument.java:140)
   at javax.swing.text.DefaultCaret.handleSetDot(DefaultCaret.java:1142)
Comment 1 meda22 2010-05-30 22:17:23 UTC
Created attachment 99662 [details]
stacktrace
Comment 2 Exceptions Reporter 2010-06-17 05:43:08 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=170293
Comment 3 Martin Entlicher 2011-02-09 14:37:41 UTC
From the logs it's likely that the Storage.size() overflows to a negative value. Therefore AbstractLines.lastStorageSize is negative.
Comment 4 Jaroslav Havlin 2011-10-21 14:29:51 UTC
I am sorry, I cannot reproduce it. Unfortunately, the stacktraces are not very helpful here.
It seems that some output tab tried to show content that had been already disposed. 
Please, if you are still encountering this problem, describe steps to reproduce.
Comment 5 Jaroslav Havlin 2011-11-01 16:26:29 UTC
Cannot reproduce, and it has been almost one year since last report. Closing. Please reopen if it occurs again.