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 195546 - [70cat] IndexOutOfBoundsException: end=48 > length()=46
Summary: [70cat] IndexOutOfBoundsException: end=48 > length()=46
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-16 09:46 UTC by pbelbin
Modified: 2011-02-21 14:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 176714


Attachments
stacktrace (4.96 KB, text/plain)
2011-02-16 09:46 UTC, pbelbin
Details
stacktrace (4.96 KB, text/plain)
2011-02-16 10:16 UTC, pbelbin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pbelbin 2011-02-16 09:46:00 UTC
Build: NetBeans IDE Dev (Build 201102100500)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows 7

User Comments:
pbelbin: deleted some text and got this exception




Stacktrace: 
java.lang.IndexOutOfBoundsException: end=48 > length()=46
   at org.netbeans.lib.editor.util.CharSequenceUtilities.checkIndexesValid(CharSequenceUtilities.java:535)
   at org.netbeans.lib.editor.util.CharSequenceUtilities.checkIndexesValid(CharSequenceUtilities.java:549)
   at org.netbeans.lib.editor.util.CharSubSequence.checkIndexesValid(CharSubSequence.java:65)
   at org.netbeans.lib.editor.util.CharSubSequence.<init>(CharSubSequence.java:87)
   at org.netbeans.lib.editor.util.CharSubSequence$StringLike.<init>(CharSubSequence.java:126)
   at org.netbeans.lib.editor.util.AbstractCharSequence$StringLike.subSequence(AbstractCharSequence.java:129)
Comment 1 pbelbin 2011-02-16 09:46:06 UTC
Created attachment 106055 [details]
stacktrace
Comment 2 pbelbin 2011-02-16 10:16:29 UTC
Created attachment 106056 [details]
stacktrace

Opened a .ini file, highligted some text and hit an alpha character (to start replacing the highlighted text) and got this exception.
Comment 3 Miloslav Metelka 2011-02-21 14:02:49 UTC
The reported build does not contain last fixes from issue 191620. Please use a recent Dev build and reopen if the problem would persist. Thanks.