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.
Build: NetBeans IDE Dev (Build 080826) VM: Java HotSpot(TM) Client VM, 1.5.0_15-b04, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_15-b04 OS: Linux, 2.6.24-19-generic, i386 User Comments: Opening Apache Ant (dev) as an autoproject. Stacktrace: java.lang.ClassCastException: com.sun.tools.javac.code.Symbol$PackageSymbol at com.sun.tools.javac.comp.Lower.visitNewClass(Lower.java:2320) at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1350) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.comp.Lower.translate(Lower.java:1914) at com.sun.tools.javac.comp.Lower.translate(Lower.java:1926) at com.sun.tools.javac.comp.Lower.visitAssign(Lower.java:2641)
Created attachment 68382 [details] stacktrace
Build: NetBeans IDE Dev (Build 080826) VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06 OS: Linux, 2.6.24-19-generic, i386 User Comments: Opened Ant dev as autoproject. 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.Lower.visitNewClass(Lower.java:2320) at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1350) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.comp.Lower.translate(Lower.java:1914) at com.sun.tools.javac.comp.Lower.translate(Lower.java:1926) at com.sun.tools.javac.comp.Lower.visitAssign(Lower.java:2641)
Created attachment 68483 [details] stacktrace
Build: NetBeans IDE Dev (Build 081022) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Linux, 2.6.24-21-generic, i386 User Comments: Opening Apache Ant as autoproject. 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.Lower.visitNewClass(Lower.java:2322) at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1350) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.comp.Lower.translate(Lower.java:1916) at com.sun.tools.javac.comp.Lower.translate(Lower.java:1928) at com.sun.tools.javac.comp.Lower.visitAssign(Lower.java:2643)
Created attachment 72800 [details] stacktrace
Build: NetBeans IDE 6.5 RC2 (Build 200810270001) VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02 OS: Windows XP, 5.1, x86 User Comments: Scanning projects... 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.Lower.visitNewClass(Lower.java:2322) at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1350) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.comp.Lower.translate(Lower.java:1916) at com.sun.tools.javac.comp.Lower.translate(Lower.java:1928) at com.sun.tools.javac.comp.Lower.visitAssign(Lower.java:2643)
Created attachment 73805 [details] stacktrace
Build: NetBeans IDE 6.5 RC2 (Build 200810270001) VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02 OS: Windows XP, 5.1, x86 User Comments: 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.Lower.visitNewClass(Lower.java:2322) at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1350) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.comp.Lower.translate(Lower.java:1916) at com.sun.tools.javac.comp.Lower.translate(Lower.java:1928) at com.sun.tools.javac.comp.Lower.visitAssign(Lower.java:2643)
Created attachment 73806 [details] stacktrace
This issue has already 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=99435
Since there is no reproducible test case and there are no exception reports after NB 6.5, closing as WORKSFORME now. If you are still able to reproduce it using the current dev build, please reopen the issue and attach steps to reproduce. Thanks.