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 Dev (Build 201210040002) VM: OpenJDK Client VM, 22.0-b10, OpenJDK Runtime Environment, 1.7.0_03-b21 OS: Linux User Comments: paolosca: pressed ctrl+shift+c to remove the comment in a line . Stacktrace: java.lang.NullPointerException at org.netbeans.modules.javascript2.editor.formatter.JsFormatter.formatSpace(JsFormatter.java:598) at org.netbeans.modules.javascript2.editor.formatter.JsFormatter.access$500(JsFormatter.java:77) at org.netbeans.modules.javascript2.editor.formatter.JsFormatter$1.run(JsFormatter.java:239) at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:317) at org.netbeans.modules.javascript2.editor.formatter.JsFormatter.reformat(JsFormatter.java:118) at org.netbeans.modules.csl.core.GsfReformatTask$1.run(GsfReformatTask.java:105)
Created attachment 125657 [details] stacktrace
Fixed in web-main 5157dd4d548c.
Integrated into 'main-golden', will be available in build *201210110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/5157dd4d548c User: Petr Hejl <phejl@netbeans.org> Log: #219790 - NullPointerException at org.netbeans.modules.javascript2.editor.formatter.JsFormatter.formatSpace