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 bug was originally marked as duplicate of bug 193232, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.1.1 (Build 201203012225) VM: OpenJDK 64-Bit Server VM, 22.0-b10, OpenJDK Runtime Environment, 1.7.0_03-icedtea-b147 OS: Linux User Comments: GUEST: Running "Replace in project" to do a find and replace. When pressing the "Find" button, it returned a list of 88 occurences it identified to be replaced. When I pressed "Replace", it then informed me 6 of the files have changed since it did the "Find", even though I hadn't altered anything. GUEST: Replace of some text found only in xxx.form file. dwuysan: Global replace tab to four spaces GUEST: Finad and replace... GUEST: search and replace in project GUEST: Localizando e Substituindo em um projeto completo emiddio: replace in projects Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: 5172 at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:870) at java.lang.StringBuilder.substring(StringBuilder.java:72) at org.netbeans.modules.search.MatchingObject.replace(MatchingObject.java:695) at org.netbeans.modules.search.ReplaceTask.doReplace(ReplaceTask.java:176) at org.netbeans.modules.search.ReplaceTask.access$000(ReplaceTask.java:68) at org.netbeans.modules.search.ReplaceTask$1.run(ReplaceTask.java:122)
Created attachment 117042 [details] stacktrace
Probably duplicate of bug 208859. *** This bug has been marked as a duplicate of bug 208859 ***