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 246863 - ArrayIndexOutOfBoundsException: 12942
Summary: ArrayIndexOutOfBoundsException: 12942
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
: 247607 252399 255108 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-09-04 01:20 UTC by _ gtzabari
Modified: 2015-09-09 06:49 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 211579


Attachments
stacktrace (1.69 KB, text/plain)
2014-09-04 01:20 UTC, _ gtzabari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2014-09-04 01:20:18 UTC
This bug was originally marked as duplicate of bug 246174, 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 201408290001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Windows 7

User Comments:
gtzabari: Scrolling down DIFF window. Exception thrown.




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 12942
   at org.netbeans.modules.diff.builtin.visualizer.editable.DiffViewManager$ScrollMapCached.compute(DiffViewManager.java:746)
   at org.netbeans.modules.diff.builtin.visualizer.editable.DiffViewManager$ScrollMapCached.getScrollMap(DiffViewManager.java:698)
   at org.netbeans.modules.diff.builtin.visualizer.editable.DiffViewManager.smartScroll(DiffViewManager.java:522)
   at org.netbeans.modules.diff.builtin.visualizer.editable.DiffViewManager.access$300(DiffViewManager.java:72)
   at org.netbeans.modules.diff.builtin.visualizer.editable.DiffViewManager$2.run(DiffViewManager.java:179)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
Comment 1 _ gtzabari 2014-09-04 01:20:21 UTC
Created attachment 149031 [details]
stacktrace
Comment 2 Ondrej Vrabec 2014-09-04 07:46:16 UTC
Is this reproducible? Does it always happen for a particular file?
Comment 3 Ondrej Vrabec 2014-09-04 08:03:24 UTC
fix: http://hg.netbeans.org/core-main/rev/0df687ad1ccc
Comment 4 Quality Engineering 2014-09-06 04:54:03 UTC
Integrated into 'main-silver', will be available in build *201409060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0df687ad1ccc
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #246863 - ArrayIndexOutOfBoundsException: 12942
Comment 5 Ondrej Vrabec 2014-10-01 07:01:38 UTC
*** Bug 247607 has been marked as a duplicate of this bug. ***
Comment 6 Ondrej Vrabec 2015-07-10 11:17:20 UTC
*** Bug 252399 has been marked as a duplicate of this bug. ***
Comment 7 Ondrej Vrabec 2015-09-09 06:49:52 UTC
*** Bug 255108 has been marked as a duplicate of this bug. ***