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 8.1 (Build 201510222201) VM: Java HotSpot(TM) 64-Bit Server VM, 25.74-b02, Java(TM) SE Runtime Environment, 1.8.0_74-b02 OS: Linux User Comments: GUEST: during project parsing.... Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:658) at org.netbeans.modules.cnd.apt.support.lang.APTFortranFilterEx$FilterStream.nextToken(APTFortranFilterEx.java:101) at org.netbeans.modules.cnd.apt.utils.APTCommentsFilter.nextToken(APTCommentsFilter.java:68) at org.netbeans.modules.cnd.apt.utils.APTCommentsFilter.nextToken(APTCommentsFilter.java:57) at org.netbeans.modules.cnd.modelimpl.impl.services.ReferenceRepositoryImpl.getTokensToResolve(ReferenceRepositoryImpl.java:412) at org.netbeans.modules.cnd.modelimpl.impl.services.ReferenceRepositoryImpl.getReferences(ReferenceRepositoryImpl.java:269)
Created attachment 159304 [details] stacktrace
Steps: - create Fortran Hello Word sample application - create C main file - modify C main function: int main(int argc, char** argv) { bar(); return (EXIT_SUCCESS); } - reparse project - invoke Find Usages on bar() in C main function See exception in message log
fixed, change set: http://hg.netbeans.org/cnd-main/rev/58f1d15a18f6
Integrated into 'main-silver', will be available in build *201604251813* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/58f1d15a18f6 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #258891 StringIndexOutOfBoundsException: String index out of range: 0