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 - Bookmark problems in JSP file
Summary: Bookmark problems in JSP file
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2015-10-24 16:57 UTC by mclaborn
Modified: 2015-11-06 20:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

IDE log (754.13 KB, text/plain)
2015-10-24 16:57 UTC, mclaborn
Screen video of the moving bookmark (371.00 KB, application/octet-stream)
2015-10-24 17:14 UTC, mclaborn

Note You need to log in before you can comment on or make changes to this bug.
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