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.
I renamed remote folder with 6 files only bash-4.1$ cat /var/tmp/sova_nb/var/log/messages.log | grep "Can't download file" | sort | uniq -c 104 Can't download file user@host:/var/tmp/sova_files/src/c++11/std_list/std_list_2/file.fff.aaa.pass: 112 Can't download file user@host:/var/tmp/sova_files/src/c++11/std_list/std_list_2/file.fff.bbb.pass: 104 Caused: java.io.FileNotFoundException: Can't download file user@host:/var/tmp/sova_files/src/c++11/std_list/std_list_2/file.fff.aaa.pass: 112 Caused: java.io.FileNotFoundException: Can't download file user@host:/var/tmp/sova_files/src/c++11/std_list/std_list_2/file.fff.bbb.pass: 104 Caused: java.io.IOException: Can't download file user@host:/var/tmp/sova_files/src/c++11/std_list/std_list_2/file.fff.aaa.pass: 112 Caused: java.io.IOException: Can't download file user@host:/var/tmp/sova_files/src/c++11/std_list/std_list_2/file.fff.bbb.pass: Scenario: - Save script in order to generate folder with 6 files: #!/bin/sh mkdir -p ./src/c++11/std_list/std_list_2/ touch ./src/c++11/std_list/std_list_2/files.cfg touch ./src/c++11/std_list/std_list_2/file.fff.aaa.pass touch ./src/c++11/std_list/std_list_2/file.fff.in touch ./src/c++11/std_list/std_list_2/file.cc touch ./src/c++11/std_list/std_list_2/file.fff.bbb.pass touch ./src/c++11/std_list/std_list_2/file.fff.pass - Launch script on remote computer - Launch NetBeans 8.0.2 - Add this new remote folder to Favorites tab - Select std_list_2 node - Press F2 - Type std_zzzlist_2 and press Enter ==> I see tons of FileNotFoundException in messages.log
Created attachment 150608 [details] messages.log
I filed P1 because: - bug should be evaluated - I think It is a regression in patch 2 - I think this bug generates big delays if someone uses Rename in real code base
Downgrade to P2. I can reproduce this problem with more old NetBeans 8.0 builds
I wasn't able to reproduce this so far. I'll try once more tomorrow.
I checked this bug on USA host, Russia host and virtual host on my machine. In all cases I see stable bug. I think all steps are important: - files tree is not cached. If I expanded deepest remote folder I don't see any exceptions. Better steps: start IDE with new --userdir, expand ./src/c++11/std_list folder only - my file paths should be used. I think '+' is 'bad' sign.
I was finally able to reproduce this with fresh userdir and without expanding the tree too much.
test: http://hg.netbeans.org/cnd-main/rev/25b22589c172 fix: http://hg.netbeans.org/cnd-main/rev/3e3ca7a01560
*** Bug 248753 has been marked as a duplicate of this bug. ***
Integrated into 'main-silver', will be available in build *201412040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/25b22589c172 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: test for #248802 - 'Rename' in remote Favorites tab generates tons of FileNotFoundExceptions
Changing whiteboard to 802patch1-fixed because the changesets are already in releases~release801
verified in trunk >System Info: Product Version = NetBeans IDE Dev (Build 201502240532) (#d6aa48dbbbfb)
verified in NetBeans IDE 8.0.2 (Build 201502242207)