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 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
Summary: [newcodemodel] Exception: Invalid file in the directive: [2521-2538] annotati...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
: 255256 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-09-19 12:06 UTC by MackSix
Modified: 2015-09-26 12:58 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 220040


Attachments
stacktrace (1.60 KB, text/plain)
2015-09-19 12:06 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2015-09-19 12:06:15 UTC
Build: NetBeans IDE Dev (Build 201509180002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 7

User Comments:
MackSix: Changed #include <GL/glut.h> to <Gl/glut> and this happened.




Stacktrace: 
java.lang.Exception: Invalid file in the directive: [2521-2538] annotation=nullC:\Developer\mingw64-win32\x86_64-w64-mingw32\include\GL\gl.h #define GL_TRUE
   at org.netbeans.modules.cnd.utils.CndUtils.severe(CndUtils.java:206)
   at org.netbeans.modules.cnd.utils.CndUtils.assertTrue(CndUtils.java:191)
   at org.netbeans.modules.cnd.modelimpl.parser.clank.MacroReference.createMacroReference(MacroReference.java:101)
   at org.netbeans.modules.cnd.modelimpl.parser.clank.ClankTokenStreamProducer.addMacroExpansions(ClankTokenStreamProducer.java:579)
   at org.netbeans.modules.cnd.modelimpl.parser.clank.ClankTokenStreamProducer.getTokenStream(ClankTokenStreamProducer.java:178)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.doParse(FileImpl.java:1475)
Comment 1 MackSix 2015-09-19 12:06:17 UTC
Created attachment 156297 [details]
stacktrace
Comment 2 Vladimir Kvashin 2015-09-25 13:35:53 UTC

*** This bug has been marked as a duplicate of bug 255560 ***
Comment 3 Vladimir Kvashin 2015-09-25 18:24:05 UTC
*** Bug 255256 has been marked as a duplicate of this bug. ***
Comment 4 Vladimir Kvashin 2015-09-25 18:29:41 UTC
http://hg.netbeans.org/cnd-main/rev/d7bd19ccfcbe
Comment 5 Quality Engineering 2015-09-26 12:58:18 UTC
Integrated into 'main-silver', will be available in build *201509261150* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d7bd19ccfcbe
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #255419 - [newcodemodel] Exception: Invalid file in the directive