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 256547

Summary: java.lang.Exception: incomplete enum CSM_ENUM_DECLARATION
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: Code ModelAssignee: petrk
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description Alexander Simon 2015-11-12 11:04:36 UTC
Exception in log:

INFO [cnd.logger]: incomplete enum CSM_ENUM_DECLARATION
java.lang.Exception: incomplete enum CSM_ENUM_DECLARATION
@[Code Model Parser 0: Parsing /export/home/alsimon/projects/gcc-master/gcc/testsuite/c-c++-common/attributes-enum-1.c]
[catch] at org.netbeans.modules.cnd.utils.CndUtils.assertTrueInConsole(CndUtils.java:222)
	at org.netbeans.modules.cnd.utils.CndUtils.assertTrueInConsole(CndUtils.java:287)
	at org.netbeans.modules.cnd.modelimpl.csm.EnumImpl.isStronglyTypedEnum(EnumImpl.java:245)
	at org.netbeans.modules.cnd.modelimpl.csm.EnumImpl.<init>(EnumImpl.java:77)
	at org.netbeans.modules.cnd.modelimpl.csm.EnumImpl.create(EnumImpl.java:97)
	at org.netbeans.modules.cnd.modelimpl.csm.core.AstRenderer.createEnum(AstRenderer.java:1408)
	at org.netbeans.modules.cnd.modelimpl.csm.core.AstRenderer.render(AstRenderer.java:189)
	at org.netbeans.modules.cnd.modelimpl.csm.core.AstRenderer.render(AstRenderer.java:122)
	at org.netbeans.modules.cnd.modelimpl.parser.ParserProviderImpl$Antlr2CppParser.render(ParserProviderImpl.java:240)
	at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl._parse(FileImpl.java:1157)
	at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.ensureParsedImpl(FileImpl.java:726)
	at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.ensureParsed(FileImpl.java:641)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread._run(ParserThread.java:148)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:74)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:92)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
Comment 1 Alexander Simon 2015-11-12 11:04:47 UTC
Source code is gcc trunk:
https://codeload.github.com/gcc-mirror/gcc/zip/master
Was unconfigured project.