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 194968 - Exception: inconsistent state [61-2147483647][92-99][122-129][150-157]
Summary: Exception: inconsistent state [61-2147483647][92-99][122-129][150-157]
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-01 18:40 UTC by Alexander Simon
Modified: 2011-02-03 05:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 176354


Attachments
stacktrace (1.26 KB, text/plain)
2011-02-01 18:40 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2011-02-01 18:40:24 UTC
Build: NetBeans IDE Dev (Build 110201-ac5553e03f9a)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: SunOS

User Comments:
alexvsimon: open file with #error directive that is located in #if-else-endif directive




Stacktrace: 
java.lang.Exception: inconsistent state [61-2147483647][92-99][122-129][150-157]
   at org.netbeans.modules.cnd.utils.CndUtils.assertTrue(CndUtils.java:160)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FilePreprocessorConditionState$Builder.checkConsistency(FilePreprocessorConditionState.java:317)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FilePreprocessorConditionState$Builder.build(FilePreprocessorConditionState.java:354)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FilePreprocessorConditionState$Builder.build(FilePreprocessorConditionState.java:309)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.doParse(FileImpl.java:1161)
   at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl._reparse(FileImpl.java:713)
Comment 1 Alexander Simon 2011-02-01 18:40:29 UTC
Created attachment 105563 [details]
stacktrace
Comment 2 Alexander Simon 2011-02-01 19:02:17 UTC
fix up:
http://hg.netbeans.org/cnd-main?cmd=changeset;node=29b9dd9cb6f3
Comment 3 Alexander Simon 2011-02-02 09:55:11 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/61a0efefaf4e
Comment 4 Quality Engineering 2011-02-03 05:51:39 UTC
Integrated into 'main-golden', will be available in build *201102030000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/61a0efefaf4e
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #194968 Exception: inconsistent state [61-2147483647][92-99][122-129][150-157]