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 218762 - ClassCastException: com.sun.tools.javac.code.Symbol$PackageSymbol cannot be cast to com.sun.tools.javac.code.Symbol$ClassSymbol
Summary: ClassCastException: com.sun.tools.javac.code.Symbol$PackageSymbol cannot be c...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-21 12:44 UTC by ehsavoie
Modified: 2013-06-23 02:10 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 177616


Attachments
stacktrace (5.90 KB, text/plain)
2012-09-21 12:44 UTC, ehsavoie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehsavoie 2012-09-21 12:44:42 UTC
Build: NetBeans IDE Dev (Build 201209210001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b10
OS: Linux

Stacktrace: 
java.lang.ClassCastException: com.sun.tools.javac.code.Symbol$PackageSymbol cannot be cast to com.sun.tools.javac.code.Symbol$ClassSymbol
   at com.sun.tools.javac.comp.Flow.trackable(Flow.java:362)
   at com.sun.tools.javac.comp.Flow.checkInit(Flow.java:438)
   at com.sun.tools.javac.comp.Flow.visitIdent(Flow.java:1458)
   at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1708)
   at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
   at com.sun.tools.javac.tree.TreeScanner.visitSelect(TreeScanner.java:254)
Comment 1 ehsavoie 2012-09-21 12:44:44 UTC
Created attachment 124706 [details]
stacktrace
Comment 3 Quality Engineering 2013-06-23 02:10:04 UTC
Integrated into 'main-golden', will be available in build *201306222301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c058af08161d
User: Dusan Balek <dbalek@netbeans.org>
Log: Issues #205670, #217469, #217740, and #218762 - fixed.