[Bug 370204] An error is logged when trying to drag a TCF connection in RSE onto itself
Bugzilla Link | 370204 |
Status | NEW |
Importance | P3 minor |
Reported | Jan 31, 2012 07:20 EDT |
Modified | Feb 07, 2012 18:28 EDT |
Version | 1.0 |
Depends on | 357667 |
Reporter | Martin Oberhuber |
Description
+++ 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.