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.
Remove all compilers from the PATH Start IDE with fresh userdir. Create New project => there are two dialogs appears. "No Compilers found" dialog which advises to select one of three ways and Error dialog which insists on selecting the only way - restart IDE. I think Error dialog should be removed.
I would notice that the worst thing is that Error dialog says "Couldn't successfully run g++ compiler to configure the built-in source file parser..." when a user runs SS IDE without compilers in path. I believe this should be fixed ASAP before SS IDE migrating to NB6.1. IMO the Error dialog should be eliminated or at least a compiler name should be removed.
Getting into this situation on Unix with SS installed is not very common. You will have to not follow installation guide or do some extra steps (like removing your path). SS will run with 6.1++ so we will have time to fix it before SS ships. There is no time to fix it for 6.1.
Thomas, this dialog is a part of NB6.1 and should be fixed here (not in SS). The fix is very easy and safe, just remove a compiler name from the error message.
I will fix it in 6.1 pending QA approval. I will push a fix to trunk today. The fix I'm doing will not display the dialog. It is not needed in this situation.
Fixed and reviewed. Changes back to trunk shortly.
Committed to trunk: changeset 53111fddbd87 in main details: http://hg.netbeans.org/main?cmd=changeset;node=53111fddbd87 description: 131420 Extra error dialog on project creation without compilers. changeset 813052c2c52b in main details: http://hg.netbeans.org/main?cmd=changeset;node=813052c2c52b description: 131420 Extra error dialog on project creation without compilers.
Can QA please verify this bug in trunk?
verified in trunk
It works only for Windows. For Solaris-sparc this fix is failed. I use trunk-build 200804060002
From alexandr: Thomas, I've verified it on Solaris and Linux - it works.
Code changes reviewed and approved by Gordon. Will try and get the change into 6.1.
Escalated to P1. Validated in trunk. Code review completed.
Changes pushed to 6.1.
changeset b13b72f935ef in release61 details: http://hg.netbeans.org/release61?cmd=changeset;node=b13b72f935ef description: 131420 Extra error dialog on project creation without compilers. changeset 8725b4f74f11 in release61 details: http://hg.netbeans.org/release61?cmd=changeset;node=8725b4f74f11 description: 131420 Extra error dialog on project creation without compilers. changeset 7ee53de94dc8 in release61 details: http://hg.netbeans.org/release61?cmd=changeset;node=7ee53de94dc8 description: 131420 Extra error dialog on project creation without compilers.
verified in NB6.1rc1 (build 200804082140)