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 167455

Summary: [67cat] ClassCastException: com.sun.tools.javac.tree.JCTree$JCTypeApply cannot be cast to com.sun.tools.javac.tree.JCTree$JCMethodInvocation
Product: java Reporter: aldobrucale <aldobrucale>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED WORKSFORME    
Severity: blocker CC: yardus
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=41934
Issue Type: DEFECT Exception Reporter: 41934
Bug Depends on: 169099    
Bug Blocks:    
Attachments: stacktrace
stacktrace

Description aldobrucale 2009-06-22 11:59:14 UTC
Build: NetBeans IDE 6.7 RC3 (Build 200906142201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.28-13-generic, i386

User Comments:
GUEST: ???????????

aldobrucale: method autocompletion inside parameter editing



Stacktrace: 
java.lang.ClassCastException: com.sun.tools.javac.tree.JCTree$JCTypeApply cannot be cast to com.sun.tools.javac.tree.JCTree$JCMethodInvocation
        at com.sun.tools.javac.comp.Attr.checkId(Attr.java:2198)
        at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:1869)
        at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1683)
        at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:381)
        at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:398)
        at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1325)
Comment 1 aldobrucale 2009-06-22 11:59:19 UTC
Created attachment 83867 [details]
stacktrace
Comment 2 Dusan Balek 2009-06-22 17:31:41 UTC
Is the issue reproducible on your sources?
Comment 3 aldobrucale 2009-06-23 09:19:14 UTC
No, it happened just once. If it happens again I will give more details.
Comment 4 Peter Pis 2009-09-03 11:12:50 UTC
For now closing as WORKSFORME. Please feel free to reopen the issue, in a case you will encounter it again. Also please
attach requested info. Thanks.
Comment 5 J Bachorik 2009-09-18 18:51:37 UTC
Build: NetBeans IDE Dev (Build 090918)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.27-14-generic, amd64

User Comments: 


Stacktrace: 
java.lang.ClassCastException: com.sun.tools.javac.tree.JCTree$JCFieldAccess cannot be cast to com.sun.tools.javac.tree.JCTree$JCMethodInvocation
        at com.sun.tools.javac.comp.Attr.checkId(Attr.java:2198)
        at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:1869)
        at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1683)
        at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:381)
        at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:398)
        at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1325)
Comment 6 J Bachorik 2009-09-18 18:51:41 UTC
Created attachment 87933 [details]
stacktrace