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 132150 - Assertion when hyperlinking to macro that is defined in project properties
Summary: Assertion when hyperlinking to macro that is defined in project properties
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Sergey Grinev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-06 19:27 UTC by Vladimir Kvashin
Modified: 2008-04-10 13:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (1.05 KB, text/plain)
2008-04-06 19:27 UTC, Vladimir Kvashin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2008-04-06 19:27:14 UTC
When I try to hyperlink to a macro that is defined in project properties, an assertion error occurs (see attachment).

Steps to reproduce:
- create a project
- project properties -> build -> C++ compiler: add a "QWE" to the preprocessor defitinions
- create a new C++ file, add 
    #ifdef QWE
    #endif
- hyperlink to QWE
Comment 1 Vladimir Kvashin 2008-04-06 19:27:39 UTC
Created attachment 59749 [details]
Stack trace
Comment 2 Sergey Grinev 2008-04-08 15:58:24 UTC
fixed in trunk: http://hg.netbeans.org/main?cmd=changeset;node=51fda6e75995
Comment 3 Alexander Pepin 2008-04-08 16:50:19 UTC
verified in trunk
Comment 4 Jesse Grodnik 2008-04-08 18:10:56 UTC
Assertion errors. Causes significant usability problem in use of mark occurences. Escalated to P1. Already fixed in
trunk and verified by QA. Need to code review changes before push to NB 6.1.
Comment 5 Sergey Grinev 2008-04-09 16:08:56 UTC
I gave wrong link for trunk fix.

Correct one is: http://hg.netbeans.org/main/rev/047dcd34c09b
and: http://hg.netbeans.org/main/rev/bd8982728784
Comment 6 Vladimir Voskresensky 2008-04-09 16:13:17 UTC
I reviewed and agree with two changes proposed to fix this bug.
Comment 7 Alexander Pepin 2008-04-09 16:23:28 UTC
The last fix has been verified in trunk build.
Comment 9 Alexander Pepin 2008-04-10 13:39:57 UTC
verified in NB6.1RC1 build