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 256941

Summary: ClassCastException: com.sun.tools.javac.tree.JCTree$JCTypeApply cannot be cast to com.sun.tools.javac.tree.JCTree$JCIdent
Product: java Reporter: johnqjones
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: markiewb
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 209988
Attachments: stacktrace

Description johnqjones 2015-12-03 04:27:02 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.11-b03, Java(TM) SE Runtime Environment, 1.8.0_11-b12
OS: Windows 7

User Comments:
johnqjones: Opening up NetBeans

GUEST: open project

GUEST: Start

johnqjones: Happens first time module with errors is compiled

GUEST: read project properties

GUEST: ClassCastException: com.sun.tools.javac.tree.JCTree$JCTypeApply cannot be cast to com.sun.tools.javac.tree.JCTree$JCIdent




Stacktrace: 
java.lang.ClassCastException: com.sun.tools.javac.tree.JCTree$JCTypeApply cannot be cast to com.sun.tools.javac.tree.JCTree$JCIdent
   at com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:847)
   at com.sun.tools.javadoc.JavadocMemberEnter.visitVarDef(JavadocMemberEnter.java:88)
   at org.netbeans.lib.nbjavac.services.NBJavadocMemberEnter.visitVarDef(NBJavadocMemberEnter.java:90)
   at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:858)
   at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:461)
   at com.sun.tools.javac.comp.MemberEnter.signature(MemberEnter.java:409)
Comment 1 johnqjones 2015-12-03 04:27:04 UTC
Created attachment 157632 [details]
stacktrace