Community
Participate
Working Groups
The problem is reported by one of Eclipse adopters. Reproduction steps: Copy - paste 2 java files in PackageExplorer (result - 4 files) Delete copies Change original files Copy paste them (result - 4 files) Open the copies -> they are not modified (state from first copy-paste). The weird thing is that on the file system files are correct, only editor shows old versions. The issue happens once or twice a week in a development team. SVN is used. Any hints/comments are welcome.
Once the issue happens it is perfectly reproducible. -clean is a cure.
Nothing in .log
>SVN is used. Might be an SVN issue. Cannot reproduce and never heard of this so far. > -clean is a cure. I don't think this has anything to do with the bug.
I'm neither able to reproduce it. Dani, could it be a problem with IDocumentProvider and text IDocuments backed by IFileBuffers? As I remember the text editors use this mechanism as a cache for file content. Krzysztof could you provide more details like: - what svn provider is used? - is the issue reproducible using Eclipse without the svn provider? Anyway there is not enough details to diagnose the issue. I think this is INVALID needinfo.
>Dani, could it be a problem with IDocumentProvider and text IDocuments backed >by IFileBuffers? As I remember the text editors use this mechanism as a cache >for file content. No.
Need more info.
I have already excluded bug in text editors (for 100%, it is impossible that such an issue persists Eclipse restart). The issue does not seem to be related to SVN, but it is quite possible it is related to project set-up: Additional deviations (breakpoints appear in non-existing line) indicate that the bug may be caused by builders (file not copied correctly) or with web project (corrupted paths in J2EE project) or both. The investigation is in progress, expect more info soon.