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.
Build: NetBeans IDE Dev (Build 201702110002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.112-b15, Java(TM) SE Runtime Environment, 1.8.0_112-b15 OS: Windows 10 User Comments: mziernik: ?? GUEST: I changed the content of the Javascript file I was working in GUEST: I opened a Javascript file, which caused the exception to occur. After the file is opened, its content is not highlighted with different colors. All the text in the file is black, making it very difficult to read. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.javascript2.editor.JsSemanticAnalyzer.count(JsSemanticAnalyzer.java:220) at org.netbeans.modules.javascript2.editor.JsSemanticAnalyzer.count(JsSemanticAnalyzer.java:300) at org.netbeans.modules.javascript2.editor.JsSemanticAnalyzer.run(JsSemanticAnalyzer.java:136) at org.netbeans.modules.javascript2.editor.JsSemanticAnalyzer.run(JsSemanticAnalyzer.java:94) at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter.process(SemanticHighlighter.java:303) at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter.access$000(SemanticHighlighter.java:82)
Created attachment 163624 [details] stacktrace