Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358913 - Copy from local zip file to remote folder fails with RSEF5006
Summary: Copy from local zip file to remote folder fails with RSEF5006
Status: NEW
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: dsdp.tm.rse-inbox CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-26 11:23 EDT by Kenya Ishimoto CLA
Modified: 2012-01-25 08:58 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 Kenya Ishimoto CLA 2011-09-26 11:23:17 EDT
Build Identifier: 3.2.X maintenance stream M20110213-0444

Copying a file from local system's zip file to remote system fails with error message dialog.

Dialog title: RSEF5006
Dialog message:
File test.zip#virutal# was not completely saved on localhost. The file was saved in the local file system.

Details:
org.eclipse.rse.services.clientserver.messages.SystemUnexpectedErrorException: An unexpected error occurred.
org.eclipse.rse.services.clientserver.messages.SystemUnexpectedErrorException: An unexpected error occurred.
	at org.eclipse.rse.services.clientserver.archiveutils.SystemZipHandler.add(SystemZipHandler.java:2830)
	at org.eclipse.rse.internal.services.local.files.LocalFileService.copyToArchive(LocalFileService.java:553)
	at org.eclipse.rse.internal.services.local.files.LocalFileService.copyFromArchive(LocalFileService.java:1515)
	at org.eclipse.rse.internal.services.local.files.LocalFileService.download(LocalFileService.java:393)
	at org.eclipse.rse.services.files.AbstractFileService.downloadMultiple(AbstractFileService.java:217)
	at org.eclipse.rse.subsystems.files.core.servicesubsystem.FileServiceSubSystem.downloadMultiple(FileServiceSubSystem.java:849)
	at org.eclipse.rse.files.ui.resources.UniversalFileTransferUtility.downloadResourcesToWorkspaceMultiple(UniversalFileTransferUtility.java:668)
	at org.eclipse.rse.internal.files.ui.view.SystemViewRemoteFileAdapter.doDrag(SystemViewRemoteFileAdapter.java:1753)
	at org.eclipse.rse.internal.ui.view.SystemDNDTransferRunnable.transferRSEResources(SystemDNDTransferRunnable.java:219)
	at org.eclipse.rse.internal.ui.view.SystemDNDTransferRunnable.runInWorkspace(SystemDNDTransferRunnable.java:740)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

This problem was reported from a customer of IBM Rational Developer for System z (RDz) Version 8.0.1. The customer experienced the error when copying file inside zip file to RDz's remote z/OS system. The operation works until RDz V7.6 that contains RSE 3.0.x.
I recreated the problem using Unix system connection in my development workbench using RSE Core Version: 3.2.2.R32x_v201102011435-7a7FFMcF9hxfDPvGY6d8rTEETOY Build id: M20110213-0444


Reproducible: Always

Steps to Reproduce:
1. Create connection to Unix system
2. Navigate Local system to locate local zip file
3. Expand the zip file and select a file, right-click menu > Copy
4. Navigate Unix system and select a folder, right-click menu > Paste
Comment 1 David McKnight CLA 2011-10-31 12:11:24 EDT
I tried to reproduce this using the RSE 3.2.x driver and the RSE 3.3 driver but I didn't have any problems.  You indicated that this is always reproducible.  If you try it on a different zip file does it make any difference?
Comment 2 Kenya Ishimoto CLA 2012-01-25 07:51:17 EST
(In reply to comment #1)
> I tried to reproduce this using the RSE 3.2.x driver and the RSE 3.3 driver but
> I didn't have any problems.  You indicated that this is always reproducible. 
> If you try it on a different zip file does it make any difference?

David, sorry for not responding it for long time. 
I have tried with several different zip files and tried to copy various files (*.cbl, *.txt and no extension), but always got the same error messages. Anything else I can do?
I thought this is a base RSE issue since it occurs in Unix system and call stack contains only the RSE classes. However, the Unix system is z/OS Unix system in Remote Systems view of RDz. Do you think of any case RDz code affect the symptom?
Comment 3 David McKnight CLA 2012-01-25 08:38:05 EST
(In reply to comment #2)
> (In reply to comment #1)
> > I tried to reproduce this using the RSE 3.2.x driver and the RSE 3.3 driver but
> > I didn't have any problems.  You indicated that this is always reproducible. 
> > If you try it on a different zip file does it make any difference?
> 
> David, sorry for not responding it for long time. 
> I have tried with several different zip files and tried to copy various files
> (*.cbl, *.txt and no extension), but always got the same error messages.
> Anything else I can do?
> I thought this is a base RSE issue since it occurs in Unix system and call
> stack contains only the RSE classes. However, the Unix system is z/OS Unix
> system in Remote Systems view of RDz. Do you think of any case RDz code affect
> the symptom?

I tried this again today with RSE 3.2.x but I didn't run into any problems copying the file in the local zip to a remote system.  Could you attach one of the zip files you can reproduce this with?  Are you able to reproduce if you try using a standalone Eclipse with RSE (i.e. without RDz)?