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 205060 - ArrayIndexOutOfBoundsException: 240
Summary: ArrayIndexOutOfBoundsException: 240
Status: RESOLVED DUPLICATE of bug 202837
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-14 05:01 UTC by mil-ast
Modified: 2011-11-15 10:02 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 181675


Attachments
stacktrace (3.58 KB, text/plain)
2011-11-14 05:01 UTC, mil-ast
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mil-ast 2011-11-14 05:01:00 UTC
Build: NetBeans IDE 7.1 Beta (Build 201109252201)
VM: Java HotSpot(TM) Client VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07
OS: Windows 7

User Comments:
GUEST: Adding TAB's into a php code

GUEST: changing tab

GUEST: typed:

$form[] = 

in PHP 5.3 file (class in a namespace).




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 240
   at org.netbeans.lib.editor.util.GapList.get(GapList.java:462)
   at org.netbeans.modules.editor.lib2.view.ViewChildren.endVisualOffset(ViewChildren.java:210)
   at org.netbeans.modules.editor.lib2.view.DocumentViewChildren.getChildAllocation(DocumentViewChildren.java:223)
   at org.netbeans.modules.editor.lib2.view.DocumentView.getChildAllocation(DocumentView.java:315)
   at org.netbeans.modules.editor.lib2.view.ViewHierarchyImpl.modelToParagraphView(ViewHierarchyImpl.java:286)
   at org.netbeans.modules.editor.lib2.view.LockedViewHierarchy.modelToParagraphView(LockedViewHierarchy.java:124)
Comment 1 mil-ast 2011-11-14 05:01:03 UTC
Created attachment 113171 [details]
stacktrace
Comment 2 Milutin Kristofic 2011-11-15 10:02:22 UTC

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