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.7 (Build 200906241340) VM: Java HotSpot(TM) Client VM, 1.5.0_19-137, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_19-b02-304 OS: Mac OS X, 10.5.8, i386 User Comments: GUEST: uploading files from remote server GUEST: I tried to Download project from SFTP source / gigabit internet connection / Not all files have been downloaded. darrenoh: Downloading project source files via sftp after deleting all source files locally. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.php.project.connections.RemoteClient.renameLocalFileTo(RemoteClient.java:991) at org.netbeans.modules.php.project.connections.RemoteClient.access$000(RemoteClient.java:79) at org.netbeans.modules.php.project.connections.RemoteClient$1.run(RemoteClient.java:645) at org.openide.filesystems.FileUtil$1.run(FileUtil.java:452) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:120) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:509)
Created attachment 86578 [details] stacktrace
Sorry, I have no idea how this can happen. Would it be possible to get a reproducible use case? Or if you could provide any information which could help us to simulate this issue. Thanks a lot.
1. Do an SVN checkout on the remote server. 2. Create a NetBeans project that updates to the remote site. 3. Download files. 4. Close NetBeans. 5. Delete all files from source directory. 6. Open NetBeans. 7. Download files from remote server to source directory.
Thanks, I will look at it.
Unfortunately, I cannot reproduce this bug. What I did exactly: - create PHP project with existing sources (on local disk) - create Remote Run Configuration (SFTP type) - upload existing sources - close NB - manually delete all project files (except nbproject directory) - start NB - download all sources No NPE occured. If I'm doing something wrong (but it should be basically the same steps I think), please, reopen this bug and let me know. Thanks for reporting. Product Version: NetBeans IDE Dev (Build 091110-e438bb2abf94) Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01 System: Linux version 2.6.31-14-generic running on amd64; UTF-8; cs_CZ (nb)