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 44395 - BufferOverflowException from OutWriter.doPrintln
Summary: BufferOverflowException from OutWriter.doPrintln
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2004-06-07 01:55 UTC by Jesse Glick
Modified: 2008-12-22 16:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (1.52 KB, text/plain)
2004-06-07 01:56 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-06-07 01:55:41 UTC
040606. Happened randomly when I shut down a test
copy of NB that I had been running using ant tryme.
Comment 1 Jesse Glick 2004-06-07 01:56:08 UTC
Created attachment 15507 [details]
Stack trace
Comment 2 Jesse Glick 2004-06-07 01:56:26 UTC
JDK 1.5.0 b54, GTK.
Comment 3 _ tboudreau 2004-06-11 04:37:17 UTC
Marking as started since the issue is effectively fixed
Comment 4 _ tboudreau 2004-06-11 04:43:38 UTC
Clearing started flag, meant to set it on issue 44375, not issue 44395.

Questions:  Whose exception is this - the copy of nb that was being
shut down, or the copy of nb that was displaying the output?

Any possibility of close() being called thrice?  That is, this could
easily happen by calling out.close(), err.close(), err.close()

Could you reproduce while running with -J-Dnb.output.log=true?
Comment 5 Jesse Glick 2004-06-11 19:13:41 UTC
I believe the exception was from the IDE displaying the output. Not
trivial to tell in this case.

I don't think it is possible for Ant code to close streams more than
once, but I could be wrong of course.

If I can get into a state where I can reproduce this again, I will
attach some logs.
Comment 6 _ tboudreau 2004-09-01 21:31:11 UTC
AFAIK this is now handled - artifact of the thread being killed while in the middle of a 
write.
Comment 7 Jesse Glick 2004-09-01 22:15:12 UTC
Really WONTFIX?
Comment 8 _ tboudreau 2004-09-01 22:38:21 UTC
x
Comment 9 _ tboudreau 2004-09-01 22:38:44 UTC
xx
Comment 10 Marian Mirilovic 2005-07-12 10:15:52 UTC
closed