Closed GoogleCodeExporter closed 9 years ago
Hmm, slight unresponsive periods are known to exist, but if Eclipse hangs,
that's a critical issue. Do you mean Eclipse 4.1? So far, only 3.7.1 is
officially supported, but if there is enough interest, I'll look into e4
support.
Original comment by harmathdenes
on 21 Jan 2012 at 8:52
Sorry, I picked up the wrong version from the Installation Details list.
This is what I get from "Help=>About":
Eclipse IDE for Java Developers
Version: Indigo Service Release 1
Build id: 20110916-0149
(c) Copyright Eclipse contributors and others 2000, 2011. All rights reserved.
Visit http://eclipse.org/
...and in the Installation Details it's the Eclipse IDE for Java Developers
that's at version 1.4.1 (the number I gave in my initial post), The Eclipse
Platform is indeed version 3.7.1.
Original comment by hendry.m...@gmail.com
on 21 Jan 2012 at 9:59
Oh, I understand. Could you please open the Error Log view next time after you
restart Eclipse after a hang and post the details (message and stack trace) of
the most recent error coming from one of the Elysium plugins?
Original comment by harmathdenes
on 24 Jan 2012 at 1:31
I think this is the information you need:
Unhandled event loop exception
java.lang.ClassCastException: java.lang.String cannot be cast to
org.eclipse.emf.ecore.EObject
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eObjectForURIFragmentSegment(BasicEObjectImpl.java:557)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.getEObject(ResourceImpl.java:780)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.getEObject(ResourceImpl.java:756)
at org.eclipse.xtext.resource.XtextResource.access$1(XtextResource.java:1)
at org.eclipse.xtext.resource.XtextResource$1.getEObject(XtextResource.java:102)
at org.eclipse.xtext.resource.DefaultFragmentProvider.getEObject(DefaultFragmentProvider.java:26)
at org.eclipse.xtext.resource.XtextResource.getEObject(XtextResource.java:286)
at org.eclipse.xtext.linking.lazy.LazyLinkingResource.getEObject(LazyLinkingResource.java:211)
at org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode$2.exec(AbstractOutlineNode.java:160)
at org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode$2.exec(AbstractOutlineNode.java:1)
at org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.readOnly(AbstractReadWriteAcces.java:32)
at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:78)
at org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode.readOnly(AbstractOutlineNode.java:158)
at org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode.getChildren(AbstractOutlineNode.java:77)
at org.eclipse.xtext.ui.editor.outline.actions.OutlineWithEditorLinker.findBestNode(OutlineWithEditorLinker.java:138)
at org.eclipse.xtext.ui.editor.outline.actions.OutlineWithEditorLinker.findBestNode(OutlineWithEditorLinker.java:139)
at org.eclipse.xtext.ui.editor.outline.actions.OutlineWithEditorLinker.findBestNode(OutlineWithEditorLinker.java:139)
at org.eclipse.xtext.ui.editor.outline.actions.OutlineWithEditorLinker.findBestNode(OutlineWithEditorLinker.java:139)
at org.eclipse.xtext.ui.editor.outline.actions.OutlineWithEditorLinker.findBestNode(OutlineWithEditorLinker.java:139)
at org.eclipse.xtext.ui.editor.outline.actions.OutlineWithEditorLinker.selectInTreeView(OutlineWithEditorLinker.java:127)
at org.eclipse.xtext.ui.editor.outline.actions.OutlineWithEditorLinker$TextListener.selectionChanged(OutlineWithEditorLinker.java:62)
at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2749)
at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2697)
at org.eclipse.jface.text.TextViewer$5.run(TextViewer.java:2676)
at org.eclipse.swt.widgets.Display.timerProc(Display.java:4154)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2276)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3207)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Original comment by hendry.m...@gmail.com
on 24 Jan 2012 at 7:52
Here's some detail of a session in which I was adding lyrics to a song, and a
hang occurred as I was typing the text (no commands, reserved words or brackets
involved in what I was typing):
!SESSION 2012-01-24 21:20:45.951 -----------------------------------------------
eclipse.buildId=M20110909-1335
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os linux -ws gtk -arch x86 -product
org.eclipse.epp.package.java.product
!ENTRY org.eclipse.epp.usagedata.recording 1 0 2012-01-24 21:21:35.953
!MESSAGE Usage data uploaded to http://udc.eclipse.org/upload.php in 4390
milliseconds.
!SESSION 2012-01-24 21:43:21.872 -----------------------------------------------
eclipse.buildId=M20110909-1335
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os linux -ws gtk -arch x86 -product
org.eclipse.epp.package.java.product
!ENTRY org.eclipse.core.resources 2 10035 2012-01-24 21:43:27.716
!MESSAGE The workspace exited with unsaved changes in the previous session;
refreshing workspace to recover changes.
Original comment by hendry.m...@gmail.com
on 24 Jan 2012 at 9:50
Thank you! The last thing I ask for is to attach a file during the editing of
which the hang(s) occurred.
Anyway, the stack trace has no Elysium-specific item in it, so it may
(possibly) indicate a bug in the used framework, Xtext. I recommend trying to
update it first using the update site
http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases
Original comment by harmathdenes
on 25 Jan 2012 at 11:31
On Wed, 2012-01-25 at 23:31 +0000, elysium.eclipselabs.org@codespot.com
wrote:
OK, I'll see if I can update Xtext - but the link above fails with a
"404" error.
Attached is the file I was working on at the time.
I was trying out a feature I hadn't used before - adding lyrics - and
you'll see I've tried the two different methods of forcing new-lines, as
recommended in the manual.
I eventually got so fed up with hangs when I was typing in the lyrics
that I completed the job by typing the lyrics into gVim and
copying-and-pasting them into the Eclipse editor.
Original comment by hendry.m...@gmail.com
on 26 Jan 2012 at 8:59
I understand it's a critical issue, I'm going to look into it soon.
Unfortunately I can't see any attachment, could you retry it?
You can't visit an update site with a web browser. You have to add it to the
Available Software Sites in Preferences and then Check for Updates afterwards.
Original comment by harmathdenes
on 26 Jan 2012 at 10:33
I'd responded by e-mail and attached the file in the usual way, but it seems to
have got lost in the process. I'm responding directly now, and will attach the
file that way.
Original comment by hendry.m...@gmail.com
on 26 Jan 2012 at 11:08
Attachments:
Thanks. So far, I can't reproduce the hang, but I'm trying hard. Meanwhile, as
a workaround, you can close the Outline view, I'm sure it causes the problem.
Original comment by harmathdenes
on 26 Jan 2012 at 11:17
PS I tried adding your update site to the list of Available Software Sites, but
nothing is found there.
I thought it might be best to try a clean install on a different computer, and
I'm trying to do this on my laptop. This is what I've done so far:
1. Download and install eclipse-SDK-3.7.1-linux-gtk.tar.gz. - Unpacked to
$HOME, so the executable is $HOME/eclipse/eclipse.
2. Use Ubuntu Software Centre to install LilyPond. DONE -
3. Eclipse needs a Java Runtime, so installed OpenJDK Java 7 Runtime using
Ubuntu Software Centre.
I'm now trying to find Elysium...
Original comment by hendry.m...@gmail.com
on 26 Jan 2012 at 11:22
I think you might be right about the Outline view, as "Refreshing Outline" (or
a similar message) flashes up from time to time when I'm typing and then
disappears afterwards, except when Eclipse hangs - it then remains on the
screen.
I'll give that a try, thanks.
Original comment by hendry.m...@gmail.com
on 26 Jan 2012 at 11:30
Having closed the Outline view, I typed in a paragraph of extra lyrics, with no
hang.
I then opened up the Outline view again, and still couldn't reproduce the hang
- weird!
I won't pursue the clean-install-on-the-laptop idea for the moment, and will
try some more .ly files with the Outline disabled.
I don't know what the time is where you are, but it's time I was in bed!
Thanks for your help.
Original comment by hendry.m...@gmail.com
on 26 Jan 2012 at 11:56
This is all very strange - I started Eclipse up again this morning, and opened
the file which was giving me so much trouble earlier in the week. The "Outline"
window was visible when I started it up, and I decided to leave it open and try
to cause a hang.
Despite extensive input and revision, including the deliberate introduction of
misspelled reserved words etc., I wasn't able to reproduce the problem.
I'll keep trying, and report back to you in due course.
Original comment by hendry.m...@gmail.com
on 27 Jan 2012 at 7:22
Your file might have contained a specific content which caused the problem,
which is now gone as you continued to edit it. I'm closing this issue for now,
please reopen if you've got a file which deterministically causes the hang
(please try to minimize its size).
Original comment by harmathdenes
on 29 Jan 2012 at 5:52
I've been doing a lot of tidying up of the file I sent you, without causing the
hangs I was complaining about. As usually happens, I became over-confident, and
stopped saving the file as frequently as before, and it started hanging again,
but much less frequently than before.
Nonetheless, I'm content with the situation, and will get back in touch if I
should happen to stumble on a way of getting it to hang consistently.
Many thanks.
Original comment by hendry.m...@gmail.com
on 29 Jan 2012 at 6:13
Original issue reported on code.google.com by
hendry.m...@gmail.com
on 21 Jan 2012 at 9:14