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.

Bug 190201 - javax.swing.text.BadLocationException: Invalid offset=9338 not within <0, 9322>
Summary: javax.swing.text.BadLocationException: Invalid offset=9338 not within <0, 9322>
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-07 04:09 UTC by tkrd_oiax
Modified: 2016-01-13 12:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 172395


Attachments
stacktrace (2.65 KB, text/plain)
2010-09-07 04:09 UTC, tkrd_oiax
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tkrd_oiax 2010-09-07 04:09:30 UTC
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)
Comment 1 tkrd_oiax 2010-09-07 04:09:33 UTC
Created attachment 101909 [details]
stacktrace
Comment 2 Exceptions Reporter 2016-01-13 12:57:39 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=172395