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

Summary: AssertionError at com.oracle.js.parser.Parser.jsxElement
Product: javascript Reporter: mysiar
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: mysiar, phejl
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 225755
Attachments: stacktrace

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.