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

Summary: NullPointerException at org.netbeans.modules.editor.bookmarks.ui.BookmarksTableModel.getValueAt
Product: editor Reporter: Jiri Prox <jiriprox>
Component: NavigationAssignee: Miloslav Metelka <mmetelka>
Status: REOPENED ---    
Severity: normal CC: anton0xf, draakhan, jiriprox, jonyrock
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 198801
Attachments: stacktrace
stacktrace
stacktrace
stacktrace

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