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 195006 - [70cat] ArrayIndexOutOfBoundsException: -1
Summary: [70cat] ArrayIndexOutOfBoundsException: -1
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-02 23:13 UTC by aldobrucale
Modified: 2011-02-04 05:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 174162


Attachments
stacktrace (2.29 KB, text/plain)
2011-02-02 23:13 UTC, aldobrucale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aldobrucale 2011-02-02 23:13:37 UTC
Build: NetBeans IDE Dev (Build 201102020000)
VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Linux

User Comments:
aldobrucale: Go to next difference in mercurial diff view

aldobrucale: Go to next difference in (mercurial) diff windows after ordering rows by location ascending




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: -1
   at org.netbeans.modules.mercurial.ui.diff.MultiDiffPanel.onNextButton(MultiDiffPanel.java:587)
   at org.netbeans.modules.mercurial.ui.diff.MultiDiffPanel.access$100(MultiDiffPanel.java:103)
   at org.netbeans.modules.mercurial.ui.diff.MultiDiffPanel$1.actionPerformed(MultiDiffPanel.java:360)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
Comment 1 aldobrucale 2011-02-02 23:13:41 UTC
Created attachment 105606 [details]
stacktrace
Comment 2 Ondrej Vrabec 2011-02-03 09:31:07 UTC
fixed: http://hg.netbeans.org/core-main/rev/e9df4309fe28
Comment 3 Quality Engineering 2011-02-04 05:57:11 UTC
Integrated into 'main-golden', will be available in build *201102040000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e9df4309fe28
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #195006 - [70cat] ArrayIndexOutOfBoundsException: -1
refresh diff view components when all diff table rows are deselected