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 262146 - ClassCastException: com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to com.sun.tools.javac.code.Symbol$MethodSymbol
Summary: ClassCastException: com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cas...
Status: RESOLVED DUPLICATE of bug 258768
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-19 06:48 UTC by Alexander Simon
Modified: 2016-06-03 09:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 224107


Attachments
stacktrace (5.73 KB, text/plain)
2016-05-19 06:48 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2016-05-19 06:48:50 UTC
Build: NetBeans IDE Dev (Build 20160518-ad96e60721cf)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.77-b03, Java(TM) SE Runtime Environment, 1.8.0_77-b03
OS: SunOS

User Comments:
alexvsimon: u




Stacktrace: 
java.lang.ClassCastException: com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to com.sun.tools.javac.code.Symbol$MethodSymbol
   at com.sun.tools.javac.jvm.Gen.visitApply(Gen.java:1743)
   at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1604)
   at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:830)
   at com.sun.tools.javac.jvm.Gen.genCond(Gen.java:753)
   at com.sun.tools.javac.jvm.Gen.genCond(Gen.java:706)
   at com.sun.tools.javac.jvm.Gen.visitIf(Gen.java:1654)
Comment 1 Alexander Simon 2016-05-19 06:48:52 UTC
Created attachment 159809 [details]
stacktrace
Comment 2 Dusan Balek 2016-06-03 09:50:39 UTC

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