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.
NPE at NamingFactory.renameChildren(NamingFactory.java:92)
The same bug exists also in trunk. Fixed: /cvs/openide/masterfs/src/org/netbeans/modules/masterfs/filebasedfs/naming/NamingFactory.java,v new revision: 1.12; previous revision: 1.11
Fixed in release55_dev: /cvs/openide/masterfs/src/org/netbeans/modules/masterfs/filebasedfs/naming/NamingFactory.java,v new revision: 1.5.28.1.2.3.10.1; previous revision: 1.5.28.1.2.3
Tests proves that it may happen. Because NPE during refactoring may be very unpleasant I suggest to fix it. Jarda, please review. QA please test.
Created attachment 34566 [details] diff
Looks pretty safe.
No regression was found by QA during rename, move, copy operations so that this fix seems to be safe and can be integrated into the release55 branch.
Thanks. Fixed in release55: /cvs/openide/masterfs/src/org/netbeans/modules/masterfs/filebasedfs/naming/NamingFactory.java,v new revision: 1.5.28.1.2.4; previous revision: 1.5.28.1.2.3
Verified in 5.5 Dev build #200610020000 - played with the rename, move, copy operations and no problems found.