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 227114 - ClassCastException: com.sun.tools.javac.code.Type$ClassType cannot be cast to com.sun.tools.javac.code.Type$MethodType
Summary: ClassCastException: com.sun.tools.javac.code.Type$ClassType cannot be cast to...
Status: RESOLVED DUPLICATE of bug 185775
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-06 16:30 UTC by sreimers
Modified: 2015-03-12 13:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 199359


Attachments
stacktrace (4.86 KB, text/plain)
2013-03-06 16:30 UTC, sreimers
Details
stacktrace (4.72 KB, text/plain)
2014-04-01 12:55 UTC, adithyank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sreimers 2013-03-06 16:30:31 UTC
Build: NetBeans IDE Dev (Build 201303032300)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b20, Java(TM) SE Runtime Environment, 1.8.0-ea-b79
OS: Windows 7

Stacktrace: 
java.lang.ClassCastException: com.sun.tools.javac.code.Type$ClassType cannot be cast to com.sun.tools.javac.code.Type$MethodType
   at com.sun.tools.javac.jvm.Items$MemberItem.invoke(Items.java:524)
   at com.sun.tools.javac.jvm.Gen.visitNewClass(Gen.java:1837)
   at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1498)
   at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:897)
   at com.sun.tools.javac.jvm.Gen.visitThrow(Gen.java:1739)
   at com.sun.tools.javac.tree.JCTree$JCThrow.accept(JCTree.java:1389)
Comment 1 sreimers 2013-03-06 16:30:32 UTC
Created attachment 132281 [details]
stacktrace
Comment 2 adithyank 2014-04-01 12:55:10 UTC
Created attachment 146470 [details]
stacktrace

not sure what i did
Comment 3 Dusan Balek 2015-03-12 13:25:21 UTC

*** This bug has been marked as a duplicate of bug 185775 ***