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.
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.
*** This bug has been marked as a duplicate of bug 206440 ***