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 20140731-3ee7dd0e3967) VM: Java HotSpot(TM) 64-Bit Server VM, 24.60-b09, Java(TM) SE Runtime Environment, 1.7.0_60-b19 OS: Linux User Comments: jglick: Switched Git branches on command line. No diff window open that I know of (had recently closed one and committed). Stacktrace: java.lang.ArrayIndexOutOfBoundsException: 990 at org.netbeans.modules.diff.builtin.visualizer.editable.DiffViewManager$ScrollMapCached.compute(DiffViewManager.java:728) 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.scroll(DiffViewManager.java:201) at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.showCurrentDifference(EditableDiffView.java:918) at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.access$2200(EditableDiffView.java:114)
Created attachment 148452 [details] stacktrace
i don't know, i can't reproduce. If it normally works and you can't see any other problems this may be a mere inconsistency between refreshing diffs (after the file has been changed on disk) and computing data for smart-scrolling. It may be enough to just skip computing if bounds do not match and wait for diff computation to trigger another round when it's ready.
*** Bug 246259 has been marked as a duplicate of this bug. ***
fix: http://hg.netbeans.org/core-main/rev/89dd753c2744
release801: #62b045715448
Integrated into 'main-silver', will be available in build *201408060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/89dd753c2744 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #246174 - ArrayIndexOutOfBoundsException: 990
Integrated into 'releases/release801', will be available in build *201408071314* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/62b045715448 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #246174 - ArrayIndexOutOfBoundsException: 990 (grafted from 89dd753c274413b29ab2f208d5a8cf75de995c72)
*** Bug 254177 has been marked as a duplicate of this bug. ***