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 226399 - NullPointerException at org.netbeans.modules.editor.bookmarks.ui.BookmarksTableModel.getValueAt
Summary: NullPointerException at org.netbeans.modules.editor.bookmarks.ui.BookmarksTab...
Status: REOPENED
Alias: None
Product: editor
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-20 13:32 UTC by Jiri Prox
Modified: 2017-06-22 10:45 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 198801


Attachments
stacktrace (3.16 KB, text/plain)
2013-02-20 13:32 UTC, Jiri Prox
Details
stacktrace (3.16 KB, text/plain)
2013-06-12 14:07 UTC, Jiri Prox
Details
stacktrace (3.16 KB, text/plain)
2014-04-11 09:44 UTC, draakhan
Details
stacktrace (3.15 KB, text/plain)
2014-09-24 10:04 UTC, anton0xf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2013-02-20 13:32:39 UTC
This bug was originally marked as duplicate of bug 217712, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_15-b03
OS: Windows 7

User Comments:
jiriprox: NPE when going to next bookmark




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.editor.bookmarks.ui.BookmarksTableModel.getValueAt(BookmarksTableModel.java:153)
   at org.netbeans.modules.editor.bookmarks.ui.BookmarkHistoryPopup.initTable(BookmarkHistoryPopup.java:231)
   at org.netbeans.modules.editor.bookmarks.ui.BookmarkHistoryPopup.show(BookmarkHistoryPopup.java:139)
   at org.netbeans.modules.editor.bookmarks.ui.BookmarkHistoryPopupAction.actionPerformed(BookmarkHistoryPopupAction.java:97)
   at org.netbeans.modules.editor.bookmarks.WrapperBookmarkAction$PopupPrevious.actionPerformed(WrapperBookmarkAction.java:147)
   at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:1176)
Comment 1 Jiri Prox 2013-02-20 13:32:41 UTC
Created attachment 131608 [details]
stacktrace
Comment 2 Jiri Prox 2013-06-12 14:07:36 UTC
Created attachment 135695 [details]
stacktrace

NPE when working with bookmarks.

I don't know exact steps to reproduce, but I remember I create new file add and remove bookmark, then open bookmarks view and againt tried to add bookmark
Comment 3 draakhan 2014-04-11 09:44:00 UTC
Created attachment 146697 [details]
stacktrace

I was trying to remove bookmark in editor by hitting ctrl+shit+m, but the bookmark (line highlighting) is still visible. On the first hit of the shortcut there is on the left margin one symbol of the bookmark, on the second hit appears an arrow with the hing "multiple annotations heare [2] - click to cycle" (cycling is between two bookmark symbols), the third shortcut hit and again there is only one symbol of the bookmark, and etc.
Comment 4 anton0xf 2014-09-24 10:04:54 UTC
Created attachment 149488 [details]
stacktrace

1. set bookmark 
2. edit same file (generate getter and setter and delete some code)
3. try to go to that bookmark
Comment 5 Martin Balin 2016-07-07 07:27:34 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss