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 148768 - closing V3 log window can cause underlying stream to be closed.
Summary: closing V3 log window can cause underlying stream to be closed.
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-30 16:50 UTC by _ pcw
Modified: 2008-10-10 05:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ pcw 2008-09-30 16:50:51 UTC
There is a way to close the GlassFish V3 log window such that the underlying output window streams are close and then
never reopened.  This kills the log view for the session (must restart NetBeans to get it back.)
Comment 1 _ pcw 2008-10-09 22:32:44 UTC
Raising to P2 status due to severity and because it was reported by NetCAT (FishCAT, actually,
https://glassfish.dev.java.net/issues/show_bug.cgi?id=6106).

The problem is that the V3 log viewer caches the IO panel (for ease of retrieval, even when closed) longer than it ought
to and does not recreate it if the streams get closed.  The solution is to detect when either the stdout or stderr
stream for the output window is in an error state and recreate the output window.
Comment 2 _ pcw 2008-10-09 23:26:27 UTC
Fixed.

http://hg.netbeans.org/main/rev/46b341f42ba3

Please wait for integration notice.
Comment 3 Quality Engineering 2008-10-10 05:47:40 UTC
Integrated into 'main-golden', will be available in build *200810100201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/46b341f42ba3
User: pcw@netbeans.org
Log: #148768 V3 output stops working for duration of IDE session.