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.
Product Version = NetBeans IDE Dev (Build 200407131800) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.5.0-beta3; Java HotSpot(TM) Client VM 1.5.0-beta3-b57; Sun Microsystems Inc. -have a project, create a new file [New->File/Folder.. then Other->Empty file] -try rename this new empty file *information dialog appears with text 'This object cannot be renamed from AAA to BBB'
feel free to reassign, thanks jdk1.5 specific, 1.4 works fine
:( unable to reproduce after IDE restart or fresh userdir...
So probably not JDK specific, only RANDOM? You'll get this if the node in question refuses setName(). DataNode catches IOExc and forwards it as IllegalArgumentException, with proper annotation, so it shouldn't be re-annotated to generic "This object ...". Anyway, either there is a bug in DS or the file couldn't be renamed. And there may also be a bug in ErrorManager?
Also probably not P2
hard to say if it's jdk specific when it's random, decreasing priority too. It was easily reproducible until I restarted IDE - so it can happend.
Works for me. The file probably really couldn't be renamed. It can be caused by user mistake or by real bug. Hardly to judge, but deginitely can't be fixed if there isn't possible to simulate it. As soon as you get into this problem again then try to analyze, find as much information as you can (if file with new name really exists on disk and isn't just visible in projects tab, wait a few seconds and try again, try to rename outside IDE with some file manager and so on) and reopen. WORKSFORME.
ok, added incomplete keyword, if it reappears I'll reopen.
closed