eclipse.platform.ui
eclipse.platform.ui copied to clipboard
NPE in CommandProvider.getElements
probably during shutdown. logged in https://download.eclipse.org/eclipse/downloads/drops4/I20230827-1800/testresults/ep429I-unit-mac64-java17_macosx.cocoa.x86_64_17/org.eclipse.ui.tests.UiTestSuite.txt
----- testMenuOnlyHasShowViewAction
testMenuOnlyHasShowViewAction: setUp...
testMenuOnlyHasShowViewAction: tearDown...
!ENTRY org.eclipse.ui.workbench 4 0 2023-08-28 00:06:43.287
!MESSAGE An internal error has occurred.
!STACK 0
java.lang.NullPointerException: Cannot invoke "org.eclipse.ui.commands.ICommandService.getDefinedCommandIds()" because "commandService" is null
at org.eclipse.ui.internal.quickaccess.providers.CommandProvider.getElements(CommandProvider.java:83)
at org.eclipse.ui.internal.quickaccess.QuickAccessProvider.getElementsSorted(QuickAccessProvider.java:83)
at org.eclipse.ui.internal.quickaccess.QuickAccessContents$3.runInUIThread(QuickAccessContents.java:397)
at org.eclipse.ui.progress.UIJob.lambda$0(UIJob.java:148)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4368)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3991)
at org.eclipse.ui.tests.harness.util.UITestCase.processEvents(UITestCase.java:245)
at org.eclipse.ui.tests.harness.util.CloseTestWindowsRule.after(CloseTestWindowsRule.java:48)