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 247343 - 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.0
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-21 22:39 UTC by _ tboudreau
Modified: 2016-06-03 09:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 212081


Attachments
stacktrace (5.63 KB, text/plain)
2014-09-21 22:39 UTC, _ tboudreau
Details
stacktrace (7.39 KB, text/plain)
2016-04-23 23:00 UTC, Vladimir Voskresensky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2014-09-21 22:39:39 UTC
Build: NetBeans IDE Dev (Build 20140913-c64e4a8e9a3e)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Linux

User Comments:
tboudreau: Manually doing a git merge with git mergetool in a shell




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:1906)
   at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1471)
   at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:950)
   at com.sun.tools.javac.jvm.Gen.visitSelect(Gen.java:2404)
   at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1903)
   at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:950)
Comment 1 _ tboudreau 2014-09-21 22:39:41 UTC
Created attachment 149399 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2016-04-23 23:00:00 UTC
Created attachment 159413 [details]
stacktrace

don't know what was done by me...
Comment 3 Dusan Balek 2016-06-03 09:07:52 UTC

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