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 218651, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.3 Beta (Build 201210011125) VM: OpenJDK 64-Bit Server VM, 20.0-b12, OpenJDK Runtime Environment, 1.6.0_24-b24 OS: Linux User Comments: rozwell: autoformatting html file with some issues mago_ebon: I was formatting a segment of a html page with <Shift>+<Alt>+F. First I had a javascript error and thougth it was the reason, but then fixed the error and saved the file and it kept on happening. sunbiz: formatting a JSP page which has JavaScript in it added with the <!-- style notation for IE etc //--> GUEST: Pulse format option bingalls: formatting js at the bottom of html Stacktrace: java.lang.NullPointerException at org.netbeans.modules.javascript2.editor.formatter.FormatTokenStream.getCoveringToken(FormatTokenStream.java:250) at org.netbeans.modules.javascript2.editor.formatter.FormatContext.getEmbeddingIndent(FormatContext.java:278) at org.netbeans.modules.javascript2.editor.formatter.JsFormatter$1.run(JsFormatter.java:224) 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 125936 [details] stacktrace
*** This bug has been marked as a duplicate of bug 218651 ***