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 20161111-503503a8abf2) VM: Java HotSpot(TM) 64-Bit Server VM, 25.112-b15, Java(TM) SE Runtime Environment, 1.8.0_112-b15 OS: Linux User Comments: ralphbenjamin: Format selection of code Stacktrace: java.lang.AssertionError at org.netbeans.modules.javascript2.editor.formatter.FormatContext.updateJsxPath(FormatContext.java:276) at org.netbeans.modules.javascript2.editor.formatter.JsFormatter.formatJsx(JsFormatter.java:852) at org.netbeans.modules.javascript2.editor.formatter.JsFormatter.access$900(JsFormatter.java:83) at org.netbeans.modules.javascript2.editor.formatter.JsFormatter$1.run(JsFormatter.java:276) at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:323) at org.netbeans.modules.javascript2.editor.formatter.JsFormatter.reformat(JsFormatter.java:131)
Created attachment 162905 [details] stacktrace
Hi Ralph, can you paste a code that is triggering this assert? I made small fix in http://hg.netbeans.org/jet-main/rev/cca2fa64fb7d but I need your code to check, if this assert is still thrown.
Hi Mito ! Sorry, I can't recall what I was working on at that time. Thanks for the fix though!