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.

Bug 271765

Summary: AssertionError: FormatToken{kind=TEXT, offset=1656, text=<, id=OPERATOR_LOWER} from <NextArrow/>
Product: javascript Reporter: Exceptions Reporter <exceptions_reporter>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 230817
Attachments: stacktrace

Description Exceptions Reporter 2017-11-07 14:35:12 UTC
This bug was originally marked as duplicate of bug 268585, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201711070002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Mac OS X

User Comments:
GUEST: When I did format on a javascript source (experimental ECMA 7), I got this warning:

A org.openide.util.RequestProcessor$SlowItem exception has occurred.
Please report this at http://www.netbeans.org/community/issues.html,
including a copy of your messages.log file as an attachment.
The messages.log file is located in your /Users/willemjj/Library/Application Support/NetBeans/dev/var/log folder.




Stacktrace: 
java.lang.AssertionError: FormatToken{kind=TEXT, offset=1656, text=<, id=OPERATOR_LOWER} from <NextArrow/>
   at org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.enterJsxElementNode(JsFormatVisitor.java:177)
   at com.oracle.js.parser.ir.JsxElementNode.accept(JsxElementNode.java:83)
   at com.oracle.js.parser.ir.JsxAttributeNode.accept(JsxAttributeNode.java:68)
   at com.oracle.js.parser.ir.Node.accept(Node.java:280)
   at com.oracle.js.parser.ir.JsxElementNode.accept(JsxElementNode.java:85)
   at com.oracle.js.parser.ir.Node.accept(Node.java:280)
Comment 1 Exceptions Reporter 2017-11-07 14:35:16 UTC
Created attachment 165412 [details]
stacktrace