Community
Participate
Working Groups
Sometimes when I restart Eclipse workspace doesn't looks like before restart. Layout has inital values. I'm not sure when exactly it occurs, because I didn't find any rule. Maybe I can send any config files?
Which version of Eclipse were you using (2.1 stable build or a subsequent build)? Did you crash when you shutdown Eclipse (previous to noticing that the layout had reverted to initial values)? You can check for information in the .log file (usually under the .metadata directory in your workspace). What exactly were the differences?
Created attachment 4750 [details] Eclipse log file
1. I'm using Eclipse 2.1 release (first position on http://www.eclipse.org/downloads/index.php). 2. No, I didn't. I just shutdown Eclipse on end of work, and restart it next day. 3. I didn't find there anything special. I attached .log file. Last in happened yesterday about (28 April) 9:30 AM. 4. Differences: for example there was no "Debug prespective" icon (and other icons too) on the left bar. When I opened perspective "Debug" from "Window" menu it looked like after Eclipse instalation. I'm using this perspective very often and I set it to look totaly different. There was the same problem with other perspectives too.
Your log file has lots of crashes in it. Could you do the following to help us isolate this problem: - remove the .log file in your environment. A new one will be created when needed. - when you shutdown your environment, check the .log file for any crashes. We noticed and "out of memory" at the end of your current log file as follows: java.lang.OutOfMemoryError !ENTRY org.eclipse.ui 4 4 kwi 28, 2003 17:34:53.767 !MESSAGE Exception in org.eclipse.ui.actions.GlobalBuildAction.run: java.lang.OutOfMemoryError - when you start up Eclipse, check the .log file after startup. We are trying to determine if your problem is happening on shutdown or startup. - if you have a reproducible case, that would really help us. The crash on either startup or shutdown is causing your display to revert to the original default display.
I'm waiting for occurence of this bug, but it not happens now... I'll write you when I'll have problems again.
Am closing this problem as we aren't doing anything on it. If you notice this problem reappearing, please reopen this problem report and add any comments to it.
I have it again! This time I send you some screen-shots and log file.
Created attachment 5049 [details] When I started Eclipse today...
Created attachment 5050 [details] When I choosed "Open Perspective" -> "Java"....
Created attachment 5051 [details] Normally my workspace looks like this I made this screen-shot some time ago for another bug.
Created attachment 5052 [details] Actual .log file
There is nothing about this problem in .log file. Last position is from yesterday but this is about another problem (I didn't make 'refresh' on my project after some operations). I shuted down Eclipse yesterday (04-April-2003) at 5:00 pm (17:00 in my Locale). Today I started it at 9:30 am.
Excuse me: not '04-April-2003', but '04-June-2003' of course.
Is "cze 03, 2003" June 03, 2003? It looks like you crashed yesterday (June 3, if my assumption about cze being June is correct) when cvs was trying to do some something with the file: /top/dbg/readme.txt Eclipse thinks that file should be located here: C:\eclipse\workspace\top\dbg\readme.txt but the file is not available. Is 'top' one of your projects? What were you doing with this project when the crash happened. When you tried to start up Eclipse this morning (June 4), Eclipse had to do the best it could to restore things to a sane state despite the fact that it crashed yesterday. As a result, the layout went back to initial values. We need to isolate why the crash is happening and solve that problem. Could you do the following: - rename your .log file (so that there is no file named .log) - each time you shutdown Eclipse, check to see if there is a .log file (one will be created if needed) - if you find a .log file with a crash in it, try to isolate the sequence of events that caused the crash
Yes, "cze 03, 2003" is June 03, 2003. "top" is part of my project. I don't think that the reason is in that position. Problem with file "dbg/readme.txt" happened an 1:03 pm. I worked with this project until 5:00 pm and just then I shuted down Eclipse. What i did, that the problem happened? I almost sure this scenario: - some days ago I deleted all files from folder "dbg" in project "top", but not using Eclipse. I did it with external files manager. I deleted "readme.txt" file too (it was there before) - I didn't make "refresh" on project "top" in Eclipse - file "readme.txt" still was in "Package Explorer" view. - two days before, at 1:03 pm, I tried to open file "readme.txt". Eclipse couldn't open it because it wasn't there. I don't have "Refresh workspace on startup" on, so refreshing couldn't happen automatically.
When you start up eclipse and you notice the perspectives have been "reset", do you get a dialog box letting you know that it will be reset? There is nothing in the .log file that would explain why the reset is happening. When you start up eclipse, one of the command line arguments you can specify is the location of the VM to use. Could you use java.exe instead of javaw.exe - that will cause the console output to be shown. There may be something written there when the reset happens.
No, I don't get any dialog box. Ok, I'll try to run Eclipse with java.exe.
Have you've been able to reproduce this problem while the console window is open (i.e. using java.exe instead of javaw.exe)? Plus, if you do reproduce this problem, then attach the workbench.xml file (found in <workspace>/.metadata/.plugins/org.eclipse.ui.workbench). But make sure you copy this file before shutting down Eclipse, otherwise it will get rewritten. Since you are not getting any error dialog on restore stating that your window layout will be reset, and nothing in your .log file, I suspect that the last time eclipse shutdown, it failed to write the workbench.xml file. Please reopen if you can reproduce this problem again.