Project

General

Profile

Actions

Bug #11934

open

Ошибка "Conflicting handlers for com.unitesk.requality.commands.CreateNode"

Added by Viktoria Kopach about 2 years ago. Updated about 2 years ago.

Status:
Verified
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
09/29/2022
Due date:
% Done:

100%

Estimated time:
Detected in build:
1.4.726
Platform:
Windows x64
Published in build:
1.4.733

Description

В Error log возникают сообщения об ошибке. Например, случается при переименовании узла, при клике правой кнопкой на узлах дерева требований.

eclipse.buildId=4.24.0.I20220607-0700
java.version=11.0.11
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=ru_RU
Framework arguments:  -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective

org.eclipse.ui
Error
Thu Sep 29 15:58:28 MSK 2022
Conflicting handlers for com.unitesk.requality.commands.CreateNode: {com.unitesk.requality.eclipse.handlers.create.CreateRequirementHandler} vs {com.unitesk.requality.eclipse.handlers.create.CreateTextNodeHandler} in: PartImpl (com.unitesk.requality.views.RequalityExplorer) Context

java.lang.IllegalStateException: Conflicting handlers: {[com.unitesk.requality.eclipse.handlers.create.CreateRequirementHandler,  for 'com.unitesk.requality.commands.CreateNode',  in WorkbenchContext, activeWhen=WithExpression [variable=selection, children=[AndExpression [children=[IterateExpression [type=AND, children=[<instanceof value="com.unitesk.requality.nodetype.Requirement"/>]], CountExpression [ size=1, mode: 4 EXACT]]]]], active=true, sourcePriority=1073741824, participating=true]} vs {[com.unitesk.requality.eclipse.handlers.create.CreateTextNodeHandler,  for 'com.unitesk.requality.commands.CreateNode',  in WorkbenchContext, activeWhen=WithExpression [variable=selection, children=[AndExpression [children=[IterateExpression [type=AND, children=[OrExpression [children=[<instanceof value="com.unitesk.requality.nodetype.Requirement"/>, <instanceof value="com.unitesk.requality.nodetype.TextNode"/>]]]], CountExpression [ size=1, mode: 4 EXACT]]]]], active=true, sourcePriority=1073741824, participating=true]} in: PartImpl (com.unitesk.requality.views.RequalityExplorer) Context
    at org.eclipse.ui.internal.handlers.LegacyHandlerService$HandlerSelectionFunction.compute(LegacyHandlerService.java:145)
    at org.eclipse.e4.core.internal.contexts.ValueComputation.get(ValueComputation.java:70)
    at org.eclipse.e4.core.internal.contexts.EclipseContext.internalGet(EclipseContext.java:241)
    at org.eclipse.e4.core.internal.contexts.EclipseContext.get(EclipseContext.java:228)
    at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.lookUpHandler(HandlerServiceImpl.java:103)
    at org.eclipse.ui.internal.handlers.E4HandlerProxy.handlerChanged(E4HandlerProxy.java:114)
    at org.eclipse.core.commands.AbstractHandler.fireHandlerChanged(AbstractHandler.java:77)
    at org.eclipse.ui.internal.handlers.HandlerProxy.lambda$0(HandlerProxy.java:248)
    at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:119)
    at org.eclipse.ui.internal.services.EvaluationReference.changed(EvaluationReference.java:103)
    at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:105)
    at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:356)
    at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:372)
    at org.eclipse.ui.internal.services.EvaluationService$1.changed(EvaluationService.java:79)
    at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:105)
    at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:356)
    at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:372)
    at org.eclipse.ui.internal.e4.compatibility.SelectionService.updateSelection(SelectionService.java:156)
    at org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partActivated(WorkbenchPage.java:210)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$2.run(PartServiceImpl.java:250)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartActivated(PartServiceImpl.java:247)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:771)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:680)
    at org.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer.activate(AbstractPartRenderer.java:97)
    at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.lambda$0(ContributedPartRenderer.java:63)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4251)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1090)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1075)
    at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1532)
    at org.eclipse.swt.widgets.Shell.WM_MOUSEACTIVATE(Shell.java:2462)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4790)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340)
    at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1480)
    at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2286)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:5034)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(Native Method)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:91)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4847)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:5034)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(Native Method)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:91)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4847)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:5034)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(Native Method)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:91)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4847)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:5034)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(Native Method)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:91)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4847)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:5034)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(Native Method)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:91)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4847)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:5034)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(Native Method)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:91)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4847)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:5034)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(Native Method)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:91)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4847)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:5034)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(Native Method)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:91)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4847)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:5034)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(Native Method)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:91)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4847)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:5034)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(Native Method)
    at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1450)
    at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5960)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:5034)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(Native Method)
    at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1542)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4847)
    at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:6059)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:5034)
    at org.eclipse.swt.internal.win32.OS.PeekMessage(Native Method)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3640)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
    at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1467)

Actions #1

Updated by Denis Kildishev about 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Published in build set to 1.4.733
Actions #2

Updated by Viktoria Kopach about 2 years ago

  • Status changed from Resolved to Verified
Actions

Also available in: Atom PDF