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 163434, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build nbms-and-javadoc-5672-on-100826) VM: Java HotSpot(TM) Server VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06 OS: Windows XP User Comments: ovk: created new RoR app and started editing yml (scanning not finished yet) sreimers: Editing yaml with copy & paste Stacktrace: java.lang.ArrayIndexOutOfBoundsException: offset=219501, length=1, snapshot-length=219323 at org.netbeans.modules.parsing.api.Snapshot.create(Snapshot.java:118) at org.netbeans.modules.languages.yaml.ruby.RubyEmbeddingProvider.translate(RubyEmbeddingProvider.java:159) at org.netbeans.modules.languages.yaml.ruby.RubyEmbeddingProvider.translate(RubyEmbeddingProvider.java:110) at org.netbeans.modules.languages.yaml.ruby.RubyEmbeddingProvider.getEmbeddings(RubyEmbeddingProvider.java:75) at org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:254) at org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:162)
Created attachment 101708 [details] stacktrace
offset + length > text.length