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 257104

Summary: Output Windows of running processes get replaced
Product: ide Reporter: _ gtzabari <gtzabari>
Component: UIAssignee: issues@ide <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 10 x64   
Issue Type: DEFECT Exception Reporter:

Description _ gtzabari 2015-12-10 21:52:31 UTC
Product Version: NetBeans IDE Dev (Build 201512070002)
Java: 1.8.0_66; Java HotSpot(TM) 64-Bit Server VM 25.66-b17
Runtime: Java(TM) SE Runtime Environment 1.8.0_66-b17
System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb)
User directory: C:\dev\Netbeans\user\dev
Cache directory: C:\dev\Netbeans\cache\dev

I've experienced this problem for a couple of years. It is quite annoying but hard to reproduce so I never bothered filing a bug report until now.

The repro steps go something like this:
1. The IDE is configured to "Reuse Output Tabs from Finished Processes" (See Tools -> Options -> Java -> Maven)
2. Launch multiple modules by selecting them from the Project tab and hitting F6.
3. Wait a couple of seconds.
4. Launch another module.
5. Sometimes (this issue is intermittent) launching the module in step 4 will cause the Output Tabs of modules from step 2 to disappear. Either the tabs will disappear from the Output Window, or they will get replaced by the new Output Tab launched by step 4.

The thing to note is that the processes from step 2 are still running. If I click on the task-list in the bottom-right corner of Netbeans I see them still alive.

Expected behavior: Netbeans should not close Output Tabs unless the corresponding process/task has terminated.