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 269813 - NullPointerException at org.netbeans.modules.javascript2.editor.JsSemanticAnalyzer.count
Summary: NullPointerException at org.netbeans.modules.javascript2.editor.JsSemanticAna...
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-13 16:45 UTC by mziernik
Modified: 2017-02-13 16:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 227654


Attachments
stacktrace (2.82 KB, text/plain)
2017-02-13 16:45 UTC, mziernik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mziernik 2017-02-13 16:45:39 UTC
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)
Comment 1 mziernik 2017-02-13 16:45:41 UTC
Created attachment 163624 [details]
stacktrace