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 102868 - C/C++ pack doesn't work without compilers
Summary: C/C++ pack doesn't work without compilers
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ gordonp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-28 09:52 UTC by soldatov
Modified: 2007-08-07 14:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NullPointerException (2.96 KB, text/plain)
2007-04-28 09:57 UTC, soldatov
Details
stack trace (2.96 KB, text/plain)
2007-06-21 23:10 UTC, _ gordonp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2007-04-28 09:52:41 UTC
Steps:
- Run IDE on machine without compilers in PATH
- Create any sample project (Uncheck "C Compiler" and "C++ Compiler" in
"Required Tools" section in "New Project" wizard)
==> Class View is empty, Hyperlinks doesn't work.
- Select any file in 'Projects' tab
==> NullPointerException
Comment 1 soldatov 2007-04-28 09:57:41 UTC
Created attachment 41920 [details]
NullPointerException
Comment 2 Andrew Krasny 2007-04-30 03:15:50 UTC
Downgrading to P2 as it is not a common case when there are no compilers in the
path. Still it is P2 because of the fact that NPE occurs.
Comment 3 _ gordonp 2007-05-22 15:20:31 UTC
Not sure if this is a build-tools or project problem. I'll look and reassign
if its a project problem...
Comment 4 _ gordonp 2007-06-21 18:17:53 UTC
I cannot duplicate this on either Solaris or Windows. Closing as WORKSFORME.
Please reopen with better set of steps if you can still see this problem.
Comment 5 _ gordonp 2007-06-21 23:10:34 UTC
Created attachment 44224 [details]
stack trace
Comment 6 _ gordonp 2007-06-21 23:11:20 UTC
I duplicated the problem with a slightly different set of steps:

    1. Start IDE with no compilers in path
    2. Open an existing project.
    3. When the Build Tools panel is displayed, unselect the requires C and C++ buttons
    4. Press OK
    5. Print up Project Properties and get NPE
Comment 7 _ gordonp 2007-06-22 22:25:23 UTC
Fixed
Comment 8 Alexander Pepin 2007-08-07 14:12:58 UTC
verified in 5.5.1_u1 CND build (20070802).