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 issue was reported manually by KhArtNJava. It already has 2 duplicates Build: NetBeans IDE Dev (Build 201207110002) VM: Java HotSpot(TM) Client VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05 OS: Windows 7 Stacktrace: java.lang.NullPointerException at org.netbeans.modules.javascript2.editor.formatter.FormatVisitor.visit(FormatVisitor.java:430) at com.oracle.nashorn.ir.UnaryNode.accept(UnaryNode.java:122) at com.oracle.nashorn.ir.BinaryNode.accept(BinaryNode.java:122) at com.oracle.nashorn.ir.BinaryNode.accept(BinaryNode.java:122) at com.oracle.nashorn.ir.BinaryNode.accept(BinaryNode.java:122) at com.oracle.nashorn.ir.ReturnNode.accept(ReturnNode.java:98)
Created attachment 121936 [details] stacktrace
Created attachment 121937 [details] snapshot if ($(lastChangeCheck).attr("class")=='vld-req') { remove attr will be if ($(lastChangeCheck).attr("class")=='vld-req') { point cursor after . and type has, press control + space, select hasClass, press enter
Can you attach your file? This does not happen in my configuration.