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 148334, 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 201009040000) VM: Java HotSpot(TM) 64-Bit Server VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06 OS: Linux User Comments: tkrd_oiax: Editing a ruby code. Stacktrace: javax.swing.text.BadLocationException: Invalid offset=9338 not within <0, 9322> at org.netbeans.editor.Utilities.checkOffsetValid(Utilities.java:1428) at org.netbeans.editor.Utilities.checkOffsetValid(Utilities.java:1423) at org.netbeans.editor.Utilities.getRowEnd(Utilities.java:302) at org.netbeans.modules.ruby.RubyStructureAnalyzer.addFolds(RubyStructureAnalyzer.java:484) at org.netbeans.modules.ruby.RubyStructureAnalyzer.addFolds(RubyStructureAnalyzer.java:510) at org.netbeans.modules.ruby.RubyStructureAnalyzer.folds(RubyStructureAnalyzer.java:453)
Created attachment 101909 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=172395