Bug 577674 - Handler conflicts in the GitHistoryView
Summary: Handler conflicts in the GitHistoryView
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 5.13   Edit
Hardware: PC Windows 10
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-07 11:03 EST by Akhmad Sadullaev CLA
Modified: 2021-12-07 11:54 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Akhmad Sadullaev CLA 2021-12-07 11:03:36 EST
Requirements:

1. Installed Eclipse 09-2021
1. Package Explorer
2. Git Repositories
3. History, linked to the git repository

To reproduce the problem, please repeat the following until the conflict is seen:

1. Start Eclipse.
2. Right-click on some file from the project explorer view and choose "Team" -> "Show in History".
3. The History view will be focused at the beginning. But after that, the Error log displays the following two messages: 

java.lang.IllegalStateException: Conflicting handlers: {[ActionHandler(RetargetAction(selectAll)),  for 'org.eclipse.ui.edit.selectAll',  in TrimmedWindowImpl (IDEWindow) Context, activeWhen=AndExpression [children=[ActiveShellExpression(Shell {Rimp}), WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@28989415)]], active=true, sourcePriority=17408, participating=true]} vs {[ActionHandler(org.eclipse.egit.ui.internal.ActionUtils$1@3d339541),  for 'org.eclipse.ui.edit.selectAll',  in WorkbenchContext, activeWhen=ActiveShellExpression(Shell {Rimp}), active=true, sourcePriority=17408, participating=true]} in: PartImpl (org.eclipse.team.ui.GenericHistoryView) 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:250)
	at org.eclipse.e4.core.internal.contexts.EclipseContext.get(EclipseContext.java:237)
        ...

java.lang.IllegalStateException: Conflicting handlers: {[ActionHandler(RetargetAction(copy)),  for 'org.eclipse.ui.edit.copy',  in TrimmedWindowImpl (IDEWindow) Context, activeWhen=AndExpression [children=[ActiveShellExpression(Shell {Rimp}), WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@28989415)]], active=true, sourcePriority=17408, participating=true]} vs {[ActionHandler(org.eclipse.egit.ui.internal.ActionUtils$1@268eefe7),  for 'org.eclipse.ui.edit.copy',  in WorkbenchContext, activeWhen=ActiveShellExpression(Shell {Rimp}), active=true, sourcePriority=17408, participating=true]} in: PartImpl (org.eclipse.team.ui.GenericHistoryView) 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:250)
	at org.eclipse.e4.core.internal.contexts.EclipseContext.get(EclipseContext.java:237)
        ...