[jira] [Comment Edited] (NETBEANS-3769) Cannot rename project and directory
[ https://issues.apache.org/jira/browse/NETBEANS-3769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17030907#comment-17030907 ] Eirik Bakke edited comment on NETBEANS-3769 at 2/5/20 6:47 PM: --- After some testing, it turns out that the exception from ImageUtilities$ToolTipImage was a red herring. Even with this one definitively fixed (in the PR at https://github.com/apache/netbeans/pull/1922 ), the problem remains: {code:java} WARNING [org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation] msg msg 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.utils.FSException.io(FSException.java:93) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.rename(BaseFileObj.java:441) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj$1.call(BaseFileObj.java:495) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj$1.call(BaseFileObj.java:492) at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:97) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.rename(BaseFileObj.java:499) at org.openide.filesystems.FileObject.move(FileObject.java:157) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.move(BaseFileObj.java:291) at org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation.doMoveProject(DefaultProjectOperationsImplementation.java:521) [catch] at org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation$4.execute(DefaultProjectOperationsImplementation.java:377) at org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation$6$1.run(DefaultProjectOperationsImplementation.java:685) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) 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. {code} The problem does not seem to occur on 11.1. (Also, I wonder where "msg" is being printed--obviously a logging bug.) was (Author: ebakke): After some testing, it turns out that the exception from ImageUtilities$ToolTipImage was a red herring. Even with this one definitively fixed (in the PR at https://github.com/apache/netbeans/pull/1922 ), the problem remains: {code:java} WARNING [org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation] msg msg 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.utils.FSException.io(FSException.java:93) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.rename(BaseFileObj.java:441) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj$1.call(BaseFileObj.java:495) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj$1.call(BaseFileObj.java:492) at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:97) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.rename(BaseFileObj.java:499) at org.openide.filesystems.FileObject.move(FileObject.java:157) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.move(BaseFileObj.java:291) at org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation.doMoveProject(DefaultProjectOperationsImplementation.java:521) [catch] at org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation$4.execute(DefaultProjectOperationsImplementation.java:377) at org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation$6$1.run(DefaultProjectOperationsImplementation.java:685) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) ALL [null]: Cannot rename file JavaApplication21 in C:/Users/ebakke/Deletables to JavaApplication21tofo. ALL [null]: Ca
[jira] [Comment Edited] (NETBEANS-3769) Cannot rename project and directory
[ https://issues.apache.org/jira/browse/NETBEANS-3769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17030907#comment-17030907 ] Eirik Bakke edited comment on NETBEANS-3769 at 2/5/20 6:46 PM: --- After some testing, it turns out that the exception from ImageUtilities$ToolTipImage was a red herring. Even with this one definitively fixed (in the PR at https://github.com/apache/netbeans/pull/1922 ), the problem remains: {code:java} WARNING [org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation] msg msg 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.utils.FSException.io(FSException.java:93) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.rename(BaseFileObj.java:441) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj$1.call(BaseFileObj.java:495) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj$1.call(BaseFileObj.java:492) at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:97) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.rename(BaseFileObj.java:499) at org.openide.filesystems.FileObject.move(FileObject.java:157) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.move(BaseFileObj.java:291) at org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation.doMoveProject(DefaultProjectOperationsImplementation.java:521) [catch] at org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation$4.execute(DefaultProjectOperationsImplementation.java:377) at org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation$6$1.run(DefaultProjectOperationsImplementation.java:685) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) 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. {code} The problem does not seem to occur on 11.1. was (Author: ebakke): 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 https://github.com/apache/netbeans/pull/1922 ), the problem remains: {code:java} WARNING [org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation] msg msg 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.utils.FSException.io(FSException.java:93) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.rename(BaseFileObj.java:441) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj$1.call(BaseFileObj.java:495) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj$1.call(BaseFileObj.java:492) at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:97) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.rename(BaseFileObj.java:499) at org.openide.filesystems.FileObject.move(FileObject.java:157) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.move(BaseFileObj.java:291) at org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation.doMoveProject(DefaultProjectOperationsImplementation.java:521) [catch] at org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation$4.execute(DefaultProjectOperationsImplementation.java:377) at org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation$6$1.run(DefaultProjectOperationsImplementation.java:685) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) 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/
[jira] [Comment Edited] (NETBEANS-3769) Cannot rename project and directory
[ https://issues.apache.org/jira/browse/NETBEANS-3769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17027023#comment-17027023 ] Ernie Rael edited comment on NETBEANS-3769 at 1/30/20 9:49 PM: --- On the statement where the rename fails, in platform/masterfs/.../FileName.java:rename line 67, SysInternals shows the project directory, strangely it shows all the directories in the project. Some kind of windows thing? Attaching screen shot of SysInternals window. was (Author: errael): On the statement where the rename fails, in platform/masterfs/.../FileName.java:rename line 67, SysInternals shows the project directory, strangely it shows all the directories in the project. Some kind of windows thing? > Cannot rename project and directory > --- > > Key: NETBEANS-3769 > URL: https://issues.apache.org/jira/browse/NETBEANS-3769 > 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 >Priority: Major > Fix For: 11.3 > > Attachments: CannotRenameProject.log.1, CannotRenameProject.log.2 > > > (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 (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-3769) Cannot rename project and directory
[ https://issues.apache.org/jira/browse/NETBEANS-3769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17026865#comment-17026865 ] Ernie Rael edited comment on NETBEANS-3769 at 1/30/20 5:35 PM: --- It doesn't seem to be jdk dependent. And it also fails with the locally built from repo. I've attached a shorter version log. Product Version: Apache NetBeans IDE DEV (Build 20200125-unknown-revn) Java: 1.8.0_241; Java HotSpot(TM) 64-Bit Server VM 25.241-b07 Runtime: Java(TM) SE Runtime Environment 1.8.0_241-b07 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) An obvious thing is it's failing because something has the project directory open, any ideas on debugging it? Later today, I'll try to step into/around org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.rename(BaseFileObj.java:441) any ideas on what to look for. was (Author: errael): It doesn't seem to be jdk dependent. And it also fails with the locally built from repo Product Version: Apache NetBeans IDE DEV (Build 20200125-unknown-revn) Java: 1.8.0_241; Java HotSpot(TM) 64-Bit Server VM 25.241-b07 Runtime: Java(TM) SE Runtime Environment 1.8.0_241-b07 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) Assuming it's failing because something has the project directory open, any ideas on debugging it? I've attached a shorter version log. Later today, I'll try to step into/around org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.rename(BaseFileObj.java:441) any ideas on what to look for. An obvious thing is that something has the directory open. Any trick on finding it? > Cannot rename project and directory > --- > > Key: NETBEANS-3769 > URL: https://issues.apache.org/jira/browse/NETBEANS-3769 > 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 >Priority: Major > Fix For: 11.3 > > Attachments: CannotRenameProject.log.1, CannotRenameProject.log.2 > > > (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 (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-3769) Cannot rename project and directory
[ https://issues.apache.org/jira/browse/NETBEANS-3769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17026865#comment-17026865 ] Ernie Rael edited comment on NETBEANS-3769 at 1/30/20 5:33 PM: --- It doesn't seem to be jdk dependent. And it also fails with the locally built from repo Product Version: Apache NetBeans IDE DEV (Build 20200125-unknown-revn) Java: 1.8.0_241; Java HotSpot(TM) 64-Bit Server VM 25.241-b07 Runtime: Java(TM) SE Runtime Environment 1.8.0_241-b07 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) Assuming it's failing because something has the project directory open, any ideas on debugging it? I've attached a shorter version log. Later today, I'll try to step into/around org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.rename(BaseFileObj.java:441) any ideas on what to look for. An obvious thing is that something has the directory open. Any trick on finding it? was (Author: errael): It doesn't seem to be jdk dependent. And it also fails with the locally built from repo Product Version: Apache NetBeans IDE DEV (Build 20200125-unknown-revn) Java: 1.8.0_241; Java HotSpot(TM) 64-Bit Server VM 25.241-b07 Runtime: Java(TM) SE Runtime Environment 1.8.0_241-b07 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) Assuming it's failing because something has the project directory open, any ideas on debugging it? I've deleted the old log and attached a shorter version log. Later today, I'll try to step into/around org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.rename(BaseFileObj.java:441) any ideas on what to look for. An obvious thing is that something has the directory open. Any trick on finding it? > Cannot rename project and directory > --- > > Key: NETBEANS-3769 > URL: https://issues.apache.org/jira/browse/NETBEANS-3769 > 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 >Priority: Major > Fix For: 11.3 > > Attachments: CannotRenameProject.log.1, CannotRenameProject.log.2 > > > (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 (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-3769) Cannot rename project and directory
[ https://issues.apache.org/jira/browse/NETBEANS-3769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17026527#comment-17026527 ] Geertjan Wielenga edited comment on NETBEANS-3769 at 1/30/20 9:06 AM: -- Tried with 11.3 beta 1 on Mac OSX and failed to reproduce, i.e., no errors thrown and the rename is done on project and folder. Product Version: Apache NetBeans IDE 11.3-beta1 Java: 12.0.1; Java HotSpot(TM) 64-Bit Server VM 12.0.1+12 Runtime: Java(TM) SE Runtime Environment 12.0.1+12 System: Mac OS X version 10.13.6 running on x86_64; UTF-8; en_NL (nb) was (Author: geertjanwielenga): Tried with 11.3 beta on Mac OSX and failed to reproduce. Product Version: Apache NetBeans IDE 11.3-beta1 Java: 12.0.1; Java HotSpot(TM) 64-Bit Server VM 12.0.1+12 Runtime: Java(TM) SE Runtime Environment 12.0.1+12 System: Mac OS X version 10.13.6 running on x86_64; UTF-8; en_NL (nb) > Cannot rename project and directory > --- > > Key: NETBEANS-3769 > URL: https://issues.apache.org/jira/browse/NETBEANS-3769 > 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 >Priority: Major > Fix For: 11.3 > > Attachments: CannotRenameProject.log.1 > > > (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 (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-3769) Cannot rename project and directory
[ https://issues.apache.org/jira/browse/NETBEANS-3769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17026527#comment-17026527 ] Geertjan Wielenga edited comment on NETBEANS-3769 at 1/30/20 9:06 AM: -- Tried with 11.3 beta on Mac OSX and failed to reproduce. Product Version: Apache NetBeans IDE 11.3-beta1 Java: 12.0.1; Java HotSpot(TM) 64-Bit Server VM 12.0.1+12 Runtime: Java(TM) SE Runtime Environment 12.0.1+12 System: Mac OS X version 10.13.6 running on x86_64; UTF-8; en_NL (nb) was (Author: geertjanwielenga): Tried with 11.3 beta on Mac OSX and failed to reproduce. > Cannot rename project and directory > --- > > Key: NETBEANS-3769 > URL: https://issues.apache.org/jira/browse/NETBEANS-3769 > 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 >Priority: Major > Fix For: 11.3 > > Attachments: CannotRenameProject.log.1 > > > (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 (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists