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 7.3 Beta (Build 201210011125) VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02, Java(TM) SE Runtime Environment, 1.6.0_26-b03 OS: Linux User Comments: GUEST: selected block of .ftl code (which i've mapped to html mime type) text and chose "format" from context menu. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.javascript2.editor.formatter.FormatVisitor.enter(FormatVisitor.java:390) at com.oracle.nashorn.ir.FunctionNode.accept(FunctionNode.java:308) at org.netbeans.modules.javascript2.editor.formatter.FormatVisitor.handleBlockContent(FormatVisitor.java:865) at org.netbeans.modules.javascript2.editor.formatter.FormatVisitor.enter(FormatVisitor.java:120) at org.netbeans.modules.javascript2.editor.formatter.FormatVisitor.enter(FormatVisitor.java:323) at com.oracle.nashorn.ir.FunctionNode.accept(FunctionNode.java:308)
Created attachment 127662 [details] stacktrace
Should be fixed in web-main 46e7aee1b11d. Please verify in daily build.
Integrated into 'main-golden', will be available in build *201211140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/46e7aee1b11d User: Petr Hejl <phejl@netbeans.org> Log: #221995 - NullPointerException at org.netbeans.modules.javascript2.editor.formatter.FormatVisitor.enter