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 20130109-271212e8e2bf) VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-b18 OS: Windows 7 User Comments: jiriprox: IOOBE when deleting part of code Stacktrace: java.lang.IndexOutOfBoundsException: Index: 6, Size: 6 at java.util.ArrayList.RangeCheck(ArrayList.java:604) at java.util.ArrayList.get(ArrayList.java:382) at org.netbeans.modules.editor.bookmarks.ui.BookmarksTableModel.getEntry(BookmarksTableModel.java:97) at org.netbeans.modules.editor.bookmarks.ui.BookmarksView.notifyTableEntriesChanged(BookmarksView.java:356) at org.netbeans.modules.editor.bookmarks.ui.BookmarksView.updateTreeRootContext(BookmarksView.java:325) at org.netbeans.modules.editor.bookmarks.ui.BookmarksView.bookmarksChanged(BookmarksView.java:269)
Created attachment 130039 [details] stacktrace
Created attachment 130116 [details] stacktrace IOOBE when setting shortcut for the bookmark in the bookmarks table
Created attachment 130512 [details] stacktrace IOOBE when setting name or shortcut for bookmark
This issue almost blocks assigning shortcuts to bookmarks!
Reproduced and fixed. http://hg.netbeans.org/jet-main/rev/c2fe0607f522
verified in trunk
Integrated into 'main-golden', will be available in build *201301240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c2fe0607f522 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #224647 - IndexOutOfBoundsException: Index: 6, Size: 6.
Integrated in release73: c2fe0607f522 transplanted to 2b452e8587df
Integrated into 'releases', will be available in build *201301240957* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/2b452e8587df User: Miloslav Metelka <mmetelka@netbeans.org> Log: #224647 - IndexOutOfBoundsException: Index: 6, Size: 6. (transplanted from c2fe0607f522012bf452180de3c3c655fb7ec14f)
I verified code.
v.