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.
Enter next text and *don't save file*. Click on this "hyperlink". #include < template<class T1,class T2> StringIndexOutOfBoundsException occurs. java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1768) at org.netbeans.modules.cnd.modelimpl.apt.impl.structure.APTIncludeBaseNode.getFileName(APTIncludeBaseNode.java:112) at org.netbeans.modules.cnd.modelimpl.apt.impl.support.APTIncludeResolverImpl.resolveInclude(APTIncludeResolverImpl.java:53) at org.netbeans.modules.cnd.modelimpl.apt.impl.support.parser.APTParseFileWalker.onInclude(APTParseFileWalker.java:106) at org.netbeans.modules.cnd.modelimpl.apt.support.APTWalker.onAPT(APTWalker.java:204)
Created attachment 35837 [details] Stack trace
fixed. cvs log: Checking in APTIncludeBaseNode.java; /shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/apt/impl/structure/APTIncludeBaseNode.java,v <-- APTIncludeBaseNode.java new revision: 1.2.2.8; previous revision: 1.2.2.7 done