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.
Build: NetBeans IDE 6.9.1 (Build 201007282301) VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04 OS: Windows 7 User Comments: GUEST: renameing a directory GUEST: renaming a project GUEST: Trying to rename a project and its associated folder using the IDE. GUEST: Problem with the menu command to rename the project. GUEST: I was trying to rename project and were using "Also rename project folder" option. After that NB chrashes. GUEST: I was renaming a project from "Nasd100TickerParser" to "Nasd100_SymbolParser". GUEST: Tentei renomear o projeto. GUEST: Changing the name of a package. Because refactoring does not support changing from identical names with different letter cases, I was changing the package name from Amaze to Amaze3, before changing again to amaze. But, before this, there was already an error (hence the Amaze3, instead of Amaze2). The operation stopped miday, the folder wasn't renamed but the source code was modified. Stacktrace: org.netbeans.modules.masterfs.filebasedfs.utils.FSException: Cannot rename file Problem 7b in C:/Users/Yue/Documents/NetBeansProjects to Problem 7. at org.netbeans.modules.masterfs.filebasedfs.utils.FSException.io(FSException.java:118) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.rename(BaseFileObj.java:342) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj$1.call(BaseFileObj.java:387) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj$1.call(BaseFileObj.java:384) at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:115) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.rename(BaseFileObj.java:391)
Created attachment 103056 [details] stacktrace
Filesystems just throw an IOException (which is OK). The caller is DefaultProjectOperationsImplementation.doMoveProject
Seems like there is some issue with the filesystem preventing the rename; the bug is just that the IDE displays the exception reporter rather than a polite dialog.
When IOException occurs, dialog appears instead of Exceptions Reporter.