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 270178

Summary: IllegalStateException: Annotation not added: se-jocke-nb-eslint-jslinterrorannotation 'util' is assigned a value but never used. (no-unused-vars) (Column: 5)
Product: editor Reporter: kRk
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal CC: kRk, Veraxus, Vitex
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 176577
Attachments: stacktrace

Description kRk 2017-03-23 10:46:25 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: OpenJDK 64-Bit Server VM, 25.121-b13, OpenJDK Runtime Environment, 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13
OS: Linux

User Comments:
GUEST: debugging PHP

kRk: ?

Vitex: Closing tab with code

Veraxus: I noticed that the current file would not save, and confirmed that the "save" option was grayed out in the File menu. When I tried to close the current file, the error occurred.

GUEST: Close Javascript file




Stacktrace: 
java.lang.IllegalStateException: Annotation not added: se-jocke-nb-eslint-jslinterrorannotation 'util' is assigned a value but never used. (no-unused-vars) (Column: 5)
   at org.netbeans.modules.editor.NbEditorDocument.removeAnnotation(NbEditorDocument.java:264)
   at org.openide.text.NbDocument.removeAnnotation(NbDocument.java:533)
   at org.openide.text.DocumentLine$Part.attachDetachAnnotations(DocumentLine.java:861)
   at org.openide.text.DocumentLine.attachDetachAnnotations(DocumentLine.java:449)
   at org.openide.text.DocumentLine.documentOpenedClosed(DocumentLine.java:900)
   at org.openide.text.DocumentOpenClose$2.updateLine(DocumentOpenClose.java:510)
Comment 1 kRk 2017-03-23 10:46:28 UTC
Created attachment 163925 [details]
stacktrace