Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Handler conflicts in the log file
Handler conflicts in the log file [message #496410] Mon, 09 November 2009 17:24 Go to next message
Eclipse UserFriend
Hi,
I noticed today (in my product) that a lot of commands were disabled at the wrong time. I eventually found a whole pile of conflict messages in the log. What could cause this? Here are the messages:

!ENTRY org.eclipse.ui.workbench 2 0 2009-11-09 17:12:38.390
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2009-11-09 17:12:38.390
!MESSAGE Conflict for 'org.eclipse.ui.navigate.goToResource':
HandlerActivation(commandId=org.eclipse.ui.navigate.goToReso urce,
handler=ActionHandler( org.eclipse.ui.internal.navigator.resources.actions.GotoReso urceAction @17fe679),
expression=AndExpression(AndExpression(org.eclipse.ui.SubAct ionBars$1@101a4f3,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@10bd3f1)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@17e7f88)),sourcePriority=1064961)
HandlerActivation(commandId=org.eclipse.ui.navigate.goToReso urce,
handler=ActionHandler( org.eclipse.ui.internal.navigator.resources.actions.GotoReso urceAction @17fe679),
expression=AndExpression(AndExpression(org.eclipse.ui.SubAct ionBars$1@101a4f3,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@10bd3f1)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@17e7f88)),sourcePriority=1064961)

!ENTRY org.eclipse.ui.workbench 2 0 2009-11-09 17:12:38.390
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2009-11-09 17:12:38.390
!MESSAGE Conflict for 'org.eclipse.ui.file.properties':
HandlerActivation(commandId=org.eclipse.ui.file.properties,
handler=ActionHandler(org.eclipse.ui.dialogs.PropertyDialogAction@11fe04d),
expression=AndExpression(AndExpression(org.eclipse.ui.SubAct ionBars$1@101a4f3,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@10bd3f1)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@17e7f88)),sourcePriority=1064961)
HandlerActivation(commandId=org.eclipse.ui.file.properties,
handler=ActionHandler(org.eclipse.ui.dialogs.PropertyDialogAction@11fe04d),
expression=AndExpression(AndExpression(org.eclipse.ui.SubAct ionBars$1@101a4f3,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@10bd3f1)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@17e7f88)),sourcePriority=1064961)

!ENTRY org.eclipse.ui.workbench 2 0 2009-11-09 17:12:38.422
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2009-11-09 17:12:38.422
!MESSAGE Conflict for 'org.eclipse.ui.edit.addBookmark':
HandlerActivation(commandId=org.eclipse.ui.edit.addBookmark,
handler=ActionHandler(org.eclipse.ui.actions.AddBookmarkAction@52c125),
expression=AndExpression(AndExpression(org.eclipse.ui.SubAct ionBars$1@101a4f3,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@10bd3f1)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@17e7f88)),sourcePriority=1064961)
HandlerActivation(commandId=org.eclipse.ui.edit.addBookmark,
handler=ActionHandler(org.eclipse.ui.actions.AddBookmarkAction@52c125),
expression=AndExpression(AndExpression(org.eclipse.ui.SubAct ionBars$1@101a4f3,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@10bd3f1)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@17e7f88)),sourcePriority=1064961)

!ENTRY org.eclipse.ui.workbench 2 0 2009-11-09 17:12:38.422
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2009-11-09 17:12:38.422
!MESSAGE Conflict for 'org.eclipse.ui.edit.addTask':
HandlerActivation(commandId=org.eclipse.ui.edit.addTask,
handler=ActionHandler(org.eclipse.ui.actions.AddTaskAction@8eaf0a),
expression=AndExpression(AndExpression(org.eclipse.ui.SubAct ionBars$1@101a4f3,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@10bd3f1)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@17e7f88)),sourcePriority=1064961)
HandlerActivation(commandId=org.eclipse.ui.edit.addTask,
handler=ActionHandler(org.eclipse.ui.actions.AddTaskAction@8eaf0a),
expression=AndExpression(AndExpression(org.eclipse.ui.SubAct ionBars$1@101a4f3,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@10bd3f1)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@17e7f88)),sourcePriority=1064961)

!ENTRY org.eclipse.ui.workbench 2 0 2009-11-09 17:12:38.422
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2009-11-09 17:12:38.422
!MESSAGE Conflict for 'org.eclipse.ui.file.refresh':
HandlerActivation(commandId=org.eclipse.ui.file.refresh,
handler=ActionHandler(org.eclipse.ui.internal.navigator.reso urces.actions.ResourceMgmtActionProvider$2@839907),
expression=AndExpression(AndExpression(org.eclipse.ui.SubAct ionBars$1@101a4f3,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@10bd3f1)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@17e7f88)),sourcePriority=1064961)
HandlerActivation(commandId=org.eclipse.ui.file.refresh,
handler=ActionHandler(org.eclipse.ui.internal.navigator.reso urces.actions.ResourceMgmtActionProvider$2@839907),
expression=AndExpression(AndExpression(org.eclipse.ui.SubAct ionBars$1@101a4f3,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@10bd3f1)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@17e7f88)),sourcePriority=1064961)

