Bug 227114 - ClassCastException: com.sun.tools.javac.code.Type$ClassType cannot be cast to com.sun.tools.javac.code.Type$MethodType
ClassCastException: com.sun.tools.javac.code.Type$ClassType cannot be cast to...
Status: NEW
Product: java
Classification: Unclassified
Component: Compiler
7.4
All All
: P3 (vote)
: TBD
Assigned To: Dusan Balek
issues@java
EXCEPTIONS_REPORT
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-06 16:30 UTC by sreimers
Modified: 2014-04-01 12:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo