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 251267

Summary: System.err.println() - Out of Order
Product: projects Reporter: Alshaya
Component: AntAssignee: Tomas Stupka <tstupka>
Status: NEW ---    
Severity: normal CC: mmirilovic
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Windows 8   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description Alshaya 2015-03-18 18:57:43 UTC
Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.8.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.20-b23

There is a problem with `System.err.println()` stream in Netbeans. It is out of order when its used in several lines. 
However, it works fine in other environments without changing the code. So, It seems like there is something wrong within Netbeans environment only.
I hope this frustrating issue to be solved ASAP.

Thank you.
Comment 1 Alshaya 2015-03-18 18:57:46 UTC
Created attachment 152699 [details]
IDE log
Comment 2 Marian Mirilovic 2015-04-02 16:07:19 UTC
You are right ... e.g. :

    public static void main(String[] args) {
        System.err.println("Hello");
        for (int i = 0; i < 100; i++) {
            System.out.println("Log " + i);
        }
        System.err.println("Bye");
    }