P1 Bug 255258 - [newcodemodel] AssertionError: no object for UID null in object class org.netbeans.modules.cnd.modelimpl.csm.MacroImpl:[ offset=79828 - offset=79887
Alexander Simon <[email protected]> Mon, 05 Oct 2015 18:21:06 +0300
| Newsgroups | gmane.comp.java.netbeans.reviewers |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------030506000001070009010200
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
*Bug 255258* <https://netbeans.org/bugzilla/show_bug.cgi?id=255258>
-[newcodemodel] AssertionError: no object for UID null in object class
org.netbeans.modules.cnd.modelimpl.csm.MacroImpl:[ offset=79828 -
offset=79887
Description.
Creating macros reference is a post preprocessing action.
It depends on quality of preprocessing.
Preprocessing errors results in secondary errors in the a post
preprocessing action.
The fix:
- prevents NPE in release mode (-da) if a creating macros reference is
failed.
- do not log errors if project/IDE is closed.
The change set:
http://hg.netbeans.org/cnd-main/rev/4a5cb085b264
prevents NPE after assert.
Forbidding log was fixed in other issue:
*Bug 255419* <https://netbeans.org/bugzilla/show_bug.cgi?id=255419>
-[newcodemodel] Exception: Invalid file in the directive: [2521-2538]
annotation=nullC:\Developer\mingw64-win32\x86_64-w64-mingw32\include\GL\gl.h
#define GL_TRUE
Alexander
--------------030506000001070009010200
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<a href="https://netbeans.org/bugzilla/show_bug.cgi?id=255258"><b>Bug 255258</b></a>
-<span id="summary_alias_container"> <span
id="short_desc_nonedit_display">[newcodemodel] AssertionError:
no object for UID null in object class
org.netbeans.modules.cnd.modelimpl.csm.MacroImpl:[ offset=79828
- offset=79887<br>
<br>
Description.<br>
Creating macros reference is a post preprocessing action.<br>
It depends on quality of preprocessing.<br>
Preprocessing errors results in secondary errors in the </span></span><span
id="summary_alias_container"><span id="short_desc_nonedit_display">a
post preprocessing action.<br>
The fix:<br>
- prevents NPE in release mode (-da) if </span></span><span
id="summary_alias_container"><span id="short_desc_nonedit_display">a
creating macros reference is failed.<br>
- do not log errors if project/IDE is closed.<br>
<br>
</span></span><span id="summary_alias_container"><span
id="short_desc_nonedit_display">The change set:</span></span><br>
<span id="summary_alias_container"><span
id="short_desc_nonedit_display"></span></span><a
href="http://hg.netbeans.org/cnd-main/rev/4a5cb085b264">http://hg.netbeans.org/cnd-main/rev/4a5cb085b264</a><br>
prevents NPE after assert.<br>
<br>
Forbidding log was fixed in other issue:<br>
<a href="https://netbeans.org/bugzilla/show_bug.cgi?id=255419"><b>Bug 255419</b></a>
-<span id="summary_alias_container"> <span
id="short_desc_nonedit_display">[newcodemodel] Exception:
Invalid file in the directive: [2521-2538]
annotation=nullC:\Developer\mingw64-win32\x86_64-w64-mingw32\include\GL\gl.h
#define GL_TRUE<br>
<br>
Alexander<br>
</span></span>
</body>
</html>
--------------030506000001070009010200--