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.
Summary: | Unable to rename file versioned with Mercurial | ||
---|---|---|---|
Product: | editor | Reporter: | javydreamercsw <javydreamercsw> |
Component: | Refactoring | Assignee: | Ralph Ruijs <ralphbenjamin> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | markiewb |
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | IDE log |
Description
javydreamercsw
2012-09-24 20:16:22 UTC
Created attachment 124826 [details]
IDE log
cannot reproduce, maybe an issue with write access privileges of the directory? Mercurial calls srcFile.renameTo(dstFile). If that fails, there's not much more we can do. Check your write rights to the folder: Z:\NetBeans\jWrestling\jWrestling\src\main\java\games\jwrestling\core\game\object\page\ I have right permissions to all the places in the drive. Renaming the file manually was successful. The things that come to mind are: 1) The file was open in the editor (I did the refactoring from the class name) 2) Slow I/O (project on an external drive) I saw the following in the attached log that might be related to #1: INFO [org.netbeans.modules.refactoring.spi.impl.ParametersPanel]: org.netbeans.modules.refactoring.api.RefactoringSession@2ca902 called start multiple times anyway, refactoring should be prepared for a failed rename and instead of logging as SEVERE it should probable display a friendlier message:
> SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.refactoring.spi.impl.ParametersPanel$9
Report from old NetBeans version. Due to code changes since it was reported likely to not happen. Feel free to reopen if happens in 8.0.2 or 8.1. |