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 Dev (Build 201105070000) VM: OpenJDK 64-Bit Server VM, 19.0-b09, OpenJDK Runtime Environment, 1.6.0_20-b20 OS: Linux Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: -213 at java.lang.String.<init>(String.java:225) at org.netbeans.modules.cnd.modelimpl.csm.core.FileBufferFile.getText(FileBufferFile.java:85) at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.getText(FileImpl.java:1241) at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.getText(FileImpl.java:115) at org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableBase.getText(OffsetableBase.java:141) at org.netbeans.modules.cnd.modelutil.CsmDisplayUtilities.getTooltipText(CsmDisplayUtilities.java:246)
Created attachment 108248 [details] stacktrace
added assertTrue and recovery to constructor. http://hg.netbeans.org/releases/rev/f7169e4ed345
Please remove unneeded string concatenation introduced in the fix. It is performance issue.
done
Thanks.