hdt-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Sharma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDT-25) The command ("dfs.browser.action.delete") is undefined
Date Mon, 13 May 2013 06:31:17 GMT

     [ https://issues.apache.org/jira/browse/HDT-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rahul Sharma updated HDT-25:
----------------------------

    Attachment: HDT-25.patch

This is just a warning as all the actions are performed using ActionProviders rather Command
framework. These are two ways of doing similar stuff [1]  So as a solution we can define some
blank commands having the same ID [2]

[1] http://wiki.eclipse.org/FAQ_What_is_the_difference_between_a_command_and_an_action%3F

[2] http://stackoverflow.com/questions/6922614/rcp-application-the-command-is-undefined-error

                
> The command ("dfs.browser.action.delete") is undefined
> ------------------------------------------------------
>
>                 Key: HDT-25
>                 URL: https://issues.apache.org/jira/browse/HDT-25
>             Project: Hadoop Development Tools
>          Issue Type: Bug
>          Components: Build and infrastructure
>         Environment: Mac OSX, Eclipse JUNO, JDK 1.6 (Oracle)
>            Reporter: Mirko Kaempf
>         Attachments: HDT-25.patch
>
>
> !ENTRY org.eclipse.jface 4 0 2013-04-08 09:03:44.830
> !MESSAGE The command ("dfs.browser.action.delete") is undefined
> !STACK 0
> java.lang.Exception
> 	at org.eclipse.jface.action.ExternalActionManager$CommandCallback.isActive(ExternalActionManager.java:370)
> 	at org.eclipse.jface.action.ActionContributionItem.isCommandActive(ActionContributionItem.java:647)
> 	at org.eclipse.jface.action.ActionContributionItem.isVisible(ActionContributionItem.java:703)
> 	at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer.reconcileManagerToModel(MenuManagerRenderer.java:891)
> 	at org.eclipse.ui.internal.PopupMenuExtender.addMenuContributions(PopupMenuExtender.java:415)
> 	at org.eclipse.ui.internal.PopupMenuExtender.menuAboutToShow(PopupMenuExtender.java:389)
> 	at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:343)
> 	at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:475)
> 	at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:470)
> 	at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:500)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:255)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4136)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1462)
> 	at org.eclipse.swt.widgets.Menu.menuWillOpen(Menu.java:806)
> 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5549)
> 	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
> 	at org.eclipse.swt.internal.cocoa.NSMenu.popUpContextMenu(NSMenu.java:77)
> 	at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:278)
> 	at org.eclipse.swt.widgets.Display.runPopups(Display.java:4059)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3614)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
> 	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message