facebook

Eclipse frequently crashes

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #262363 Reply

    CraigPardey
    Member

    The attached error occurs frequently (several times a day) and results in an endless loop of “An error occured. See error log for details” dialog boxes. I have to kill Eclipse from the task manager and restart the app.

    My config is:
    – Eclipse 3.2.0 M20060629-1905
    – MyEclipse 5.0GA 20060805-5.0-GA
    – Windows 2000

    
    !ENTRY org.eclipse.jface 4 2 2006-11-21 10:52:18.643
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
    !STACK 0
    java.lang.NullPointerException
        at org.eclipse.jface.viewers.AbstractTreeViewer.getTreePathFromItem(AbstractTreeViewer.java:2544)
        at org.eclipse.jface.viewers.TreeViewer.doUpdateItem(TreeViewer.java:251)
        at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:95)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.runtime.Platform.run(Platform.java:843)
        at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
        at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
        at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:840)
        at org.eclipse.jdt.internal.ui.viewsupport.ProblemTreeViewer.doUpdateItem(ProblemTreeViewer.java:74)
        at org.eclipse.jdt.internal.ui.viewsupport.ResourceToItemsMapper.updateItem(ResourceToItemsMapper.java:74)
        at org.eclipse.jdt.internal.ui.viewsupport.ResourceToItemsMapper.resourceChanged(ResourceToItemsMapper.java:63)
        at org.eclipse.jdt.internal.ui.viewsupport.ProblemTreeViewer.handleLabelProviderChanged(ProblemTreeViewer.java:127)
        at org.eclipse.jface.viewers.ContentViewer$1.labelProviderChanged(ContentViewer.java:74)
        at org.eclipse.ui.internal.decorators.DecoratorManager$1.run(DecoratorManager.java:239)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.runtime.Platform.run(Platform.java:843)
        at org.eclipse.ui.internal.decorators.DecoratorManager.fireListener(DecoratorManager.java:237)
        at org.eclipse.ui.internal.decorators.DecorationScheduler$3.runInUIThread(DecorationScheduler.java:490)
        at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3325)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    
    #262370 Reply

    Riyad Kalla
    Member

    Craig,
    I don’t see MyEclipse in that stack trace, which makes me thing there might be something squirrelly going on with your install or workspace plugin cache.

    To get the stabalist (word?) install of MyEclipse at the moment is to use the All-In-One installer from our site for the 5.1 install (includes a pre-configured version of Eclipse 3.2.1, MyEclipse 5.1.0 and JDK 1.5.0_09 all ready to go). I would suggest installing that, then opening your existing workspace and continuing to work. You will need to re-add any 3rd party plugins you had though, but atleast you will be starting from a stable best-case install.

    #262487 Reply

    CraigPardey
    Member

    I upgraded this morning, and it just crashed again with the same stacktrace in the log file.

    
    !ENTRY org.eclipse.ui.workbench 4 2 2006-11-22 15:42:45.991
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
    !STACK 0
    java.lang.NullPointerException
        at org.eclipse.jface.viewers.AbstractTreeViewer.getSelection(AbstractTreeViewer.java:2577)
        at org.eclipse.ui.internal.AbstractSelectionService.getSelection(AbstractSelectionService.java:220)
        at org.eclipse.debug.internal.ui.stringsubstitution.SelectedResourceManager.windowActivated(SelectedResourceManager.java:80)
        at org.eclipse.ui.internal.Workbench$8.run(Workbench.java:606)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.ui.internal.Workbench.fireWindowActivated(Workbench.java:604)
        at org.eclipse.ui.internal.WorkbenchWindow$7.shellActivated(WorkbenchWindow.java:2683)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:164)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:933)
        at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1576)
        at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:1714)
        at org.eclipse.swt.widgets.Control.windowProc(Control.java:3244)
        at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1539)
        at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1634)
        at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025)
        at org.eclipse.swt.internal.win32.OS.PeekMessageW(Lorg.eclipse.swt.internal.win32.MSG;IIII)Z(Native Method)
        at org.eclipse.swt.internal.win32.OS.PeekMessage(OS.java:2389)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2963)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
        at org.eclipse.jface.window.Window.open(Window.java:796)
        at org.eclipse.jface.dialogs.MessageDialog.openError(MessageDialog.java:322)
        at org.eclipse.jface.util.SafeRunnable.handleException(SafeRunnable.java:60)
        at org.eclipse.core.runtime.SafeRunner.handleException(SafeRunner.java:68)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:39)
        at org.eclipse.ui.internal.Workbench.fireWindowActivated(Workbench.java:604)
        at org.eclipse.ui.internal.WorkbenchWindow$7.shellActivated(WorkbenchWindow.java:2683)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:164)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:933)
        at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1576)
    
    #262488 Reply

    Riyad Kalla
    Member

    Craig,
    Did you grab the All-In-One installer as I suggested, did you run the update manager, or did you download just the MyEclipse installer and install it ontop of your existing install?

    I really think there is something going on with your install given the stack trace you are pasting (problems with the core platform) and I would strongly encourage you to start with the All-In-One installer to a brand new directory first.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Eclipse frequently crashes

You must be logged in to post in the forum log in