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 271672

Summary: AssertionError at com.sun.tools.javac.util.Assert.error
Product: java Reporter: theshadow27 <theshadow27>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: theshadow27
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 228601
Bug Depends on:    
Bug Blocks: 271673    
Attachments: stacktrace
stacktrace

Description theshadow27 2017-10-19 20:51:11 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.144-b01, Java(TM) SE Runtime Environment, 1.8.0_144-b01
OS: Windows 10

User Comments:
GUEST: it just happend when I start the program. I tried to re-install NetBeans but nothing change.

theshadow27: Pasting an enormous block of generated code (probably with errors)




Stacktrace: 
java.lang.AssertionError
   at com.sun.tools.javac.util.Assert.error(Assert.java:155)
   at com.sun.tools.javac.util.Assert.check(Assert.java:46)
   at com.sun.tools.javac.parser.JavacParser.reportSyntaxError(JavacParser.java:458)
   at com.sun.tools.javac.parser.JavacParser.reportSyntaxError(JavacParser.java:439)
   at com.sun.tools.javac.parser.JavacParser.accept(JavacParser.java:487)
   at com.sun.tools.javac.parser.JavacParser.classOrInterfaceBody(JavacParser.java:3621)
Comment 1 theshadow27 2017-10-19 20:51:13 UTC
Created attachment 165318 [details]
stacktrace
Comment 2 theshadow27 2017-10-19 20:59:55 UTC
Created attachment 165322 [details]
stacktrace

using large file