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 218791 - NullPointerException at org.netbeans.modules.javascript2.editor.hints.JsConventionRule$ConventionVisitor.checkSemicolon
Summary: NullPointerException at org.netbeans.modules.javascript2.editor.hints.JsConve...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-21 15:05 UTC by Exceptions Reporter
Modified: 2012-09-24 12:25 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 192648


Attachments
stacktrace (2.65 KB, text/plain)
2012-09-21 15:05 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-09-21 15:05:45 UTC
This bug was originally marked as duplicate of bug 216709, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201208270001)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.10-b01-428, Java(TM) SE Runtime Environment, 1.6.0_35-b10-428-10M3811
OS: Mac OS X

User Comments:
marfous: - writing in the tpl editor

tjchambers: Hit command S to save

larsomat: open html-template

larsomat: ending a script tag and typing "</sc/" by accident

tjchambers: Just typing

larsomat: writing php inside script-tag in symfony template file

larsomat: open a file

tjchambers: hit return to indent line




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javascript2.editor.hints.JsConventionRule$ConventionVisitor.checkSemicolon(JsConventionRule.java:176)
   at org.netbeans.modules.javascript2.editor.hints.JsConventionRule$ConventionVisitor.visit(JsConventionRule.java:332)
   at com.oracle.nashorn.ir.ExecuteNode.accept(ExecuteNode.java:77)
   at com.oracle.nashorn.ir.FunctionNode.accept(FunctionNode.java:305)
   at org.netbeans.modules.javascript2.editor.hints.JsConventionRule$ConventionVisitor.process(JsConventionRule.java:161)
   at org.netbeans.modules.javascript2.editor.hints.JsConventionRule.computeHints(JsConventionRule.java:107)
Comment 1 Exceptions Reporter 2012-09-21 15:05:48 UTC
Created attachment 124728 [details]
stacktrace
Comment 2 Petr Pisl 2012-09-24 12:25:18 UTC
Should be fixed now.