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

Summary: Slash in FTP username creates folder in config/FTPSites/ and throws java.io.FileNotFoundException
Product: contrib Reporter: gribelu <gribelu>
Component: RemoteFSAssignee: remotefs@contrib <remotefs>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 146247
Attachments: stacktrace

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