FileServiceSubSystem.getRemoteFileObject returns null after successfully prompting for credentials and connecting to a host
Bugzilla Link | 410188 |
Status | NEW |
Importance | P3 normal |
Reported | Jun 07, 2013 09:58 EDT |
Modified | Jun 07, 2013 10:01 EDT |
Version | 3.4.2 |
Reporter | Kalvin Misquith |
Description
Steps to reproduce:
- Call FileServiceSubSystem.getRemoteFileObject on a disconnected RSE connection
- The user is prompted to connect via the RSE credentials dialog. Type in a valid username and password
- FileServiceSubSystem.getRemoteFileObject returns null. Subsequent calls to FileServiceSubSystem.getRemoteFileObject return the correct object.
There seems to be a timing issue here. Placing a breakpoint too soon, will result in a valid object being returned. However placing a breakpoint just after FileServiceSubSystem.getFile returns null:
\
UnixDStoreFileService(DStoreFileService).getElementFor(String, boolean) line: 2127 \
UnixDStoreFileService(DStoreFileService).getElementFor(String) line: 2114 \
UnixDStoreFileService.getSubjectFor(String, String) line: 178 \
UnixDStoreFileService.getFile(String, String, IProgressMonitor) line: 223 \
FileServiceSubSystem.getFile(String, String, IProgressMonitor) line: 385 \
FileServiceSubSystem.getRemoteFileObject(String, IProgressMonitor) line: 305