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 256154

Summary: Bookmark problems in JSP file
Product: editor Reporter: mclaborn <mclaborn>
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log
Screen video of the moving bookmark

Description mclaborn 2015-10-24 16:57:47 UTC
Product Version = NetBeans IDE 8.1 RC2 (Build 201510122201)
Operating System = Linux version 3.13.0-66-generic running on amd64
Java; VM; Vendor = 1.8.0_51
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.51-b03

Reproducibility: Happens sometimes, but not always

Bookmark problems while editing a JSP file.
1) When a bookmark is placed, the Next Bookmark command does not navigate to the correct line.  In the file I'm working on now, one of the bookmarks navigates to 1 line before the bookmarked line, another positions 2 lines before the bookmark.  (Note: after closing and re-opening the JSP file, the Next Bookmark command positions after the bookmark in both examples, rather than before.)

2) Can't remove a bookmark. I've tried the keyborad shortcut, main menu and left margin/gutter context manu, but I can't make the bookmarks go away. 
After closing and re-opening the file, trying to right click on the bookmark, it moves to the line where the other bookmark was.  (I'm not making this up. I'll attach a screen video in a minute.)
Comment 1 mclaborn 2015-10-24 16:57:54 UTC
Created attachment 156949 [details]
IDE log
Comment 2 mclaborn 2015-10-24 17:10:13 UTC
I can provide the file in question directly, but prefer not to post it here, as it contains somewhat proprietary code.
Comment 3 mclaborn 2015-10-24 17:14:18 UTC
Created attachment 156950 [details]
Screen video of the moving bookmark