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 194491 - Slash in FTP username creates folder in config/FTPSites/ and throws java.io.FileNotFoundException
Summary: Slash in FTP username creates folder in config/FTPSites/ and throws java.io.F...
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: RemoteFS (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: remotefs@contrib
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-19 21:04 UTC by gribelu
Modified: 2011-01-20 11:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 146247


Attachments
stacktrace (2.76 KB, text/plain)
2011-01-19 21:04 UTC, gribelu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gribelu 2011-01-19 21:04:36 UTC
This issue was reported manually by vv159170.
It already has 4 duplicates 


Build: NetBeans IDE Dev (Build 201007080001)
VM: OpenJDK 64-Bit Server VM, 14.0-b16, OpenJDK Runtime Environment, 1.6.0_18-b18
OS: Linux

User Comments:
gribelu: We recently started using Adobe Business Catalyst as a CMS and the FTP access there requires us to enter the Username as sitename.businesscatalyst.com/user@emailserver.com

Symptoms:
- After creating the connection in Netbeans I get: "java.io.FileNotFoundException: /home/bogdan/.netbeans/dev/config/FTPSites/sitename.businesscatalyst.com (Is a directory)"
- The connection doesn't appear in FTP Explorer
- "sitename.businesscatalyst.com" is indeed a folder and under it there's a file "user@emailserver.com@sitename.businesscatalyst.com.ser"
- The same exception is thrown on each start-up

Thanks!




Stacktrace: 
java.io.FileNotFoundException: /home/bogdan/.netbeans/dev/config/FTPSites/motive.businesscatalyst.com (Is a directory)
   at java.io.FileInputStream.open(FileInputStream.java:0)
   at java.io.FileInputStream.<init>(FileInputStream.java:137)
   at org.netbeans.modules.remotefs.ui.ExplorerTopComponent.<init>(ExplorerTopComponent.java:59)
   at org.netbeans.modules.remotefs.ui.ExplorerTopComponent.getDefault(ExplorerTopComponent.java:156)
   at org.netbeans.modules.remotefs.ui.ExplorerTopComponent$ResolvableHelper.readResolve(ExplorerTopComponent.java:236)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0)
Comment 1 gribelu 2011-01-19 21:04:40 UTC
Created attachment 105162 [details]
stacktrace