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.
Build: NetBeans IDE Dev (Build 201012220001) VM: Java HotSpot(TM) 64-Bit Server VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07 OS: Windows 7 User Comments: apepin: Steps to reproduce: - create Welcome sample - set Standard Output as a console type - do Step into GUEST: Debug Main Project Stacktrace: java.lang.NullPointerException at org.netbeans.modules.cnd.debugger.common2.debugger.io.IOProxy$OutputReaderThread.run(IOProxy.java:210)
Created attachment 104400 [details] stacktrace
This happens on any Windows system with both MSYS and cygwin.
standard output console type never worked on windows, see bug 148204, I will re-disable it in new infrastructure
not a regression
The problem here is that with msys on windows "internal terminal" is also not available (see bug 193241), so only external terminal really works for debugging. But how to indicate that in GUI?
IT IS A REGRESSION! Previously a user can not only enter anything into Output window while debugging. Now it's impossible to debug any application using Standard Output.
Sorry for mistake "Previously a user could not..."
*** Bug 194273 has been marked as a duplicate of this bug. ***
fixed in: http://hg.netbeans.org/cnd-main/rev/0f2d8a39fa53 now on Windows Standard Output is switched to External Terminal and warning is shown to the user.
Integrated into 'main-golden', will be available in build *201101140000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/0f2d8a39fa53 User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #193740 (NPE in IOProxy$OutputReaderThread) - disabled standard output on windows (swithing to external terminal)
Added to the Known Issues: C/C++ section of the NetBeans IDE 7.0 Beta 2 Release Notes as follows: Issue #193740: On Windows platform, the "Use external terminal" warning displays when the Standard Output console is used for debugging. Description: The Standard Output console type is not used for debugging on Windows platform. Workaround: Use the Internal Terminal in the CYGWIN environment and the External Terminal in the MSYS environment instead.