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.
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)
Created attachment 105563 [details] stacktrace
fix up: http://hg.netbeans.org/cnd-main?cmd=changeset;node=29b9dd9cb6f3
fixed, change set: http://hg.netbeans.org/cnd-main/rev/61a0efefaf4e
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]