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.
Steps to reproduce: 1. Use the "New File Type" wizard to add support for a new file type. Use a class name prefix of "Foo" 2. Refactor the DataLoader class to change the name from FooDataLoader to BarDataLoader. This step is probably optional, but reflects what I had done when I encountered the defect so I have included it here. 3. Refactor the DataObject class to change the name from FooDataObject to BarDataObject. The DataLoader class' name is changed; however, the string passed in the constructor (fully-qualified name of the DataObject class) was never changed. The platform will throw a java.lang.ClassNotFoundException referencing the old DataObject class' name until the String is manually changed to match the DataObject class' current name.
Probably WONTFIX. For 7.0 there is a different default registration system (no DataLoader class in your module), and we will likely want to use an annotation to do this. In such a case you would just write @DataObject.Registration(mimeType="text/x-mine") public class MyDataObject extends MultiDataObject { ... } and regular Java refactoring would work fine.
Fair enough.
Per Jesse's suggestion.