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 234647 - IllegalStateException: Annotation not added: BreakpointLine Breakpoint
Summary: IllegalStateException: Annotation not added: BreakpointLine Breakpoint
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: All All
: P1 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
: 234688 234689 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-20 13:13 UTC by Milutin Kristofic
Modified: 2013-08-23 09:21 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203188


Attachments
stacktrace (2.67 KB, text/plain)
2013-08-20 13:13 UTC, Milutin Kristofic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milutin Kristofic 2013-08-20 13:13:20 UTC
This issue was reported manually by mkristofic.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 20130820-6c112af4c60f)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15
OS: Linux

User Comments:
mkristofic: Add breakpoint to file, close file, open file, add breakpoint where was first breakpoint.

The problem is that annotations are not shown after reopening file




Stacktrace: 
java.lang.IllegalStateException: Annotation not added: BreakpointLine Breakpoint
   at org.netbeans.modules.editor.NbEditorDocument.removeAnnotation(NbEditorDocument.java:257)
   at org.openide.text.NbDocument.removeAnnotation(NbDocument.java:533)
   at org.openide.text.DocumentLine$2.run(DocumentLine.java:378)
   at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1390)
   at org.openide.text.DocumentLine.removeAnnotation(DocumentLine.java:373)
   at org.openide.text.Annotation.detach(Annotation.java:136)
Comment 1 Milutin Kristofic 2013-08-20 13:13:22 UTC
Created attachment 138915 [details]
stacktrace
Comment 2 Milutin Kristofic 2013-08-20 13:17:09 UTC
attachDetachAnnotations is not called after Bug #228991
Comment 3 Milutin Kristofic 2013-08-21 10:04:57 UTC
*** Bug 234689 has been marked as a duplicate of this bug. ***
Comment 4 Milutin Kristofic 2013-08-21 10:05:19 UTC
*** Bug 234688 has been marked as a duplicate of this bug. ***
Comment 5 Miloslav Metelka 2013-08-22 09:30:29 UTC
http://hg.netbeans.org/jet-main/rev/4fad7eb90bc3
Comment 6 Milutin Kristofic 2013-08-23 09:21:27 UTC
*** Bug 234827 has been marked as a duplicate of this bug. ***