!ENTRY org.eclipse.ui.workbench 2 0 2009-11-09 17:12:38.422
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2009-11-09 17:12:38.422
!MESSAGE Conflict for 'org.eclipse.ui.project.buildProject':
HandlerActivation(commandId=org.eclipse.ui.project.buildProj ect,
handler=ActionHandler(org.eclipse.ui.actions.BuildAction@28785c),
expression=AndExpression(AndExpression(org.eclipse.ui.SubAct ionBars$1@101a4f3,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@10bd3f1)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@17e7f88)),sourcePriority=1064961)
HandlerActivation(commandId=org.eclipse.ui.project.buildProj ect,
handler=ActionHandler(org.eclipse.ui.actions.BuildAction@28785c),
expression=AndExpression(AndExpression(org.eclipse.ui.SubAct ionBars$1@101a4f3,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@10bd3f1)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@17e7f88)),sourcePriority=1064961)

!ENTRY org.eclipse.ui.workbench 2 0 2009-11-09 17:12:38.422
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2009-11-09 17:12:38.422
!MESSAGE Conflict for 'org.eclipse.ui.project.openProject':
HandlerActivation(commandId=org.eclipse.ui.project.openProje ct,
handler=ActionHandler(org.eclipse.ui.actions.OpenResourceAction@228ba7),
expression=AndExpression(AndExpression(org.eclipse.ui.SubAct ionBars$1@101a4f3,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@10bd3f1)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@17e7f88)),sourcePriority=1064961)
HandlerActivation(commandId=org.eclipse.ui.project.openProje ct,
handler=ActionHandler(org.eclipse.ui.actions.OpenResourceAction@228ba7),
expression=AndExpression(AndExpression(org.eclipse.ui.SubAct ionBars$1@101a4f3,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@10bd3f1)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@17e7f88)),sourcePriority=1064961)

!ENTRY org.eclipse.ui.workbench 2 0 2009-11-09 17:12:38.422
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2009-11-09 17:12:38.422
!MESSAGE Conflict for 'org.eclipse.ui.project.closeProject':
HandlerActivation(commandId=org.eclipse.ui.project.closeProj ect,
handler=ActionHandler(org.eclipse.ui.actions.CloseResourceAction@170c84c),
expression=AndExpression(AndExpression(org.eclipse.ui.SubAct ionBars$1@101a4f3,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@10bd3f1)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@17e7f88)),sourcePriority=1064961)
HandlerActivation(commandId=org.eclipse.ui.project.closeProj ect,
handler=ActionHandler(org.eclipse.ui.actions.CloseResourceAction@170c84c),
expression=AndExpression(AndExpression(org.eclipse.ui.SubAct ionBars$1@101a4f3,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@10bd3f1)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@17e7f88)),sourcePriority=1064961)

Thanks,
Mark.
Re: Handler conflicts in the log file [message #496411 is a reply to message #496410] Mon, 09 November 2009 17:29 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

you have two plugins that declares in each plugin.xml the same command with the same id as it seems to be the same associated action, I think that you won't see the difference at runtime but it will be better if yoiu know why they they are declared twice.

Hope this will help,

Regards,

Aurelien Pupier
Re: Handler conflicts in the log file [message #496828 is a reply to message #496410] Wed, 11 November 2009 09:04 Go to previous messageGo to next message
Eclipse UserFriend
It looks like some path through the ProjectExplorer is causing handlers to be registered twice through their subactionbars. Please open a bug report at:

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=UI

PW
Re: Handler conflicts in the log file [message #496853 is a reply to message #496828] Wed, 11 November 2009 09:45 Go to previous messageGo to next message
Eclipse UserFriend
Thanks, Paul.

I guess I'd better check my Common Navigator contributions to make sure this isn't my fault... If I can't find any explanation I'll file a bug.

Mark.
Re: Handler conflicts in the log file [message #1027959 is a reply to message #496853] Wed, 27 March 2013 12:42 Go to previous messageGo to next message
Eclipse UserFriend
Hello Mark,
I know it has been a long time since you asked this, but did you even find the cause of the problem?

Re: Handler conflicts in the log file [message #1027978 is a reply to message #1027959] Wed, 27 March 2013 13:15 Go to previous messageGo to next message
Eclipse UserFriend
Man, you're going back years... Shocked

Unfortunately, I don't recall if I ever figured out it was my problem, or a bug in the Platform. Since it looks like I never filed a bug, it must have been my fault. Smile

M.
Re: Handler conflicts in the log file [message #1027987 is a reply to message #1027978] Wed, 27 March 2013 13:29 Go to previous message
Eclipse UserFriend
Thank you
Previous Topic:menucontribution appears only in one perspective
Next Topic:Eclipse Juno Sr2 Window64 Update Sites All Fail
Goto Forum:
  


Current Time: Wed Jun 18 14:06:31 EDT 2025

Powered by FUDForum. Page generated in 0.03720 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top