Bug 38628 - [Workbench] Workspace got corrupted - and had to delete and rebuild it from scratch
Summary: [Workbench] Workspace got corrupted - and had to delete and rebuild it from s...
Status: CLOSED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Simon Arsenault CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-08 02:29 EDT by Vijay Aravamudhan CLA
Modified: 2008-01-09 19:15 EST (History)
2 users (show)

See Also:


Attachments
.log file (71.27 KB, application/octet-stream)
2003-06-08 02:32 EDT, Vijay Aravamudhan CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vijay Aravamudhan CLA 2003-06-08 02:29:45 EDT
I downloaded the 3.0 M1 build, and used it with the same old workspace that I
had before. Everything was working fine, till after a few hours, all of a sudden
I kept getting errors.
I wlll attach the .log file
Comment 1 Vijay Aravamudhan CLA 2003-06-08 02:32:09 EDT
Created attachment 5118 [details]
.log file
Comment 2 Vijay Aravamudhan CLA 2003-06-08 04:42:55 EDT
Even after deleting a couple of times, I still got the error. Finally, I just
rebooted the machine, and it started working - maybe there is a thread that was
still changing files?
Comment 3 Steve Northover CLA 2003-06-13 12:06:15 EDT
Not SWT.
Comment 4 Rafael Chaves CLA 2003-06-13 12:41:45 EDT
"Even after deleting a couple of times, I still got the error"

Deleting what? The workspace? And what error messsage did you get in the user
interface? Thanks.
Comment 5 Matthias Kempka CLA 2003-06-15 07:51:35 EDT
Not sure if its the same, but similar anyway:
I'm working with eclipse 2.1 on a Linux machine using the blackdown-jdk.
I copied the workspace from another machine where the same eclipse build ran
since 2.1 was released without problems (with sun jdk).

I got freezes on different ways, I'm reporting 2 of it that could reproduce:

1. I worked for some hours without problems, then I created javadocs in the
project directory of the current project. Next time I started eclipse (after a
reboot) I wanted to create javadocs again into the same directory. After
choosing export -> javadoc, click on <next> the assistant froze. I could close
the assistant window with <x> but the only thing that reacted in the eclipse
main window was the <x> again, which brought the question "Exit <yes> <no>" but
that did not work (buttons didn't work at all, so maybe that's just a natural
prosecution. A thing I noticed is that when eclipse freezes that way, X uses
100% processor time, exactly so long until I kill eclipse.
Killing eclipse and deleting the javadoc folder made it work again, but only
until the next restart.
having the javadoc target folder outside the workspace seemed to work, but I
couldn't test it really, because the next topic prevents me from testing
anything any more:

2. I don't exactly remember what my last action was, before it happened, it was
just something I do all the time. Since then, on my current project, arbitrary
imports from other packages in the same project are marked as "could not be
resolved". Example, in a class outside com.schneide.quantity
The first 2 lines are all ok, the third is marked as "could not be resolved"

import com.schneide.quantity.AbstractQuantity
import com.schneide.quantity.CompoundUnit
import com.schneide.quantity.WrongUnitException

where WrongUnitException itself is shown with no Errors, but AbstractQuantity
and CompoundUnit itself can not resolve some types.  
Before that all-day action since which I have the error, the whole project was
compiled fine. Now, since these errors are shown, I can not do any action that
involves showing new dialogs, as soon as one comes up, eclipse freezes, the
dialog itself stays half painted. Until I open a dialog, I can use the editor
and open and close packages and classes, but I can not scroll down in the
package explorer. From the startup on, X then uses 65-70% of processor power,
Java the remaining.

Eclipse itself works fine with new workspaces.

I copied the workspace back to the old machine where everything stayed fine. I
suppose it may have to do something with the blackdown jdk and I'm now in the
process of installing the sun jdk but it may take some days until I can test it.

Those errors don't write anything into the .log file which stayed empty after I
emptied it before trying to reproduce the errors.
Comment 6 Vijay Aravamudhan CLA 2003-06-16 08:21:06 EDT
Yes - I had to delete the workspace and recreate from scratch.
I dont remember what error message showed up.
Comment 7 Rafael Chaves CLA 2003-06-16 09:16:33 EDT
Mathias, the problems you reported do not look related to this one. Please open
 different PRs against each different problem you have. Also, if you have a
reproducible test case, it is much more likely that the problems will be fixed.
Thanks.

Moving to Platform/UI for comments, which is the only other component involved
in the Arithmetic/InvalidArgumentException stack traces (since it has been said
it is not SWT). 
Comment 8 Matthias Kempka CLA 2003-06-29 16:07:55 EDT
well, either way.
I can not reproduce my problems with the sun jdk, so I am just happy with it now.
Comment 9 Debbie Wilson CLA 2003-06-30 09:54:34 EDT
Closing as per last comments.
Comment 10 Vijay Aravamudhan CLA 2004-06-04 12:44:22 EDT
Please do not close the bug if the original reporter has not put in comments
saying that this now works! This bug seems to have been marked as resolved based
on comments from a different person who was reporting some OTHER bugs.
Anyway, I still appreciate the work being done, and this bug does not seem to be
raising it ugly head any more.
Comment 11 Debbie Wilson CLA 2004-06-04 12:57:53 EDT
This bug has been closed for almost a year now.  If you do experience this 
problem, it is more useful to open a new PR anyway.
Comment 12 Vijay Aravamudhan CLA 2008-01-09 19:15:20 EST
Closing