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.
This issue was reported manually by vv159170. It already has 1 duplicates Build: NetBeans IDE 7.0 RC1 (Build 201103170000) VM: Java HotSpot(TM) Client VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06 OS: SunOS User Comments: soldatov: Call "Failed #include/#error Directives" window and select some node Stacktrace: java.lang.ArrayIndexOutOfBoundsException: -1 at org.netbeans.modules.cnd.modelimpl.csm.core.Line2Offset._getStartLineOffset(Line2Offset.java:165) at org.netbeans.modules.cnd.modelimpl.csm.core.Line2Offset.getLineColumnByOffset(Line2Offset.java:76) at org.netbeans.modules.cnd.modelimpl.csm.core.AbstractFileBuffer.getLineColumnByOffset(AbstractFileBuffer.java:155) at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.getLineColumn(FileImpl.java:1851) at org.netbeans.modules.cnd.modelimpl.csm.core.LazyOffsPositionImpl.getLine(LazyOffsPositionImpl.java:71) at org.netbeans.modules.cnd.highlight.error.includes.ErrorIncludeDialog$11.run(ErrorIncludeDialog.java:632)
Created attachment 107305 [details] stacktrace
fixed, change set: http://hg.netbeans.org/cnd-main/rev/f48cac4c61cf
Integrated into 'main-golden', will be available in build *201104060400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/f48cac4c61cf User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #197120 ArrayIndexOutOfBoundsException: -1