[Menu] Conflicting Handler with Quick Formatting actions
When I install Papyrus with all other SimRel content into one IDE I get these errors in the log on startup: ![image](/uploads/2b55842e664085c06c7a87691948afb5/image.png) ``` eclipse.buildId=4.36.0.I20250507-1500 java.version=21.0.5 java.vendor=Eclipse Adoptium BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86_64 -data D:\Users\test39\oomph-master2\ws org.eclipse.ui Error Thu May 08 07:11:32 CEST 2025 Conflicting handlers for org.eclipse.papyrus.infra.ui.menu.commands.QuickFormattingSwitchSpace2UnderscoreCommand: {org.eclipse.papyrus.infra.nattable.modelexplorer.handlers.NattableQuickFormatHandler} vs {org.eclipse.papyrus.uml.modelexplorer.handler.UmlQuickFormatHandler} in: PartImpl (org.eclipse.ui.navigator.ProjectExplorer) Context java.lang.IllegalStateException: Conflicting handlers: {[org.eclipse.papyrus.infra.nattable.modelexplorer.handlers.NattableQuickFormatHandler, for 'org.eclipse.papyrus.infra.ui.menu.commands.QuickFormattingSwitchSpace2UnderscoreCommand', in WorkbenchContext, activeWhen=AndExpression [children=[WithExpression [variable=selection, children=[<test property="isNameChangeable" value="true" plug-in activation: lazy/>]]]], active=true, sourcePriority=1073741824, participating=true]} vs {[org.eclipse.papyrus.uml.modelexplorer.handler.UmlQuickFormatHandler, for 'org.eclipse.papyrus.infra.ui.menu.commands.QuickFormattingSwitchSpace2UnderscoreCommand', in WorkbenchContext, activeWhen=AndExpression [children=[WithExpression [variable=selection, children=[<test property="isNameChangeable" value="true" plug-in activation: lazy/>]]]], active=true, sourcePriority=1073741824, participating=true]} in: PartImpl (org.eclipse.ui.navigator.ProjectExplorer) Context at org.eclipse.ui.internal.handlers.LegacyHandlerService$HandlerSelectionFunction.compute(LegacyHandlerService.java:143) at org.eclipse.e4.core.internal.contexts.ValueComputation.get(ValueComputation.java:70) at org.eclipse.e4.core.internal.contexts.EclipseContext.internalGet(EclipseContext.java:265) at org.eclipse.e4.core.internal.contexts.EclipseContext.internalGet(EclipseContext.java:276) at org.eclipse.e4.core.internal.contexts.EclipseContext.internalGet(EclipseContext.java:276) at org.eclipse.e4.core.internal.contexts.EclipseContext.internalGet(EclipseContext.java:276) at org.eclipse.e4.core.internal.contexts.EclipseContext.get(EclipseContext.java:230) at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.lookUpHandler(HandlerServiceImpl.java:99) at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.setEnabled(HandlerServiceHandler.java:81) at org.eclipse.core.commands.Command.setEnabled(Command.java:856) at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.canExecute(HandlerServiceImpl.java:170) at org.eclipse.ui.internal.quickaccess.providers.CommandProvider.retrieveCommand(CommandProvider.java:143) at org.eclipse.ui.internal.quickaccess.providers.CommandProvider.getElements(CommandProvider.java:105) at org.eclipse.ui.internal.quickaccess.QuickAccessProvider.getElementsSorted(QuickAccessProvider.java:83) at org.eclipse.ui.internal.quickaccess.QuickAccessContents$3.runInUIThread(QuickAccessContents.java:394) 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:4111) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3727) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1042) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:678) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:583) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:185) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:219) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:149) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:115) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:467) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:298) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:627) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1431) ``` It looks like it's conflicting with the project explorer so likely you expect these to be applicable only in some special perspective and should configure it that way.
issue

Copyright © Eclipse Foundation AISBL. All rights reserved.     Privacy Policy | Terms of Use | Copyright Agent