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 for issues in NativeExecution that appear when user have no MinGW nor Cygwin installed. And for issues that appear when cygwin/mingw path differs from a default one.
When trying to debug I'm getting redirected to Toolchain Options. That's good. But when trying to attach I get "failed to parse output of ps" message and Caused: java.util.NoSuchElementException at java.util.LinkedList$ListItr.next(LinkedList.java:890) at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1042) [catch] at org.netbeans.modules.cnd.debugger.common2.utils.PsProvider.getData(PsProvider.java:1019) at org.netbeans.modules.cnd.debugger.common2.utils.ProcessListSupport$Provider$ProcessListUpdater.run(ProcessListSupport.java:169) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058) ALL [null]: Failed to parse OutputStream of ps command stack. Maybe it's OK.
1) Launching NetBeans with no cygwin/mingw installed 2) Install cygwin (well, or just move from ___cygwin64 to cygwin64) 3) Everything in nativeexecution behaves like it's not installed (because WindowsSupport has "initialized" flag and want try to re-read settings anymore). We should trigger re-initializing of WindowsSupport after toolchain was changed...
When first launched Terminal doesn't give any warning. All subsequent Terminals give a warning. Is this intended?
situation in #comment 3 happens because we are in silent mode.
Solution is to print 'no cygwin' message in a Termainl when invoking the Terminal.
Integrated into 'main-silver', will be available in build *201707201608* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4dfb5f48a892 User: Ilia Gromov <ilia@netbeans.org> Log: Fixed #Comment 2 in #270975 - NativeExecution on Windows: umbrella bug for issues with no MinGW, Cygwin installed.