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 201402020001) VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13 OS: Windows 8 User Comments: kosmonaFFFt: Select JS code and format it... Stacktrace: java.lang.AssertionError: FormatToken{kind=BEFORE_RIGHT_PARENTHESIS, offset=-1, text=null, id=null} at org.netbeans.modules.javascript2.editor.formatter.FormatVisitor.enter(FormatVisitor.java:433) at jdk.nashorn.internal.ir.CallNode.accept(CallNode.java:212) at jdk.nashorn.internal.ir.VarNode.accept(VarNode.java:144) at org.netbeans.modules.javascript2.editor.formatter.FormatVisitor.handleBlockContent(FormatVisitor.java:925) at org.netbeans.modules.javascript2.editor.formatter.FormatVisitor.handleStandardBlock(FormatVisitor.java:777) at org.netbeans.modules.javascript2.editor.formatter.FormatVisitor.enter(FormatVisitor.java:125)
Created attachment 144757 [details] stacktrace
Created attachment 144954 [details] stacktrace Format code...
We always need a sample file to reproduce the issue. Please provide one.
Might be duplicate of issue #240402.