Community
Participate
Working Groups
Build: 20100531 - Started up this build in an existing workspace (deleted delta.xml first) - Open synchronizing perspective - Tried clicking in the Synchronize view, got a dialog about an NPE - Attempting to close the error dialog resulted in another NPE and the error dialog returning - Had to kill the process to get out of the loop I will attach the full log, but here is a snippet: java.lang.NullPointerException at org.eclipse.e4.workbench.ui.internal.ModelServiceImpl.match(ModelServiceImpl.java:55) at org.eclipse.e4.workbench.ui.internal.ModelServiceImpl.findElementsRecursive(ModelServiceImpl.java:75) at org.eclipse.e4.workbench.ui.internal.ModelServiceImpl.findElements(ModelServiceImpl.java:126) at org.eclipse.e4.workbench.ui.internal.ModelServiceImpl.find(ModelServiceImpl.java:140) at org.eclipse.e4.workbench.ui.internal.PartServiceImpl.isInContainer(PartServiceImpl.java:321) at org.eclipse.e4.workbench.ui.internal.PartServiceImpl.activate(PartServiceImpl.java:352)
Created attachment 170673 [details] Error log
Possibly fixed by bug 314896 though the steps are different. I'll retry John's steps later.
I was using I20100603-2148 and it suddenly started issuing NPEs. bash-3.2$ java.lang.NullPointerException at org.eclipse.e4.workbench.ui.internal.ModelServiceImpl.match(ModelServiceImpl.java:61) at org.eclipse.e4.workbench.ui.internal.ModelServiceImpl.findElementsRecursive(ModelServiceImpl.java:81) at org.eclipse.e4.workbench.ui.internal.ModelServiceImpl.findElements(ModelServiceImpl.java:132) at org.eclipse.e4.workbench.ui.internal.ModelServiceImpl.find(ModelServiceImpl.java:146) at org.eclipse.e4.workbench.ui.internal.PartServiceImpl.isInContainer(PartServiceImpl.java:322) at org.eclipse.e4.workbench.ui.internal.PartServiceImpl.activate(PartServiceImpl.java:353) at org.eclipse.e4.ui.workbench.swt.internal.AbstractPartRenderer.activate(AbstractPartRenderer.java:105) at org.eclipse.e4.workbench.ui.renderers.swt.ContributedPartRenderer$1.handleEvent(ContributedPartRenderer.java:74) Now switching tabs (to Search or Problems): 2010-06-04 08:52:27.161 Log ErrorException while dispatching event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/Context/context/SET] to handler org.eclipse.e4.ui.services.internal.events.UIEventHandler@3ac33ac3 java.lang.NullPointerException at org.eclipse.e4.workbench.ui.internal.SelectionServiceImpl.isInContainer(SelectionServiceImpl.java:178) at org.eclipse.e4.workbench.ui.internal.SelectionServiceImpl.isInContainer(SelectionServiceImpl.java:174) at org.eclipse.e4.workbench.ui.internal.SelectionServiceImpl.access$0(SelectionServiceImpl.java:173) at org.eclipse.e4.workbench.ui.internal.SelectionServiceImpl$1.handleEvent(SelectionServiceImpl.java:64)
This is an indication that some (view's?) context has become 'orphaned' (i.e. its EPartService has a 'rootContainer' == null). I've been running with a breakpoint set on 'setRootContainer' (when 'root' == null) but since I've set it I haven't seen it fire (of course...;-).
BTW, just tried John's scenario and it seems to work on my box.
1. Minimize the 'Package Explorer'. 2. Select it in the trim so that it's "restored". 3. Select the view's menu > Filters 4. Close the dialog. 5. NPEs ensue. This is probably due to context parenting issues. !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at org.eclipse.e4.workbench.ui.internal.ModelServiceImpl.match(ModelServiceImpl.java:61) at org.eclipse.e4.workbench.ui.internal.ModelServiceImpl.findElementsRecursive(ModelServiceImpl.java:81) at org.eclipse.e4.workbench.ui.internal.ModelServiceImpl.findElements(ModelServiceImpl.java:132) at org.eclipse.e4.workbench.ui.internal.ModelServiceImpl.find(ModelServiceImpl.java:146) at org.eclipse.e4.workbench.ui.internal.PartServiceImpl.isInContainer(PartServiceImpl.java:322) at org.eclipse.e4.workbench.ui.internal.PartServiceImpl.activate(PartServiceImpl.java:353) at org.eclipse.e4.ui.workbench.swt.internal.AbstractPartRenderer.activate(AbstractPartRenderer.java:105) at org.eclipse.e4.workbench.ui.renderers.swt.ContributedPartRenderer$1.handleEvent(ContributedPartRenderer.java:74) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1076) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057) at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1424) at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:2631) at org.eclipse.swt.widgets.Widget.wmSetFocus(Widget.java:2401) at org.eclipse.swt.widgets.Control.WM_SETFOCUS(Control.java:4791) at org.eclipse.swt.widgets.Tree.WM_SETFOCUS(Tree.java:6907) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4228) at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5844) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4886) at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method) at org.eclipse.swt.widgets.Control.forceFocus(Control.java:994) at org.eclipse.swt.widgets.Control.setSavedFocus(Control.java:3268) at org.eclipse.swt.widgets.Decorations.restoreFocus(Decorations.java:821) at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1639) at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2114) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4156) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1598) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2038) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873) at org.eclipse.swt.internal.win32.OS.DestroyWindow(Native Method) at org.eclipse.swt.widgets.Control.destroyWidget(Control.java:683) at org.eclipse.swt.widgets.Shell.destroyWidget(Shell.java:697) at org.eclipse.swt.widgets.Widget.release(Widget.java:817) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:445) at org.eclipse.swt.widgets.Decorations.dispose(Decorations.java:447) at org.eclipse.swt.widgets.Shell.dispose(Shell.java:714) at org.eclipse.jface.window.Window.close(Window.java:335) at org.eclipse.jface.dialogs.Dialog.close(Dialog.java:979) at org.eclipse.jface.dialogs.TrayDialog.close(TrayDialog.java:179) at org.eclipse.jface.dialogs.Dialog.cancelPressed(Dialog.java:488) at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:474) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.jdt.ui.actions.CustomFiltersActionGroup.openDialog(CustomFiltersActionGroup.java:761) at org.eclipse.jdt.ui.actions.CustomFiltersActionGroup.access$0(CustomFiltersActionGroup.java:753) at org.eclipse.jdt.ui.actions.CustomFiltersActionGroup$ShowFilterDialogAction.run(CustomFiltersActionGroup.java:84) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.e4.workbench.ui.renderers.swt.StackRenderer.showMenu(StackRenderer.java:607) at org.eclipse.e4.workbench.ui.renderers.swt.StackRenderer$6.widgetSelected(StackRenderer.java:580)
Beauty, thanks Remy. This does indeed fire off my BP in the PartService's 'setRootContainer()'...on 4 different instances of the EPartService !!
(In reply to comment #6) > 1. Minimize the 'Package Explorer'. > 2. Select it in the trim so that it's "restored". > 3. Select the view's menu > Filters > 4. Close the dialog. > 5. NPEs ensue. This particular scenario has been fixed.
I got this error again today using I20100602-2136 Steps: 1) Preferences > General > Editors > File Associations 2) Added file type "*.inf", associated with internal "Text Editor" 3) Clicked ok. -> Errors, and then more errors when I try to close the error dialog. Had to kill the workbench to get out of it. The stack looks similar to earlier: !ENTRY org.eclipse.e4.ui.workbench 4 0 2010-06-07 11:32:47.781 !MESSAGE Internal Error !STACK 0 java.lang.NullPointerException at org.eclipse.e4.workbench.ui.internal.ModelServiceImpl.match(ModelServiceImpl.java:55) at org.eclipse.e4.workbench.ui.internal.ModelServiceImpl.findElementsRecursive(ModelServiceImpl.java:75) at org.eclipse.e4.workbench.ui.internal.ModelServiceImpl.findElements(ModelServiceImpl.java:126) at org.eclipse.e4.workbench.ui.internal.ModelServiceImpl.find(ModelServiceImpl.java:140) at org.eclipse.e4.workbench.ui.internal.PartServiceImpl.isInContainer(PartServiceImpl.java:321) at org.eclipse.e4.workbench.ui.internal.PartServiceImpl.activate(PartServiceImpl.java:352)
Created attachment 171290 [details] Error log running on 20100603
(In reply to comment #9) > 1) Preferences > General > Editors > File Associations > 2) Added file type "*.inf", associated with internal "Text Editor" > 3) Clicked ok. Unfortunately, I cannot reproduce this in my outer or my inner using I20100603-2148.
Just got this after clicking OK to add a new target platform bash-3.2$ java.lang.NullPointerException at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.match(ModelServiceImpl.java:61) at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.findElementsRecursive(ModelServiceImpl.java:81) at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.findElements(ModelServiceImpl.java:132) at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.find(ModelServiceImpl.java:146) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.isInContainer(PartServiceImpl.java:322) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:353) at org.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer.activate(AbstractPartRenderer.java:105) at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer$1.handleEvent(ContributedPartRenderer.java:74) Now my eclipse will repaint, but is totally non-responsive PW
Turns out it close the preferences dialog but managed to eat the Close/Dispose event, so the modal dialog.open() never returned but kept spinning the event loop. switching desktops a couple of times brought it back from the modal lock. PW
Ouch! any idea how common this type of thing is going to be ?
I've had a similar problem (non-reproducible) by using 3.x's new plug-in wizard. At the end of the wizard processing, it displays perspective switch dialog. In my case the perspective switch dialog was obscured by the wizard and made an impression of Eclipse being stuck. The dialog got on top after I switched to a different application and back to Eclipse. (This is on WinXP.)
Created attachment 172362 [details] Error log from 4.0 RC0 This still happens to me almost every day. This time I opened the "Replace With > History..." dialog, and then immediately closed it by pressing Esc. I am attaching the log because the line numbers seem different.
Increasing severity because the process has to be killed when this happens so it is equivalent to a crash.
Created attachment 172364 [details] Possible workaround Would it be reasonable to put in a workaround like this so that the process doesn't have to be killed when this happens? Is there any more information that could be printed to help track it down?
bug 317464 might be a dup of this. PW
Comment on attachment 172364 [details] Possible workaround I have changed the code to ask the application's contxt for its active child context (presumably a window's context) if the context function calculates a 'null'. A trace will be logged before the function returns.
Also see bug 317462 comment 2.
I got this while restarting 4.0 SDK I20100625-0821. It killed the model cleanup (but not the save :-) and now I have 2 copies of the main toolbar. eclipse.buildId=I20100625-0821 java.fullversion=JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr8-20100401_55940 (JIT enabled, AOT enabled) J9VM - 20100401_055940 JIT - r9_20100401_15339 GC - 20100308_AA BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86 -data /opt/pwebster/workspaces/e4 Error Fri Jun 25 16:10:31 EDT 2010 Internal error, please post the trace to bug 315270 java.lang.Exception at org.eclipse.e4.ui.internal.workbench.swt.E4Application$2.log(E4Application.java:331) at org.eclipse.e4.ui.internal.workbench.swt.E4Application$2.compute(E4Application.java:378) at org.eclipse.e4.core.internal.contexts.ValueComputation.get(ValueComputation.java:122) at org.eclipse.e4.core.internal.contexts.EclipseContext.internalGet(EclipseContext.java:248) at org.eclipse.e4.core.internal.contexts.EclipseContext.get(EclipseContext.java:209) at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier.get(ContextObjectSupplier.java:150) at org.eclipse.e4.core.internal.di.InjectorImpl.resolveArgs(InjectorImpl.java:373) at org.eclipse.e4.core.internal.di.InjectorImpl.resolveRequestorArgs(InjectorImpl.java:316) at org.eclipse.e4.core.internal.di.InjectorImpl.resolveArguments(InjectorImpl.java:290) at org.eclipse.e4.core.internal.di.Requestor.resolveArguments(Requestor.java:106) at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:44) at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:87) at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:334) at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:351) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.clearContext(PartRenderingEngine.java:547) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:504) at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1379) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:1080) at org.eclipse.ui.internal.WorkbenchWindow.access$3(WorkbenchWindow.java:1059) at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:1106) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1104) at org.eclipse.ui.internal.Workbench$13.run(Workbench.java:1019) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1013) at org.eclipse.ui.internal.Workbench.access$11(Workbench.java:947) at org.eclipse.ui.internal.Workbench$14.run(Workbench.java:1089) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.Workbench.close(Workbench.java:1087) at org.eclipse.ui.internal.Workbench.close(Workbench.java:1060) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:1077) at org.eclipse.ui.internal.WorkbenchWindow.access$3(WorkbenchWindow.java:1059) at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:1106) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1104) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1120) at org.eclipse.ui.internal.WorkbenchWindow$3.close(WorkbenchWindow.java:405) at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer$8.shellClosed(WBWRenderer.java:421) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:98) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267) at org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:616) at org.eclipse.swt.widgets.Shell.close(Shell.java:612) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.stop(PartRenderingEngine.java:714) at org.eclipse.ui.internal.Workbench.restart(Workbench.java:2193) at org.eclipse.ui.internal.handlers.RestartWorkbenchHandler.execute(RestartWorkbenchHandler.java:31) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293) at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:56) at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:600) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:42) at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:192) at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:169) at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:101) at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:135) at org.eclipse.e4.ui.workbench.renderers.swt.HandledMenuItemRenderer$2.widgetSelected(HandledMenuItemRenderer.java:164) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3552) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3171) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:662) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:581) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:102) at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:537) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:521) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) 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:369) 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:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:600) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
(In reply to comment #6) I can see why we'd get a null root container here though it's not clear to me why shutdown would fail.
I get this multiple times on 4.0 SDK:I20100627-1659 !ENTRY org.eclipse.e4.ui.workbench 4 0 2010-06-28 08:05:01.258 !MESSAGE Internal error, please post the trace to bug 315270 !STACK 0 java.lang.Exception at org.eclipse.e4.ui.internal.workbench.swt.E4Application$2.log(E4Application.java:365) at org.eclipse.e4.ui.internal.workbench.swt.E4Application$2.compute(E4Application.java:412) at org.eclipse.e4.core.internal.contexts.ValueComputation.get(ValueComputation.java:122) at org.eclipse.e4.core.internal.contexts.EclipseContext.internalGet(EclipseContext.java:248) at org.eclipse.e4.core.internal.contexts.EclipseContext.internalGet(EclipseContext.java:256) at org.eclipse.e4.core.internal.contexts.EclipseContext.internalGet(EclipseContext.java:256) at org.eclipse.e4.core.internal.contexts.EclipseContext.internalGet(EclipseContext.java:256) at org.eclipse.e4.core.internal.contexts.EclipseContext.get(EclipseContext.java:209) at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier.get(ContextObjectSupplier.java:150) at org.eclipse.e4.core.internal.di.InjectorImpl.resolveArgs(InjectorImpl.java:373) at org.eclipse.e4.core.internal.di.InjectorImpl.resolveRequestorArgs(InjectorImpl.java:316) at org.eclipse.e4.core.internal.di.InjectorImpl.resolveArguments(InjectorImpl.java:290) at org.eclipse.e4.core.internal.di.Requestor.resolveArguments(Requestor.java:106) at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:71) at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:87) at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:334) at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:351) at org.eclipse.e4.ui.internal.workbench.swt.ShellActivationListener$1.run(ShellActivationListener.java:92) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.e4.ui.internal.workbench.swt.ShellActivationListener.activate(ShellActivationListener.java:90) at org.eclipse.e4.ui.internal.workbench.swt.ShellActivationListener.handleEvent(ShellActivationListener.java:77) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1525) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1257) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1263) at org.eclipse.swt.widgets.Shell.filterProc(Shell.java:730) at org.eclipse.swt.widgets.Display.filterProc(Display.java:1537) 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:2224) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3169) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211) at org.eclipse.ui.internal.handlers.ShowPreferencePageHandler.execute(ShowPreferencePageHandler.java:54) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293) at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:600) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:42) at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:192) at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:169) at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:101) at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:135) at org.eclipse.e4.ui.workbench.renderers.swt.HandledMenuItemRenderer$2.widgetSelected(HandledMenuItemRenderer.java:164) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3552) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3171) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:658) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:579) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:102) at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:537) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:521) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) 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:369) 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:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:600) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
(In reply to comment #22) > I got this while restarting 4.0 SDK I20100625-0821. It killed the model > cleanup (but not the save :-) and now I have 2 copies of the main toolbar. I've altered the teardown so this should hopefully not happen anymore.
Created attachment 173137 [details] Error log from I20100628-2215 There are several entries in today's log while running I20100628-2215 that say, "Internal error, please post the trace to bug 315270". So, here you go.
I have many of those in the my inner as well. 1. Open the New Class-Wizard 2. Hit Browse on the Package 3. Select a Package and press ok => Exceptions are in the log
The purpose of ShellActivationListener is a mystery to me. Who can explain it to me? (On Monday in the office?)
a rather strange effect is that when openeing a dialog the ToolBar is changing in the main window!
(In reply to comment #29) > a rather strange effect is that when openeing a dialog the ToolBar is changing > in the main window! That's bug 318711.
This was on a restart of I20100701-1105 null Error Mon Jul 05 12:51:55 EDT 2010 Internal error, please post the trace to bug 315270 java.lang.Exception at org.eclipse.e4.ui.internal.workbench.swt.E4Application$2.log(E4Application.java:369) at org.eclipse.e4.ui.internal.workbench.swt.E4Application$2.compute(E4Application.java:416) at org.eclipse.e4.core.internal.contexts.ValueComputation.get(ValueComputation.java:122) at org.eclipse.e4.core.internal.contexts.EclipseContext.internalGet(EclipseContext.java:248) at org.eclipse.e4.core.internal.contexts.EclipseContext.get(EclipseContext.java:209) at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier.get(ContextObjectSupplier.java:149) at org.eclipse.e4.core.internal.di.InjectorImpl.resolveArgs(InjectorImpl.java:374) at org.eclipse.e4.core.internal.di.InjectorImpl.resolveRequestorArgs(InjectorImpl.java:317) at org.eclipse.e4.core.internal.di.InjectorImpl.resolveArguments(InjectorImpl.java:291) at org.eclipse.e4.core.internal.di.Requestor.resolveArguments(Requestor.java:106) at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:44) at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:90) at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:334) at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:351) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.clearContext(PartRenderingEngine.java:555) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:512) at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1345) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:1046) at org.eclipse.ui.internal.WorkbenchWindow.access$8(WorkbenchWindow.java:1025) at org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:1072) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1070) at org.eclipse.ui.internal.Workbench$13.run(Workbench.java:1017) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1011) at org.eclipse.ui.internal.Workbench.access$11(Workbench.java:945) at org.eclipse.ui.internal.Workbench$14.run(Workbench.java:1087) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.Workbench.close(Workbench.java:1085) at org.eclipse.ui.internal.Workbench.close(Workbench.java:1058) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:1043) at org.eclipse.ui.internal.WorkbenchWindow.access$8(WorkbenchWindow.java:1025) at org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:1072) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1070) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1086) at org.eclipse.ui.internal.WorkbenchWindow$4.close(WorkbenchWindow.java:418) at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer$8.shellClosed(WBWRenderer.java:421) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:98) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java) at org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:616) at org.eclipse.swt.widgets.Shell.close(Shell.java:612) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.stop(PartRenderingEngine.java:716) at org.eclipse.ui.internal.Workbench.restart(Workbench.java:2181) at org.eclipse.ui.internal.handlers.RestartWorkbenchHandler.execute(RestartWorkbenchHandler.java:31) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293) at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:56) at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:600) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:42) at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:193) at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:170) at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:101) at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:135) at org.eclipse.e4.ui.workbench.renderers.swt.HandledMenuItemRenderer$1.widgetSelected(HandledMenuItemRenderer.java:150) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3552) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3171) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:664) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:589) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:103) at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:535) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:519) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) 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:369) 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:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:600) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Created attachment 173491 [details] Error log from I20100705-1022
Created attachment 173663 [details] Stack trace On a clean workspace: - Window -> New Window - In the second window select Outline - Close the second window by pressing "x" See the stack trace attached.
(In reply to comment #33) > On a clean workspace: > - Window -> New Window > - In the second window select Outline > - Close the second window by pressing "x" I am unable to reproduce this but Oleg can do so with ease. Eric, can you?
(In reply to comment #34) > (In reply to comment #33) > > On a clean workspace: > > - Window -> New Window > > - In the second window select Outline > > - Close the second window by pressing "x" > I am unable to reproduce this but Oleg can do so with ease. Eric, can you? Ops, turns out it was caused by the unapplied code change I made. The case it still very strange as the cause is asking part service for the active part, but that might wait for after the 1.0 release.
Created attachment 173674 [details] Patch that allows duplicating the problem Patch to duplicate problem in the comment 33. The only non-whitespace change there is: EPartService partService = appContext.get(EPartService.class); MPart previousActivePart = partService.getActivePart(); in the shell activation listener.
I think this bug can be dropped from the critical list: - the exception no longer happen in day-to-day use of the SDK - the consequences of the exception have been reduced to an entry in the log, the Eclipse instance remains usable The bug itself should be kept open for future references as the actual cause remains unclear, but it is no longer ciritcal and can be left for post-release.
(In reply to comment #37) > I think this bug can be dropped from the critical list: > > - the exception no longer happen in day-to-day use of the SDK > - the consequences of the exception have been reduced to an entry in the log, > the Eclipse instance remains usable > Sounds good to me. I crossed it off the p1 list with an explanation.
eclipse.buildId=I20100727-1520 java.version=1.6.0_20 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -keyring /Users/setho/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86_64 -keyring /Users/setho/.eclipse_keyring -showlocation Error Thu Jul 29 14:15:18 CEST 2010 Internal error, please post the trace to bug 315270 java.lang.Exception at org.eclipse.e4.ui.internal.workbench.swt.E4Application$2.log(E4Application.java:410) at org.eclipse.e4.ui.internal.workbench.swt.E4Application$2.compute(E4Application.java:468) at org.eclipse.e4.core.internal.contexts.ValueComputation.get(ValueComputation.java:122) at org.eclipse.e4.core.internal.contexts.EclipseContext.internalGet(EclipseContext.java:254) at org.eclipse.e4.core.internal.contexts.EclipseContext.get(EclipseContext.java:215) at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier.get(ContextObjectSupplier.java:148) at org.eclipse.e4.core.internal.di.InjectorImpl.resolveArgs(InjectorImpl.java:378) at org.eclipse.e4.core.internal.di.InjectorImpl.resolveRequestorArgs(InjectorImpl.java:333) at org.eclipse.e4.core.internal.di.InjectorImpl.resolveArguments(InjectorImpl.java:307) at org.eclipse.e4.core.internal.di.Requestor.resolveArguments(Requestor.java:108) at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:70) at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:90) at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:333) at org.eclipse.e4.core.internal.contexts.EclipseContext.setParent(EclipseContext.java:394) at org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer.createWidget(ElementReferenceRenderer.java:83) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:612) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:403) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:479) at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:511) at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:75) at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:41) at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:188) at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:198) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149) at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:139) at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78) at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39) at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:73) at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58) at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:380) at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:159) at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.postProcess(LazyStackRenderer.java:112) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:419) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:479) at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:58) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:415) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:479) at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:58) at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveRenderer.processContents(PerspectiveRenderer.java:59) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:415) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:479) at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveStackRenderer.showTab(PerspectiveStackRenderer.java:103) at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:75) at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:41) at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:188) at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:198) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149) at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:139) at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78) at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39) at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:73) at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58) at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:380) at org.eclipse.e4.ui.model.application.ui.advanced.impl.PerspectiveStackImpl.setSelectedElement(PerspectiveStackImpl.java:134) at org.eclipse.e4.ui.model.application.ui.advanced.impl.PerspectiveStackImpl.setSelectedElement(PerspectiveStackImpl.java:1) at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:2358) at org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard.replaceCurrentPerspective(BasicNewProjectResourceWizard.java:379) at org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard.updatePerspective(BasicNewProjectResourceWizard.java:528) at org.eclipse.pde.internal.ui.wizards.plugin.NewPluginProjectWizard.performFinish(NewPluginProjectWizard.java:111) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:815) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1187) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3622) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3277) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:117) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1187) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3622) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3277) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:713) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:633) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:106) at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:541) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:525) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) 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:369) 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:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Created attachment 175661 [details] Error log from I20100727-1520 As requested by someone messaged, attach my stacktrace log. session info is: eclipse.buildId=I20100727-1520 java.version=1.6.0_20 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86_64 -clean
Created attachment 272827 [details] Describes how to reproduce the error from an E4 application template
Created attachment 272828 [details] Error_log_1519311801917
I can reproduce the NPE in org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.<init>(ModelServiceImpl.java:122) by just creating and then running an Eclipse e4 application template a few times. For me it's typical 3 - 4 error hits of 10 launches. See attached file (Describes how to reproduce the error from an E4 application template). This file also specifies what system I'm running on. I've also attached an error log (Error_log_1519311801917.log).
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.