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 192391 - ArrayIndexOutOfBoundsException: 2
Summary: ArrayIndexOutOfBoundsException: 2
Status: RESOLVED DUPLICATE of bug 197534
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-24 09:19 UTC by xaguilars
Modified: 2011-10-07 10:26 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 172591


Attachments
stacktrace (2.63 KB, text/plain)
2010-11-24 09:19 UTC, xaguilars
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xaguilars 2010-11-24 09:19:08 UTC
Build: NetBeans IDE 7.0 Beta (Build 201011152355)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03-307, Java(TM) SE Runtime Environment, 1.6.0_22-b04-307-10M3261
OS: Mac OS X

User Comments:
nof8: I try to select a couple of wrapped lines in php file with russian text in UTF-8 encoding. I position cursor to the start of first line, hold shift, press down arrow, and after second press of down arrow I get an ArryOutOfBound exception

xaguilars: Editing css

GUEST: activated LINE WRAP (It's a great feature though)

GUEST: Selecting text in a yaml file

700x23: Editing a PHP script.

athompson: selecting text




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 2
   at org.netbeans.lib.editor.util.GapList.get(GapList.java:462)
   at org.netbeans.modules.editor.lib2.view.ParagraphViewChildren.modelToViewChecked(ParagraphViewChildren.java:338)
   at org.netbeans.modules.editor.lib2.view.EditorBoxView.modelToViewChecked(EditorBoxView.java:441)
   at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.modelToViewChecked(EditorBoxViewChildren.java:786)
   at org.netbeans.modules.editor.lib2.view.EditorBoxView.modelToViewChecked(EditorBoxView.java:441)
   at org.netbeans.modules.editor.lib2.view.DocumentView.modelToViewChecked(DocumentView.java:876)
Comment 1 xaguilars 2010-11-24 09:19:16 UTC
Created attachment 103271 [details]
stacktrace
Comment 2 Marian Mirilovic 2011-10-06 07:47:52 UTC
dup of issue 194869 ?
Comment 3 Miloslav Metelka 2011-10-07 10:26:48 UTC
This should be resolved by changes in issue 197534.

*** This bug has been marked as a duplicate of bug 197534 ***