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 270381

Summary: ClassCastException: com.sun.tools.javac.code.Symtab$4 cannot be cast to com.sun.tools.javac.code.Symbol$ClassSymbol
Product: java Reporter: Exceptions Reporter <exceptions_reporter>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: igentiletti
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 228757
Attachments: stacktrace

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

Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b26
OS: Windows 8

User Comments:
GUEST: .




Stacktrace: 
java.lang.ClassCastException: com.sun.tools.javac.code.Symtab$4 cannot be cast to com.sun.tools.javac.code.Symbol$ClassSymbol
   at com.sun.tools.javac.comp.Lower.visitNewClass(Lower.java:2865)
   at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1522)
   at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
   at com.sun.tools.javac.comp.Lower.translate(Lower.java:2361)
   at com.sun.tools.javac.comp.Lower.translate(Lower.java:2372)
   at com.sun.tools.javac.comp.Lower.visitVarDef(Lower.java:3553)
Comment 1 Exceptions Reporter 2017-04-12 14:25:29 UTC
Created attachment 164092 [details]
stacktrace