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.
During the refactoring action - move class of private static class, I've reported this exception: A java.lang.ClassCastException exception has occurred. Please report this at http://www.netbeans.org/issues.html, including a copy of your messages.log file as an attachment. The messages.log file is located in your C:\Documents and Settings\Vlasak\.netbeans\4.1\var\log folder.
Created attachment 30756 [details] messages.log file as suggested in error message
It seems to me as duplicate of issue 58860. Thanks for your report. BTW I'd suggest you to move to 5.0 *** This issue has been marked as a duplicate of 58860 ***