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 Dev (Build 201403040001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b69, Java(TM) SE Runtime Environment, 1.8.0-b131 OS: Windows 7 User Comments: CoffeeNerd: This just started happening after I installed the current daily build - now none of my installations (production 7.4 patch 1, 20131108 build nor this build are able to upload files to my remote server via sFTP. GUEST: I tried to make a remote php project. Used SFTP connection mode and hit test connection button mmolda: Configuring new SFTP connection. Filled in Host name, username, password and clicked on Test Connection - exception thrown. GUEST: upload not possible <Please provide a description of the problem or the steps to reproduce> Stacktrace: java.lang.NullPointerException at org.netbeans.modules.php.project.connections.sftp.SftpClient.setProxy(SftpClient.java:270) at org.netbeans.modules.php.project.connections.sftp.SftpClient.createSftpSession(SftpClient.java:207) at org.netbeans.modules.php.project.connections.sftp.SftpClient.init(SftpClient.java:156) at org.netbeans.modules.php.project.connections.sftp.SftpClient.connect(SftpClient.java:285) at org.netbeans.modules.php.project.connections.RemoteClient.connect(RemoteClient.java:193) at org.netbeans.modules.php.project.connections.ui.RemoteConnectionsPanel.testConnection(RemoteConnectionsPanel.java:252)
Created attachment 145751 [details] stacktrace
Unfortunately, this happens for SFTP if proxy is used. Definitely a patch candidate... Should be fixed now, please verify (proxy, no proxy, ssh-agent, no ssh-agent). Thanks! http://hg.netbeans.org/web-main/rev/a81945598267
Since the fix should be safe (reviewed by Ondra), transplanting to release repo to branch release80. Thanks! http://hg.netbeans.org/releases/rev/10e4373400d8
Láďo/Milane, verify please this issue in latest biuld of NB 8.0. Thanks a lot.
Sorry, I have removed the keyword.
Integrated into 'releases/release80', will be available in build *201403052200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/10e4373400d8 User: Tomas Mysik <tmysik@netbeans.org> Log: #242553 - NullPointerException at org.netbeans.modules.php.project.connections.sftp.SftpClient.setProxy (transplanted from a81945598267160779c52b5fc1a4c381af6d89a0)
Works great. I also tried upload/download/synchronize. Thanks. Product Version: NetBeans IDE 8.0 (Build 201403052200) Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69 Runtime: Java(TM) SE Runtime Environment 1.8.0-b131 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Integrated into 'main-silver', will be available in build *201403070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/a81945598267 User: Tomas Mysik <tmysik@netbeans.org> Log: #242553 - NullPointerException at org.netbeans.modules.php.project.connections.sftp.SftpClient.setProxy
*** Bug 244061 has been marked as a duplicate of this bug. ***