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.
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)
Created attachment 164092 [details] stacktrace