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 - ClassCastException: com.sun.tools.javac.code.Symtab$4 cannot be cast to com.sun.tools.javac.code.Symbol$ClassSymbol
Summary: ClassCastException: com.sun.tools.javac.code.Symtab$4 cannot be cast to com.s...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-12 14:25 UTC by Exceptions Reporter
Modified: 2018-02-20 19:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 228757


Attachments
stacktrace (6.93 KB, text/plain)
2017-04-12 14:25 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
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