facebook

NPE after woking a while

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

    aposso
    Member

    Hi!

    After working a while myeclipse will show an popup, reporting a NPE has occurred. The popup will be shown on actions in the UI like changing editor tabs until myeclipse is restarted, which “solves” the problem until it appears again.
    Environment is MyEclipse Build id: 7.1.1-20090310 on KDE 4.2 on openSUSE 11.1.

    Thanks, regards!

    !ENTRY org.eclipse.ui.workbench 4 2 2009-06-02 10:32:07.840
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
    !STACK 0
    java.lang.NullPointerException
        at org.eclipse.jface.action.ToolBarManager.update(ToolBarManager.java:284)
        at org.eclipse.ui.internal.ViewPane.updateActionBars(ViewPane.java:449)
        at org.eclipse.ui.internal.ViewActionBars.updateActionBars(ViewActionBars.java:59)
        at org.eclipse.ui.part.PageBookView.showPageRec(PageBookView.java:981)
        at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:748)
        at org.eclipse.ui.views.properties.PropertySheet.partActivated(PropertySheet.java:190)
        at org.eclipse.ui.internal.PartListenerList$1.run(PartListenerList.java:72)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.runtime.Platform.run(Platform.java:880)
        at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
        at org.eclipse.ui.internal.PartListenerList.firePartActivated(PartListenerList.java:70)
        at org.eclipse.ui.internal.PartService.firePartActivated(PartService.java:186)
        at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:305)
        at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:56)
        at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:126)
        at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3491)
        at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:3034)
        at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:272)
        at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:236)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1163)
        at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1245)
        at org.eclipse.swt.widgets.Control.gtk_button_press_event(Control.java:2569)
        at org.eclipse.swt.widgets.Control.gtk_button_press_event(Control.java:2505)
        at org.eclipse.swt.widgets.Composite.gtk_button_press_event(Composite.java:649)
        at org.eclipse.swt.widgets.ToolItem.gtk_button_press_event(ToolItem.java:486)
        at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1531)
        at org.eclipse.swt.widgets.Display.windowProc(Display.java:4099)
        at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
        at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5792)
        at org.eclipse.swt.widgets.Display.eventProc(Display.java:1177)
        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:1550)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3031)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
        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:386)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        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.equinox.launcher.Main.invokeFramework(Main.java:549)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
    
    #298953 Reply

    Loyal Water
    Member

    Hi,
    It seems like your workspace could be corrupt. Have you tried using the -clean command to fix this issue?
    https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/

    Could you also check if the problem persists in a new workspace as well.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: NPE after woking a while

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