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 69374 - Empty Run File action Output Window
Summary: Empty Run File action Output Window
Status: VERIFIED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords: T9Y
Depends on:
Blocks:
 
Reported: 2005-11-26 11:34 UTC by Martin Schovanek
Modified: 2008-12-22 17:46 UTC (History)
1 user (show)

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 Martin Schovanek 2005-11-26 11:34:54 UTC
[#200411231900, jdk1.5.0]

to reproduce:
1) run a Main.java file
NOTE: the Output Window displays build scripts log
2) close (run-single) window
3) run Main.java file again
ERROR: empty (run-single) Output Window appears

Reproducible by WebProject > Run JSP File too.

Please fix it asap, it breaks automated validation tests.
Comment 1 Jan Lahoda 2005-11-28 08:02:29 UTC
I was able to somehow reproduce the problem. The following steps seem to work
for me:
1. start the IDE, open a java file from a J2SE project.
2. invoke the Run File action twice quickly, so that two tabs in the output
window appear.
3. wait until the execution is finished.
4. close the *selected* tab in the output window.
5. close whole output window.
6. invoke Run File action again: there is no 

I guess this is an output window problem: I patched NbWriter and ErrWriter to
copy written data into a file, and the output from ant is written correctly into
the writer, but does not appear in the output window.

(May also be incorrect handling of output tabs in the ant integration module, so
that the output goes into a closed/incorrect tab.)
Comment 2 Milos Kleint 2005-12-06 14:22:06 UTC
I've tried the jlahoda's steps to reproduce in the latest 20051205 daily build
(on  macosx + 1.5 jdk) and it seems to work correctly. closing as worksforme,
please verify or reopen.
Comment 3 Martin Schovanek 2005-12-06 14:58:56 UTC
You are right, I can reproduce it in #200512041900 but not in #200512051900. :-)
Comment 4 Milos Kleint 2005-12-06 15:06:26 UTC
now that's strange, the only change I did yesterday was this:
--- NbIO.java	15 Nov 2005 11:58:00 -0000	1.10
+++ NbIO.java	5 Dec 2005 08:30:57 -0000	1.11
@@ -197,7 +197,6 @@
         if (in != null) {
             in.eof();
             in.reuse();
-            setInputVisible(true);
         }
         post (this, IOEvent.CMD_RESET, true);
     }

not sure how that could be related.

Martin, can you please keep an eye on that in the future builds as well? thanks.