Community
Participate
Working Groups
Bugzilla – Bug 285438
Error: File Transport Reader
Last modified: 2011-06-11 00:06:13 EDT
What steps will reproduce the problem? 1. got to Install new Software and select a plugin (subversive and rich ajax ...) 2. than go to calculate and install 3. during the install prozess open the error window with this message. -- Error Details -- Date: Mon Aug 03 15:53:43 CEST 2009 Message: Transfer Exception Severity: Fehler Product: Eclipse 1.2.0.20090618-0925 (org.eclipse.epp.package.php.product) Plugin: org.eclipse.ecf.provider.filetransfer Session Data: eclipse.buildId=I20090611-1540 java.version=1.6.0_14 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Framework arguments: -product org.eclipse.epp.package.php.product Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.php.product Exception Stack Trace: java.io.IOException: Write error at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(Unknown Source) at java.io.BufferedOutputStream.flushBuffer(Unknown Source) at java.io.BufferedOutputStream.write(Unknown Source) at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.handleReceivedData(AbstractRetrieveFileTransfer.java:209) at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer$1.performFileTransfer(AbstractRetrieveFileTransfer.java:141) at org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:73) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Is this for ECF?
This error looks to be initiated because of some problem writing to local disk when transfer data are received (i.e. the write error IOException). Therefore, I wouldn't consider this an ECF filetransfer problem but rather some other problem on this local system that is preventing received data from being written to disk. I don't know who to reassign this to, so I won't reassign, but if not reassigned somewhere else I'll need to resolve as invalid.
(*) Is it consistently reproducible? Even on a fresh install & new workspace? (*) Are you installing to a location where you don't have write access/disconnected network drive? Most probably this might an error due to that. Since ECF is directly writing to the disk, I don't think IDE or even Resources component will be the right one for this bug.
(In reply to comment #3) > (*) Is it consistently reproducible? Even on a fresh install & new workspace? > (*) Are you installing to a location where you don't have write > access/disconnected network drive? > > Most probably this might an error due to that. Since ECF is directly writing to > the disk, I don't think IDE or even Resources component will be the right one > for this bug. ECF doesn't write directly to disk. What ECF does is write to an OutputStream provided/specified by the client (in this case p2). So p2 is passing a FileOutputStream to ECF and this is failing to write. The question still remaining in my mind is why is the writeError occuring on the FileOutputStream? Is this being run in some environment where writing to disk is impossible for some reason? (i.e disk full, no write access, etc)? p2 depends upon having the ability to write received data to disk as FileOutputStreams. ECF doesn't require that this be done (writing to disk for received data), but p2 does require it.
(In reply to comment #4) > The question still remaining in my mind is why is the writeError occuring on > the FileOutputStream? Is this being run in some environment where writing to > disk is impossible for some reason? (i.e disk full, no write access, etc)? I believe so. For example Eclipse was unzipped by someone with write access into a shared folder and then someone with read-only access try to install additional components? > ECF doesn't write directly to disk. What ECF does is write to an OutputStream > provided/specified by the client (in this case p2). So p2 is passing a > FileOutputStream to ECF and this is failing to write. Lets assign to P2 for comments
I had all admin right an Eclipse was a new installed with a old workspace selected, but now i removed it from the system and installed the classic SDK and load after the PDT plugin.
(In reply to comment #5) > (In reply to comment #4) > > The question still remaining in my mind is why is the writeError occuring on > > the FileOutputStream? Is this being run in some environment where writing to > > disk is impossible for some reason? (i.e disk full, no write access, etc)? > > I believe so. For example Eclipse was unzipped by someone with write access > into a shared folder and then someone with read-only access try to install > additional components? > > > ECF doesn't write directly to disk. What ECF does is write to an OutputStream > > provided/specified by the client (in this case p2). So p2 is passing a > > FileOutputStream to ECF and this is failing to write. > > Lets assign to P2 for comments > (In reply to comment #5) > (In reply to comment #4) > > The question still remaining in my mind is why is the writeError occuring on > > the FileOutputStream? Is this being run in some environment where writing to > > disk is impossible for some reason? (i.e disk full, no write access, etc)? > > I believe so. For example Eclipse was unzipped by someone with write access > into a shared folder and then someone with read-only access try to install > additional components? > yes, then you would see issues like this. > > ECF doesn't write directly to disk. What ECF does is write to an OutputStream > > provided/specified by the client (in this case p2). So p2 is passing a > > FileOutputStream to ECF and this is failing to write. > > Lets assign to P2 for comments > The issue could also be caused by cancelation done on a separate thread, the file handle can then be closed while data is being received. But it did not sound like that was the issue here. So, check permissions, available disk space, existing file blocked by some other process, etc.
Yes, from my testing on this, "write error" occurs when the stream has been closed concurrently by another thread. I think you would get a different exception if it was a file permission problem (wouldn't be able to open the stream). This looks very similar to bug 277015 and bug 281430.
(In reply to comment #8) > Yes, from my testing on this, "write error" occurs when the stream has been > closed concurrently by another thread. I think you would get a different > exception if it was a file permission problem (wouldn't be able to open the > stream). This looks very similar to bug 277015 and bug 281430. > I don't see in the description any indication that this issue was initiated by cancellation or other multithread activity...although of course it's still possible. Also, it looks from the description that it's not just logging the exception in this case (i.e. as in bug 277015), but rather showing it in ui/dialog. Marcel...can this problem be reproduced? Does it happen every time, or does it sometimes not happen (e.g. with other repos, etc)? Does the error you describe just show in the log, or does it also show in the UI?
@scott In the sdk version worked the pluging install routine mostly perfect, but some plugins need many time to calculate (babel).
(In reply to comment #10) > @scott > In the sdk version worked the pluging install routine mostly perfect, but some > plugins need many time to calculate (babel). > Hi Marcel. I'm confused by this. So could you please summarize: Are you able to reproduce this error at all? If so, what steps do you need to go through to have it occur?
Currently I have doesnt the above error. My steps was until the error: - Starting eclipse, - go to menu->help->install new software - than select a option and choise a plugin and click next, now will eclipse calculate the download or so. Here openend than the small error window with a message (see above).
*** Bug 281430 has been marked as a duplicate of this bug. ***
*** Bug 290279 has been marked as a duplicate of this bug. ***
I just want to chime in here with my experience in this bug (I submitted a bug that was marked a duplicate of this one). 1) I haven't tried reproducing it yet (don't have the time to set up a new environment). 2) The disk is not full, and I have full write access to the plugins directory, which is where I assume the IO operations are occuring. I didn't get this error for EVERY plugin I installed, only some of them. So clearly, I am able to write to the directory. 3) It's not simply an error logged in the error view, but a GUI dialog pops up, telling me that there was an error, and provides a link to the error view, which is how I was able to get the stack trace.
*** Bug 292757 has been marked as a duplicate of this bug. ***