Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370204 - An error is logged when trying to drag a TCF connection in RSE onto itself
Summary: An error is logged when trying to drag a TCF connection in RSE onto itself
Status: NEW
Alias: None
Product: TCF
Classification: Tools
Component: RSE (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Anna Dushistova CLA
URL:
Whiteboard:
Keywords:
Depends on: 357667
Blocks:
  Show dependency tree
 
Reported: 2012-01-31 07:20 EST by Martin Oberhuber CLA
Modified: 2012-02-07 18:28 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.