Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [dsdp-tm-dev] Error when opening a folder in RSE explorer

Thank’s Javier.

 

I think in the meantime that you should display a more appropriate error message

and not to throw an exception – it displays an exception dialog which looks like a bug in our product…

 

Shall I open a new bug on it ?

Yaron

 


From: dsdp-tm-dev-bounces@xxxxxxxxxxx [mailto:dsdp-tm-dev-bounces@xxxxxxxxxxx] On Behalf Of javier.montalvoorus@xxxxxxxxxxx
Sent: Tuesday, November 27, 2007 1:33 PM
To: Target Management developer discussions
Subject: Re: [dsdp-tm-dev] Error when opening a folder in RSE explorer

 


Hi Yaron,

The icon that appears in your FTP server represents a symbolic link. The behaviour of FTP symbolic links have been discussed in https://bugs.eclipse.org/bugs/show_bug.cgi?id=197758
Given a symbolic link, it's not possible knowing if it links a folder or a file, and analysing it by attempting to access the linked element compromised the performance as discussed in the bug.

So we went for the same heuristic applied by other FTP clients, which is showing the link as a linked folder unless its name contains dots ('.').
This solution shows the error you have experienced if a link is wrongly guessed to be a folder link. You could fix it by, for example, renaming your file link "a" to "a.lnk".

Cheers,

Javier





"Yaron Mazor" <yaron.m@xxxxxxxx>
Sent by: dsdp-tm-dev-bounces@xxxxxxxxxxx

27/11/2007 08:57

Please respond to
Target Management developer discussions <dsdp-tm-dev@xxxxxxxxxxx>

To

"Target Management developer discussions" <dsdp-tm-dev@xxxxxxxxxxx>

cc

 

Subject

[dsdp-tm-dev] Error when opening a folder in RSE explorer

 

 

 




Hi all.
 
When I try to open a folder with the “special” icon (what does it mean this icon ?)
I get an exception :
java.lang.ClassCastException: org.eclipse.rse.core.filters.SystemFilterReference
      at org.eclipse.rse.internal.files.ui.view.SystemViewRemoteFileAdapter.internalGetChildren(SystemViewRemoteFileAdapter.java:558)
      at org.eclipse.rse.internal.files.ui.view.SystemViewRemoteFileAdapter.getChildren(SystemViewRemoteFileAdapter.java:552)
      at org.eclipse.rse.internal.ui.view.SystemView$CheckExistenceJob.run(SystemView.java:5772)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
 
Please see attached the exact screenshot and the “special” icon J
 
 
Please advise,
Yaron
 
_______________________________________________
dsdp-tm-dev mailing list
dsdp-tm-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev


**********************************************************************
Symbian Software Ltd is a company registered in England and Wales with registered number 4190020 and registered office at 2-6 Boundary Row, Southwark, London, SE1 8HP, UK. This message is intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee you should not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify postmaster@xxxxxxxxxxx and delete the message and any attachments accompanying it immediately. Neither Symbian nor any of its Affiliates accepts liability for any corruption, interception, amendment, tampering or viruses occurring to this message in transit or for any message sent by its employees which is not in compliance with Symbian corporate policy.
**********************************************************************


Back to the top