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 131420 - Extra error dialog on project creation without compilers.
Summary: Extra error dialog on project creation without compilers.
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-28 15:54 UTC by alexandrov
Modified: 2008-04-09 13:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alexandrov 2008-03-28 15:54:25 UTC
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.
Comment 1 Alexander Pepin 2008-04-04 15:08:42 UTC
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. 
Comment 2 Thomas Preisler 2008-04-04 21:32:04 UTC
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.
Comment 3 Alexander Pepin 2008-04-04 22:48:17 UTC
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.
Comment 4 Thomas Preisler 2008-04-04 22:58:47 UTC
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.
Comment 5 Thomas Preisler 2008-04-05 01:23:45 UTC
Fixed and reviewed. Changes back to trunk shortly.
Comment 6 Thomas Preisler 2008-04-05 05:09:51 UTC
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.
Comment 7 Thomas Preisler 2008-04-05 17:57:18 UTC
Can QA please verify this bug in trunk?
Comment 8 alexandrov 2008-04-07 12:10:44 UTC
verified in trunk
Comment 9 alexandrov 2008-04-07 12:24:59 UTC
It works only for Windows. For Solaris-sparc this fix is failed. I use trunk-build 200804060002
Comment 10 Thomas Preisler 2008-04-07 19:28:12 UTC
From alexandr:

Thomas, I've verified it on Solaris and Linux - it works. 
Comment 11 Thomas Preisler 2008-04-07 19:28:59 UTC
Code changes reviewed and approved by Gordon. Will try and get the change into 6.1.
Comment 12 Jesse Grodnik 2008-04-07 21:10:10 UTC
Escalated to P1. Validated in trunk. Code review completed.
Comment 13 Thomas Preisler 2008-04-07 21:58:00 UTC
Changes pushed to 6.1.


Comment 14 Thomas Preisler 2008-04-07 22:28:20 UTC
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.
Comment 15 Alexander Pepin 2008-04-09 13:59:03 UTC
verified in NB6.1rc1 (build 200804082140)