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 271855

Summary: IllegalStateException: Annotation not added: org-netbeans-spi-editor-hints-parser_annotation_err_fixableUnable to resolve identifier data_on. error: ?data_on? was not declared in this scope ---- (Al
Product: editor Reporter: Exceptions Reporter <exceptions_reporter>
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 231032
Attachments: stacktrace

Description Exceptions Reporter 2017-11-28 07:12:08 UTC
This bug was originally marked as duplicate of bug 235211, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) Client VM, 25.151-b12, Java(TM) SE Runtime Environment, 1.8.0_151-b12
OS: Linux

User Comments:
GUEST: frequent ide stops without any warnings while editing c++ source




Stacktrace: 
java.lang.IllegalStateException: Annotation not added: org-netbeans-spi-editor-hints-parser_annotation_err_fixableUnable to resolve identifier data_on.

 error: ?data_on? was not declared in this scope
----
(Alt-Enter shows hints)
   at org.netbeans.modules.editor.NbEditorDocument.removeAnnotation(NbEditorDocument.java:264)
   at org.openide.text.NbDocument.removeAnnotation(NbDocument.java:533)
   at org.netbeans.modules.editor.hints.ParseErrorAnnotation.detachAnnotation(ParseErrorAnnotation.java:185)
   at org.netbeans.modules.editor.hints.AnnotationHolder.attachDetach(AnnotationHolder.java:342)
   at org.netbeans.modules.editor.hints.AnnotationHolder.access$400(AnnotationHolder.java:125)
   at org.netbeans.modules.editor.hints.AnnotationHolder$3.run(AnnotationHolder.java:361)
Comment 1 Exceptions Reporter 2017-11-28 07:12:24 UTC
Created attachment 165506 [details]
stacktrace