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 267978 - AssertionError at com.oracle.js.parser.Parser.jsxElement
Summary: AssertionError at com.oracle.js.parser.Parser.jsxElement
Status: NEW
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-09-12 13:04 UTC by mysiar
Modified: 2017-01-19 12:13 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 225755


Attachments
stacktrace (5.85 KB, text/plain)
2016-09-12 13:04 UTC, mysiar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mysiar 2016-09-12 13:04:07 UTC
Build: NetBeans IDE Dev (Build 201609120002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Mac OS X

User Comments:
mysiar: declaring class in ES6

GUEST: Pasted some Lua script in JS file.

GUEST: .




Stacktrace: 
java.lang.AssertionError
   at com.oracle.js.parser.Parser.jsxElement(Parser.java:5684)
   at com.oracle.js.parser.Parser.primaryExpression(Parser.java:2914)
   at com.oracle.js.parser.Parser.memberExpression(Parser.java:3735)
   at com.oracle.js.parser.Parser.leftHandSideExpression(Parser.java:3514)
   at com.oracle.js.parser.Parser.unaryExpression(Parser.java:4545)
   at com.oracle.js.parser.Parser.expression(Parser.java:4731)
Comment 1 mysiar 2016-09-12 13:04:10 UTC
Created attachment 162014 [details]
stacktrace
Comment 2 Milutin Kristofic 2017-01-19 12:13:33 UTC
Hi, I need a code where this assert is triggered. Do you still have this problem and do you have problematic ES6 code? 
Thanks.