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 183741 - ArrayIndexOutOfBoundsException: 1024
Summary: ArrayIndexOutOfBoundsException: 1024
Status: VERIFIED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 6.x
Hardware: All All
: P1 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
: 183801 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-09 02:37 UTC by ivan
Modified: 2010-04-15 14:48 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 12723


Attachments
stacktrace (3.87 KB, text/plain)
2010-04-09 02:37 UTC, ivan
Details
stacktrace (3.46 KB, text/plain)
2010-04-09 18:24 UTC, Michel Graciano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ivan 2010-04-09 02:37:19 UTC
Build: NetBeans IDE Dev (Build 100407-182a72576e59)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: SunOS

User Comments:
GUEST: -------------------------------------------------------------------------------
>Log Session: Friday, November 23, 2007 8:53:30 PM MST
>System Info: 
  Product Version         = NetBeans IDE 6.0 Beta 1 (Build 200709141330)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05; Sun Microsystems Inc.
  Java Home               = C:\Program Files\Java\jdk1.6.0_03\jre
  System Locale; Encoding = en_US (nb); Cp1252
  Home Directory          = C:\Documents and Settings\yoshi
  Current Directory       = C:\Program Files\NetBeans 6.0 Beta 1
  User Directory          = C:\Documents and Settings\yoshi\.netbeans\6.0beta1
  Installation            = C:\Program Files\NetBeans 6.0 Beta 1\nb6.0
                            C:\Program Files\NetBeans 6.0 Beta 1\ide8
                            C:\Program Files\NetBeans 6.0 Beta 1\ruby1
                            C:\Program Files\NetBeans 6.0 Beta 1\platform7
  Boot

GUEST: Just typing

ivan: This happenned after I presed Accept on the RHS window of a MergeConflictsResolver




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 1024
   at org.netbeans.lib.editor.view.GapObjectArray.getItem(GapObjectArray.java:106)
   at org.netbeans.lib.editor.view.GapBoxViewChildren.getChild(GapBoxViewChildren.java:217)
   at org.netbeans.lib.editor.view.GapBoxView.getChild(GapBoxView.java:1605)
   at org.netbeans.lib.editor.view.GapBoxView.getView(GapBoxView.java:480)
   at org.netbeans.modules.diff.builtin.visualizer.LinesComponent.paintComponent(LinesComponent.java:420)
   at javax.swing.JComponent.paint(JComponent.java:1027)
Comment 1 ivan 2010-04-09 02:37:23 UTC
Created attachment 96935 [details]
stacktrace
Comment 2 Michel Graciano 2010-04-09 18:24:09 UTC
Created attachment 96983 [details]
stacktrace
Comment 3 Ondrej Vrabec 2010-04-12 08:11:59 UTC
*** Bug 183801 has been marked as a duplicate of this bug. ***
Comment 4 Ondrej Vrabec 2010-04-12 09:11:12 UTC
fix: http://hg.netbeans.org/cdev/rev/3a325c2a1235
Comment 5 Jaromir Uhrik 2010-04-12 09:31:40 UTC
We agreed to have this fixed in 6.9 Beta. Making this issue P1 because the original issue is P1 too.
Comment 6 Jaromir Uhrik 2010-04-13 07:32:14 UTC
Please integrate it to the 6.9 beta branch - I have verified the fix in the last cdev build:
Product Version: NetBeans IDE Dev (Build cdev-2320-on-100413)
Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101
System: Mac OS X version 10.5.8 running on x86_64; MacRoman; en_US (nb)
Comment 7 Quality Engineering 2010-04-13 17:36:20 UTC
Integrated into 'main-golden', will be available in build *201004131450* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3a325c2a1235
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: Issue #183741 - ArrayIndexOutOfBoundsException: 1024
Comment 8 Ondrej Vrabec 2010-04-14 07:27:49 UTC
fix: http://hg.netbeans.org/cdev/rev/14cc66cb972f
Comment 9 Ondrej Vrabec 2010-04-14 07:46:53 UTC
fixed in 6.9 beta clone: fix: http://hg.netbeans.org/release69_beta/rev/ac2110385b72
jara, please verify
Comment 10 Jaromir Uhrik 2010-04-15 14:48:30 UTC
Verified in the following build from the beta branch:
Product Version: NetBeans IDE 6.9 Beta (Build 201004142028)
Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101
System: Mac OS X version 10.5.8 running on x86_64; MacRoman; en_US (nb)