- This topic has 8 replies, 4 voices, and was last updated 21 years ago by
Sean Dynan.
-
AuthorPosts
-
Jan KragMemberRunning:
OS: Windows XP Pro SP 1
Eclipse: Version: 2.1.3
Build id: 200403101828
MyEclipse: 2.7.1
Eclipse & MyEclipse freshly installed about 1 week ago.
No other external plugins installed.
Running Eclipse with: j2re1.4.2_04
Running Tomcat5 with: j2sdk1.4.2_04——————————————
Have been using MyEclipse for a currently rather small Struts/Tiles project deployed on a tomcat5 server.
Closed down eclipse yesterday with a small hang-up, but it came down eventually.
When I opened eclipse today, I found that all my MyEclipse settings had gone.
This includes all configuration of the tomcat5 server (actually it had disabled Tomcat5 and reenabled JBoss3 instead).
My JDK setup (incl. command-line switches) had also been removed.Also gone was my MyEclipse subscription data.
As far as I can tell, the “damage” was only to MyEclipse related settings. My general project-settings seem unharmed.
My co-worker has recently experienced a similar situation (though with a different Eclipse version) and slightly less damage (i.e. subscription data was retained).
I hope that the above provides sufficient information.
Riyad KallaMemberPlease check your log file and paste it here for us to look over. It is located at: <workspace>\.metadata\.log
Jan KragMemberMy full logfile is posted below.
The problem reported was observed during the first session though (from 10:54).
——————————————————————-
!SESSION Apr 22, 2004 10:54:42.436 ———————————————
java.version=1.4.2_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -install file:D:/Dev/eclipse/
!ENTRY org.eclipse.ui 4 4 Apr 22, 2004 10:54:42.436
!MESSAGE Unable to restore editor – createElement returned null for input element factory: org.eclipse.ui.part.FileEditorInputFactory
!SESSION Apr 22, 2004 13:22:23.453 ———————————————
java.version=1.4.2_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -install file:D:/Dev/eclipse/
!ENTRY org.eclipse.ui 4 4 Apr 22, 2004 13:22:23.453
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Apr 22, 2004 13:22:23.453
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at org.eclipse.ui.internal.dialogs.AboutFeaturesDialog.buttonPressed(AboutFeaturesDialog.java:136)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at org.eclipse.ui.internal.dialogs.AboutDialog$3.widgetSelected(AboutDialog.java:237)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at org.eclipse.ui.internal.AboutAction.run(AboutAction.java:47)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
Riyad KallaMemberThis is strange, we will look into it.
Thank you for the report!
support-michaelKeymasterIn your initial msg you referred to a problem shutting down Eclipse followed by lost MyEclipse preference upon the restart. Can you provide more details re: what activities were you conducting in MyEclipse, e.g., running Tomcat5, and what constituted a glitch, e.g., save dialog followed by unresponsive UI, other.
MyEclipse runs on top of the Eclipse preference mgmt system. During the shutdown process preferences are flushed to disk. Lose of all MyEclipse prefs indicates a bug in Eclipse 3.0M8 (wouldn’t be the first). Have you already reestablished your ME prefs (I assume yes)? If not or if the problem occurs again please check the directory <your eclipse install>/eclipse/workspace/.metadata/.plugins for the presence of com.genuitec.eclipse.* folders. Eclipse stores your prefs in these folders.
Sean DynanMemberI’ve been suffering this behaviour too, though I was attributing it to Eclipse rather than ME.
- Eclipse would suddenly lose its JDK setting; consequently ME wouldn’t deploy the WAR.
Closing the struts-config.xml file would result in a nasty Eclipse error dialog and I’d have to kill Eclipse from the Windows task manager. Consequently my ME settings were hosed on the next restart. This also happened, though less frequently, with vanilla Java source files.
A few days ago, in my frustration, I deleted my entire Eclipse .metadata directory and restarted Eclipse.
<fingers-so-very-tightly-crossed>Eclipse/MyEclipse have been pretty stable ever since</fingers-so-very-tightly-crossed>
—
Sean8<————
MyEclipse 3.7.2
Eclipse 3.0M8
WinXP Pro SP1
Sun’s JDK1.4.2_04
JBoss 3.2.3 + Tomcat 4
Jan KragMemberThanks very much for the frequent responses. This makes it so much more worthwhile to submit bugreports.
I have a little trouble describing exactly what went wrong during shutdown. This is a case of experiencing trouble when restarting ME at the start of a working day and then trying to remember the circumstances of the previous days shutdown. As far as I remember I had been doing some simple Struts/Tiles development (just initial testing) with a large number of deployments to tomcat5 (both hotdeploy and frequent server restarts). When I closed down, my machine was generally unresponsive so I don’t know if the main problem was with Eclipse/ME og with e.g. my Dreamweaver. But ME froze for a while (no redraw of empty windowframe when shift-tabbing to ME) but came down eventually (in less than a minute I guess) without being manually killed.
With regard to the storing of settings, I can not say for sure that it was only ME settings that disappeared. While looking over the settings again later, I had the feeling that one or two minor workspace configurations had also disappeared. We are talking about small changes like setting the number of files in the “recently opened files” list and how many editor tabs to keep open, so it is hard to be certain whether I had actually set different values that the ones I found after the “crash”.
I tried to solve the problem by reestablishing all my prefs, but as I still could’t redeploy my applikation after this, I chose the thorough path and reinstalled both Eclipse and ME.
Regarding your comment about E3.0M8, I can only say that I am not using this version. As stated in my original post, I am using Eclipse 2.1.3 and ME 2.7.1.If the problem occurs again I will first a) weep 😥 and then b) check the .metadata/.plugins directory as you recommend.
I hope this lengthy post answers some of your questions.
Riyad KallaMemberHey guys, I did some hunting and this REALLY seems to be an Eclipse issue:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=50609
https://bugs.eclipse.org/bugs/show_bug.cgi?id=55385
https://bugs.eclipse.org/bugs/show_bug.cgi?id=56886
https://bugs.eclipse.org/bugs/show_bug.cgi?id=57391
https://bugs.eclipse.org/bugs/show_bug.cgi?id=58586I am sure there are more, here is the master query I used:
https://bugs.eclipse.org/bugs/buglist.cgi?short_desc_type=allwordssubstr&short_desc=preferences&version=2.1&version=2.1.1&version=2.1.2&version=3.0&version=DEVELOPMENT&long_desc_type=allwordssubstr&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=allwords&keywords=&emailtype1=substring&email1=&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=Just search in the results (using IE/Netscape/Whatever find feature) for “lost”. or something else you think would be in the title of the bug report.
Sean DynanMemberYeah, I thought as much. Those Eclipse guys are gonna have their work cut out delivering a stable 3.0 by June 😕
—
Sean -
AuthorPosts