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.
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)
Created attachment 124728 [details] stacktrace
Should be fixed now.