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.
Summary: | [newcodemodel] AssertionError: referenced macro is null. ref [278,281] file=KeyBasedUID on FileKey (/home/toddb/src/srcapp/omneon/tap/tap8/tap8.nb/N/, /home/toddb/src/srcapp/omneon/codecs/generic/mc-codec.cc);refKin | ||
---|---|---|---|
Product: | cnd | Reporter: | tbrunhoff <tbrunhoff> |
Component: | Code Completion | Assignee: | Alexander Simon <alexvsimon> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | GenKabuki, soldatov, tbrunhoff |
Priority: | P1 | ||
Version: | 8.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 218909 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace project stacktrace |
Description
tbrunhoff
2015-08-01 15:45:29 UTC
Created attachment 155108 [details]
stacktrace
Created attachment 155115 [details]
stacktrace
clicking on an edit window
Created attachment 155116 [details]
stacktrace
searching text
Created attachment 155243 [details]
stacktrace
open, edit, close and open C++ file again
================================== #include "function.h" int main() { func3(AAA); return(0); } int func3(int x) { return x * x; } ================================== #ifndef _function_H #define _function_H int func3(int); #endif ================================== CXX=g++ CXXFLAGS=-g3 -gdwarf-2 function1: function.cc $(CXX) $(CXXFLAGS) -DAAA=5 -o function1 function.cc clean: rm -f function1 ================================== Scenario: - Open configured project - Open function.cc ==> AAA is unresolved identifier - Reparse project (Code Assistance|Reparse Project menu item) ==> exception Created attachment 155244 [details]
project
Created attachment 155293 [details]
stacktrace
edit c++ file, jump to header file, close header file
*** Bug 254135 has been marked as a duplicate of this bug. *** It is a regression after fixing bug #253964 fixed, change set: http://hg.netbeans.org/cnd-main/rev/73c7eb5ea7af Integrated into 'main-silver', will be available in build *201508200002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/73c7eb5ea7af User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #254053 [newcodemodel] AssertionError: referenced macro is null. |