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 268585 - AssertionError: FormatToken{kind=TEXT, offset=1970, text=<, id=OPERATOR_LOWER}
Summary: AssertionError: FormatToken{kind=TEXT, offset=1970, text=<, id=OPERATOR_LOWER}
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-19 11:02 UTC by Ralph Ruijs
Modified: 2017-01-21 03:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 226833


Attachments
stacktrace (5.04 KB, text/plain)
2016-10-19 11:02 UTC, Ralph Ruijs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Ruijs 2016-10-19 11:02:54 UTC
Build: NetBeans IDE Dev (Build 20161017-c1eaafe3418a)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.102-b14, Java(TM) SE Runtime Environment, 1.8.0_102-b14
OS: Linux

User Comments:
ralphbenjamin: Format react code




Stacktrace: 
java.lang.AssertionError: FormatToken{kind=TEXT, offset=1970, text=<, id=OPERATOR_LOWER}
   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 Ralph Ruijs 2016-10-19 11:02:56 UTC
Created attachment 162554 [details]
stacktrace
Comment 2 Milutin Kristofic 2017-01-19 13:03:46 UTC
Better assert report in dev build by http://hg.netbeans.org/jet-main/rev/5b682de69f40
Comment 3 Quality Engineering 2017-01-21 03:04:48 UTC
Integrated into 'main-silver', will be available in build *201701210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5b682de69f40
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #268585 - AssertionError: FormatToken{kind=TEXT, offset=1970, text=<, id=OPERATOR_LOWER}