eclipse hangs on startup - solved [message #508183] |
Sun, 17 January 2010 06:45  |
Eclipse User |
|
|
|
hi, just wanted to let you now this one:
SYMPTOM
my eclipse was hanging while starting up with a certain workspace.
the log showed this consistently on each startup:
!ENTRY org.eclipse.equinox.p2.repository 4 0 2010-01-16 19:25:00.153
!MESSAGE ProvisioningEventBus could not be obtained. Metadata caches may not be cleaned up properly.
!SESSION 2010-01-16 19:28:53.762 -----------------------------------------------
eclipse.buildId=
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product -data E:\ece\ce_sm544_AC\ws_goal_local-svn -clean
i tried using other eclipse packages (ie just the very basic SDK) to see if any of the installed stuff was causing this and it wasnt.
a new workspace would start fine with the eclipse instance that i had.
so i went down to fix the workspace, daring as i am.
SOLUTION
this is what did the trick:
i removed the last 2 projects i was working on from my workspace meta data @ .metadata\.plugins\org.eclipse.core.resources\.projects, so not the real project meat.
after that, all was fine - except of course eclipse complaint about the 2 project not being present.
what really was strange thought hat the message in the log is rather misleading. maybe s.o. of the JDT folks could enlighten us users on this.
there was also another thing that was strange: one of the projects that i had removed, had a completely diff. name in its .project file than what i had named the project. this project contained the .target file definitions (see below).
seems like that eclipse was really messed up.
STEPS leading up to this in the order most recent to later:
i was working on a PDE build and as nature of that dictates: id did this a lot:
1) edit build file
2) execute build on the command line
3) -> see error
goto 1)
anyhow, saving the build.xml was getting anoyingly slow: a few seconds foe an xml file of a couple of kb!
so i restarted the workspace which brought me into the trouble i described above -- or rather showed that symptom.
during my PDE build editing, i switched target platforms several times with the help of .target files in that very project. (so i could see if the unit test still run in the IDE after doing mods for the headless build.)
there also was a strange thing about the target file stuff:
i created a copy of the orginal .target file via "save as..." and was switching between the two. i also was looking into editing the target file with the JEE xml but that wasnt a good idea, so i swiched back to the target editor.
despite the editor tab was telling me that i had the new .target file open, it was really writing to the original file. i discoved that only later when i wanted to go back to my former target platform def. when it contained the new locations -- and of course, i didnt have check in the most recent version of that. grrr.
anyhow: since i'm in a pressure to do other stuff, i just wanted to let you know this and if anyone feels like this: go ahead and try to reproduce the bugs(?) i noticed.
using eclipse JEE 3.5.0
|
|
|
Re: eclipse hangs on startup - solved [message #508329 is a reply to message #508183] |
Mon, 18 January 2010 08:11  |
Eclipse User |
|
|
|
today this happened to me again and the fix was to remove the project's meta data.
all i was doing since fixing it last time was pretty much
- editing xml build files.
- svn commits
if anybody is interested into looking into this, i could create a bug and upload resources as needed?
[Updated on: Mon, 18 January 2010 08:12] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02998 seconds