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.
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)
Created attachment 105606 [details] stacktrace
fixed: http://hg.netbeans.org/core-main/rev/e9df4309fe28
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