Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370204

Summary: An error is logged when trying to drag a TCF connection in RSE onto itself
Product: [Tools] TCF Reporter: Martin Oberhuber <mober.at+eclipse>
Component: RSEAssignee: Project Inbox <tcf.rse-inbox>
Status: NEW --- QA Contact: Anna Dushistova <anna.dushistova>
Severity: minor    
Priority: P3 CC: cdtdoug, uwe.st
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 357667    
Bug Blocks:    

Description Martin Oberhuber CLA 2012-01-31 07:20:18 EST
+++ This bug was initially created as a clone of Bug #357667 +++

Build ID: TCF with RSE 3.4M5 (Juno) or later

When testing the change for bug 357667, I saw the following error when trying to drag a TCF connection in RSE onto itself:


!ENTRY org.eclipse.core.jobs 4 2 2011-09-30 13:47:05.661
!MESSAGE An internal error occurred during: "Transfer Operation".
!STACK 0
java.lang.Error: Remote peer does not support
org.eclipse.tm.tcf.services.IFileSystem service
    at
org.eclipse.tm.internal.tcf.rse.TCFConnectorService.getService(TCFConnectorService.java:295)
    at
org.eclipse.tm.internal.tcf.rse.TCFConnectorService.getFileSystemService(TCFConnectorService.java:304)
    at
org.eclipse.tm.internal.tcf.rse.files.TCFFileService$12.run(TCFFileService.java:763)
    at org.eclipse.tm.tcf.util.TCFTask$1.run(TCFTask.java:55)
    at org.eclipse.tm.tcf.EventQueue.run(EventQueue.java:99)
    at java.lang.Thread.run(Thread.java:619)


The error is unexpected - a drag-onto-itself operation should be silently ignored, and add-on plugins should be allowed to hook custom handlers for that kind of "Copy" and "Paste" operation.
Comment 1 Anna Dushistova CLA 2012-02-07 18:28:14 EST
Martin,
I am not able to reproduce it with 4.2M5 and the latest RSE and TCF plugins on Linux.