- This topic has 4 replies, 3 voices, and was last updated 18 years, 7 months ago by b3rntsen.
-
AuthorPosts
-
b3rntsenMemberAfter having installed myeclipse (several months ago), I have started experience eclipse ‘going dead’ on me. It happens doing random tasks. The latest example happened when I in the Ant view right clicked on an entry and opted: open in ant editor. Eclipse went haywire and I had to kill the java task.
I have tried to search in forums for stuff like 100%cpu as that is my best description, but I have not found anything really matching my symptoms. A collegue of mine have the same problems. It happens approximately once per day, I will try and update this post with what I do when I experience the problem. The best solution at this point is to always have a windows task manager open, ready to nuke the haywire java process.
If you have encountered similar problems in the forums, I would appreciate any hints. I appreciate that this might not be a myeclipse problem, but my feeling is that it is since eclipse never was that unstable on me before.
Cheers,
/\/The only thing I have in the log is:
!ENTRY org.eclipse.ant.ui 4 120 2006-03-27 11:11:04.461 !MESSAGE Error logged from Ant UI: !STACK 0 org.eclipse.jface.text.BadLocationException at org.eclipse.jface.text.AbstractLineTracker.getLineDelimiter(AbstractLineTracker.java:350) at org.eclipse.jface.text.AbstractDocument.getLineDelimiter(AbstractDocument.java:807) at org.eclipse.ant.internal.ui.model.AntModel.getLastCharColumn(AntModel.java:1037) at org.eclipse.ant.internal.ui.model.AntModel.computeOffsetUsingPrefix(AntModel.java:1008) at org.eclipse.ant.internal.ui.model.AntModel.computeOffset(AntModel.java:997) at org.eclipse.ant.internal.ui.model.AntModel.addComment(AntModel.java:1436) at org.eclipse.ant.internal.ui.editor.utils.ProjectHelper$LexHandler.comment(ProjectHelper.java:475) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.comment(Unknown Source) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.comment(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanComment(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at org.eclipse.ant.internal.ui.editor.utils.ProjectHelper.parse(ProjectHelper.java:568) at org.eclipse.ant.internal.ui.editor.utils.ProjectHelper.parse(ProjectHelper.java:642) at org.eclipse.ant.internal.ui.model.AntModel.parseDocument(AntModel.java:312) at org.eclipse.ant.internal.ui.model.AntModel.reconcile(AntModel.java:260) at org.eclipse.ant.internal.ui.model.AntModel.getProjectNode(AntModel.java:1378) at org.eclipse.ant.internal.ui.model.AntModel.getProjectNode(AntModel.java:1388) at org.eclipse.ant.internal.ui.editor.text.AntFoldingStructureProvider.updateFoldingRegions(AntFoldingStructureProvider.java:88) at org.eclipse.ant.internal.ui.editor.AntEditor.projectionEnabled(AntEditor.java:1355) at org.eclipse.jface.text.source.projection.ProjectionViewer.fireProjectionEnabled(ProjectionViewer.java:480) at org.eclipse.jface.text.source.projection.ProjectionViewer.enableProjection(ProjectionViewer.java:528) at org.eclipse.jface.text.source.projection.ProjectionViewer.doOperation(ProjectionViewer.java:1418) at org.eclipse.ant.internal.ui.editor.AntEditor$StatusLineSourceViewer.doOperation(AntEditor.java:301) at org.eclipse.ant.internal.ui.editor.AntEditor.createPartControl(AntEditor.java:1096) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:609) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:223) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2362) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2295) at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2287) at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2273) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2268) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2241) at org.eclipse.ant.internal.ui.AntUtil.openInEditor(AntUtil.java:652) at org.eclipse.ant.internal.ui.views.actions.AntOpenWithMenu.openEditor(AntOpenWithMenu.java:246) at org.eclipse.ant.internal.ui.views.actions.AntOpenWithMenu.access$0(AntOpenWithMenu.java:245) at org.eclipse.ant.internal.ui.views.actions.AntOpenWithMenu$1.handleEvent(AntOpenWithMenu.java:159) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) 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.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948)
My myeclipse configuration summary is:
*** Date: Mon Mar 27 11:35:48 CEST 2006 *** System properties: OS=WindowsXP OS version=5.1 Java version=1.5.0_05 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 4.1.1 GA Build id: 20060228-4.1.1-GA *** Eclipse details: Eclipse SDK Version: 3.1.2 Build id: M20060118-1600 Eclipse Platform Version: 3.1.2 Build id: M20060118-1600 Eclipse Java Development Tools Version: 3.1.2 Build id: M20060118-1600 Eclipse Project SDK Version: 3.1.2 Build id: M20060118-1600 Eclipse RCP Version: 3.1.2 Build id: M20060118-1600 Eclipse Plug-in Development Environment Version: 3.1.2 Build id: M20060118-1600 Eclipse startup command=-os win32 -ws win32 -arch x86 -launcher C:\eclipse\eclipse-SDK-3.1.2\eclipse\eclipse.exe -name Eclipse -showsplash 600 -exitdata aa4_60 -vm C:\WINDOWS\system32\javaw.exe
Riyad KallaMemberYour setup looks good. Try following this tip: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10087.html
It’s possible that Eclipse could be spinning into a GC cycle and pegging your CPU, or just running out of memory could cause it to go nuts. ALso try restarting using the -clean command line argument to recreate your plugin cache incase that is invalid and causing plugins to die.
b3rntsenMember@support-rkalla wrote:
Your setup looks good. Try following this tip: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10087.html
It’s possible that Eclipse could be spinning into a GC cycle and pegging your CPU, or just running out of memory could cause it to go nuts. ALso try restarting using the -clean command line argument to recreate your plugin cache incase that is invalid and causing plugins to die.
I was not aware of the last set of vm options, I am trying it out. I will return with info on the resutlts.
Thanks for now,
/\/
macinsmithMemberI’ve had the same problem on MacOS X with eclipse. I think it’s got some haywire task or just going off into the weeds. I find that it happens more often when I mouse ahead. If you change some code, it seems to help to let he autocompile finish before clicking on the red x to reveal the context of an error. There are other times when just scrolling seems to cause it to hang. I’ve reported this on the Eclipse forum, but no one at Eclipse has acknowledged that they can repeat it.
b3rntsenMember@b3rntsen wrote:
@support-rkalla wrote:
Your setup looks good. Try following this tip: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10087.html
It’s possible that Eclipse could be spinning into a GC cycle and pegging your CPU, or just running out of memory could cause it to go nuts. ALso try restarting using the -clean command line argument to recreate your plugin cache incase that is invalid and causing plugins to die.
I was not aware of the last set of vm options, I am trying it out. I will return with info on the resutlts.
Thanks for now,
/\/I have not crashed a single time since following the advice in the link above. Thanks a lot!!
/\/
-
AuthorPosts