启动 eclipse 时出现错误(MESSAGE 发生处理程序冲突。这可能会禁用某些命令)
我在 eclipse 3.3.2 中开发了一个插件(RMP),我在其中动态创建菜单项。 我运行了该应用程序,它工作正常,并且能够看到动态创建的菜单项。
现在我导出了这个插件(RMP)。 我将其添加到 eclipse 3.4 安装的插件文件夹中。 现在我启动了 eclipse,我可以看到我的插件(RMP)中实现的所有功能,但动态创建的菜单项是不可见的。 当我点击菜单时,没有任何反应。
请查找下面的错误日志以获取更多信息。 我从我的工作区 -> 中获取了此日志。 .metadata 文件夹。
Log:
!ENTRY org.eclipse.ui.workbench 2 0 2009-03-30 11:59:23.266
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2009-03-30 11:59:23.267
!MESSAGE Conflict for 'AUTODCTOOL':
HandlerActivation(commandId=AUTODCTOOL,
handler=ActionDelegateHandlerProxy(null,com.ericsson.eadt.apstoolsintegrator.actions.APSToolAction),
expression=AndExpression(ActionSetExpression(APSToolsIntegrator.APSSystemFullSet,org.eclipse.ui.internal.WorkbenchWindow@166c114),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@166c114)),sourcePriority=16640)
HandlerActivation(commandId=AUTODCTOOL,
handler=ActionDelegateHandlerProxy(null,com.ericsson.eadt.apstoolsintegrator.actions.APSToolAction),
expression=AndExpression(ActionSetExpression(APSToolsIntegrator.APSSystemFullSet,org.eclipse.ui.internal.WorkbenchWindow@166c114),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@166c114)),sourcePriority=16640)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2009-03-30 11:59:23.267
!MESSAGE Conflict for 'BTIDRIVER':
HandlerActivation(commandId=BTIDRIVER,
handler=ActionDelegateHandlerProxy(null,com.ericsson.eadt.apstoolsintegrator.actions.APSToolAction),
expression=AndExpression(ActionSetExpression(APSToolsIntegrator.APSSystemFullSet,org.eclipse.ui.internal.WorkbenchWindow@166c114),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@166c114)),sourcePriority=16640)
HandlerActivation(commandId=BTIDRIVER,
handler=ActionDelegateHandlerProxy(null,com.ericsson.eadt.apstoolsintegrator.actions.APSToolAction),
expression=AndExpression(ActionSetExpression(APSToolsIntegrator.APSSystemFullSet,org.eclipse.ui.internal.WorkbenchWindow@166c114),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@166c114)),sourcePriority=16640)
在这方面请求帮助, 提前致谢。
斯内哈尔。
I developed one plugin(RMP) in eclipse 3.3.2 where i am creating menu items dynamically. I ran the application and it is working fine and am able to see the menu items created dynamically.
Now I exported this plugin(RMP). I added this in plugin folder of eclipse 3.4 installation. Now I launched eclipse and I am able to see all the functionalities implemented in my plugin(RMP) but the menu items created dynamically are invisible. When i click on menu, nothing is coming.
Pls find the error log below for more information. I took this log from my workspace -> .metadata
folder.
Log:
!ENTRY org.eclipse.ui.workbench 2 0 2009-03-30 11:59:23.266
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2009-03-30 11:59:23.267
!MESSAGE Conflict for 'AUTODCTOOL':
HandlerActivation(commandId=AUTODCTOOL,
handler=ActionDelegateHandlerProxy(null,com.ericsson.eadt.apstoolsintegrator.actions.APSToolAction),
expression=AndExpression(ActionSetExpression(APSToolsIntegrator.APSSystemFullSet,org.eclipse.ui.internal.WorkbenchWindow@166c114),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@166c114)),sourcePriority=16640)
HandlerActivation(commandId=AUTODCTOOL,
handler=ActionDelegateHandlerProxy(null,com.ericsson.eadt.apstoolsintegrator.actions.APSToolAction),
expression=AndExpression(ActionSetExpression(APSToolsIntegrator.APSSystemFullSet,org.eclipse.ui.internal.WorkbenchWindow@166c114),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@166c114)),sourcePriority=16640)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2009-03-30 11:59:23.267
!MESSAGE Conflict for 'BTIDRIVER':
HandlerActivation(commandId=BTIDRIVER,
handler=ActionDelegateHandlerProxy(null,com.ericsson.eadt.apstoolsintegrator.actions.APSToolAction),
expression=AndExpression(ActionSetExpression(APSToolsIntegrator.APSSystemFullSet,org.eclipse.ui.internal.WorkbenchWindow@166c114),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@166c114)),sourcePriority=16640)
HandlerActivation(commandId=BTIDRIVER,
handler=ActionDelegateHandlerProxy(null,com.ericsson.eadt.apstoolsintegrator.actions.APSToolAction),
expression=AndExpression(ActionSetExpression(APSToolsIntegrator.APSSystemFullSet,org.eclipse.ui.internal.WorkbenchWindow@166c114),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@166c114)),sourcePriority=16640)
Requesting help in this regard,
Thanks in advance.
Snehal.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试使用
-clean
选项启动 eclipse3.4。如果
-clean
还不够,则问题出在com.ericsson.eadt.apstoolsintegrator.actions.APSToolAction
的定义上。如果它是一个 操作集,请检查其定义:使用的键绑定可能存在冲突与遗留的 eclipse3.4 键定义。
Try launching your eclipse3.4 with the
-clean
option.If a
-clean
is not enough, the problem lies in the definition ofcom.ericsson.eadt.apstoolsintegrator.actions.APSToolAction
.If it is an action set, check its definition: a keybinding used might be in conflict with legacy eclipse3.4 keys definition.