netbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eirik Bakke (Jira)" <>
Subject [jira] [Commented] (NETBEANS-3769) Cannot rename project and directory
Date Wed, 05 Feb 2020 18:45:01 GMT


Eirik Bakke commented on NETBEANS-3769:

After some testing, it turns out that the exception from CachedHiDPIIcon was a red herring.
Even with this one definitively fixed (in the PR at
), the problem remains:

WARNING [org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation]
Caused: org.netbeans.modules.masterfs.filebasedfs.utils.FSException: Cannot rename file JavaApplication21
in C:/Users/ebakke/Deletables to JavaApplication21tofo.
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.rename(
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj$
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj$
	at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.rename(
	at org.openide.filesystems.FileObject.move(
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.move(
	at org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation.doMoveProject(
[catch] at org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation$4.execute(
	at org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation$6$
	at org.openide.util.RequestProcessor$
	at org.netbeans.modules.openide.util.GlobalLookup.execute(
	at org.openide.util.lookup.Lookups.executeWith(
	at org.openide.util.RequestProcessor$
ALL [null]: Cannot rename file JavaApplication21 in C:/Users/ebakke/Deletables to JavaApplication21tofo.
ALL [null]: Cannot rename project, reason: Cannot rename file JavaApplication21 in C:/Users/ebakke/Deletables
to JavaApplication21tofo.

The problem does not seem to occur on 11.1.

> Cannot rename project and directory
> -----------------------------------
>                 Key: NETBEANS-3769
>                 URL:
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Generic Infrastructure, projects - Generic Projects UI
>    Affects Versions: 11.3
>         Environment: NB 11.3b running on JDK-13.0.2, Win7
>            Reporter: Ernie Rael
>            Assignee: Eirik Bakke
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 11.3
>         Attachments: CannotRenameProject.log.1, CannotRenameProject.log.2, ProjRenameAtRename.png
>          Time Spent: 10m
>  Remaining Estimate: 0h
> (Attaching log with relevant exceptions)
> To reproduce
>  # NewProject > JavaWithAnt > JavaApplication; accept all defaults
>  # From context menu on new project, select "Rename..."
>  # In dialog change the name
>  # Select "Also Rename Project Folder"
>  # Click "Rename" button
> Observe error dialog
> {quote}Error
> Cannot rename file JavaApplication8 in F:/j/nb-stuff/NetBeansProjects to RenameProject
> {quote}

This message was sent by Atlassian Jira

To unsubscribe, e-mail:
For additional commands, e-mail:

For further information about the NetBeans mailing lists, visit:

View raw message