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.

Bug 209312 - Remote Connection can't be saved [FTP & SFTP]
Summary: Remote Connection can't be saved [FTP & SFTP]
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: FTP Support (show other bugs)
Version: 7.1
Hardware: PC Windows 7 x64
: P2 normal (vote)
Assignee: localhorst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-08 11:18 UTC by localhorst
Modified: 2012-03-22 15:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Message Log after clearing userdir (29.12 KB, text/plain)
2012-03-08 15:04 UTC, localhorst
Details
Message Log before clearing userdir (230.97 KB, text/plain)
2012-03-08 15:04 UTC, localhorst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description localhorst 2012-03-08 11:18:42 UTC
When adding a Remote Connection via the Configuration dialog, Connections won't be stored. 

- New FTP connections can be configured and tested but not saved. They stay in the list as "Unknown configuration", but can't be edited after closing and reopening dialogue.
- SFTP connections can be configured but neither tested nore saved. They stay in the list as "unknown configuration" or "<missing configuration>".

Happens with 
jdk1.6.0_27 and jdk1.7.0

Product Version: NetBeans IDE 7.1 (Build 201112071828)
Java: 1.6.0_27; Java HotSpot(TM) 64-Bit Server VM 20.2-b06
System: Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb)

I will provide logs and other info when requested.
Comment 1 localhorst 2012-03-08 11:19:31 UTC
PS: Similar to http://netbeans.org/bugzilla/show_bug.cgi?id=188428 but in nb 7.1.
Comment 2 Tomas Mysik 2012-03-08 11:54:00 UTC
(In reply to comment #0)
> I will provide logs and other info when requested.

Yes, please do so (attach them, do not copy & paste) since it works for me in the dev version of NetBeans. Also, can you please try a clean userdir [1]?

Simply reopen this issue, thanks.

[1] http://wiki.netbeans.org/FaqAlternateUserdir

Product Version: NetBeans IDE Dev (Build 20120308-16a64ff1e4a4)
Java: 1.6.0_31; Java HotSpot(TM) 64-Bit Server VM 20.6-b01
System: Linux version 3.0.0-16-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 3 localhorst 2012-03-08 15:04:11 UTC
Created attachment 116483 [details]
Message Log after clearing userdir
Comment 4 localhorst 2012-03-08 15:04:52 UTC
Created attachment 116484 [details]
Message Log before clearing userdir
Comment 5 localhorst 2012-03-08 15:05:55 UTC
Seems to work after clearing userdir. However, being able to import my 7.0 configuration would be very helpful
Comment 6 Tomas Mysik 2012-03-09 06:15:58 UTC
BTW logs you have attached are not readible at all - how did you get them? From IDE [1] or from filesystem [2]? Or?

(In reply to comment #5)
> Seems to work after clearing userdir.

Great to hear so closing as WORKSFORME.

> However, being able to import my 7.0
> configuration would be very helpful

This is possible - Tools > Options > Export... and then Tools > Options > Import...

Thanks for reporting.
[1] View > IDE Log
[2] <nb-userdir>/var/log/messages
Comment 7 localhorst 2012-03-22 15:50:35 UTC
I found the culprit in my netbeans.conf: 
netbeans_default_options="[foo bar] -J-Dline.separator=LF"

I inserted this to make my project files compatible with UNIX, but by this, the string "LF" was inserted into several Netbeans config XML files.

Was also the reason why my previous import from 7.0 was corruppted, and maybe why the message logs are unreadable. 
[I took them from the filesystem btw.]