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 210626 - Module Java Refactoring threw java.lang.ClassCastException: com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to javax.lang.model.element.PackageElement.
Summary: Module Java Refactoring threw java.lang.ClassCastException: com.sun.tools.jav...
Status: RESOLVED DUPLICATE of bug 206440
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.1.1
Hardware: All Linux
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-03 14:40 UTC by david_cogen
Modified: 2012-04-03 14:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The log file that I was instructed to attach. (42.56 KB, text/x-log)
2012-04-03 14:40 UTC, david_cogen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description david_cogen 2012-04-03 14:40:13 UTC
Created attachment 117744 [details]
The log file that I was instructed to attach.

I tried to move a class and got the exception. I was instructed to file a bug report. Text follows; log is attached.

Module Java Refactoring threw java.lang.ClassCastException: com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to javax.lang.model.element.PackageElement. Please report a bug against Java Refactoring module and attach your var/log/messages.log.
Comment 1 Ralph Ruijs 2012-04-03 14:50:06 UTC

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