[
https://issues.apache.org/jira/browse/UIMA-2124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jörn Kottmann closed UIMA-2124.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.3.2SDK
Fixed through command definitions done as part of UIMA-2125.
> Annotation Editor throws exception when context menu is shown
> -------------------------------------------------------------
>
> Key: UIMA-2124
> URL: https://issues.apache.org/jira/browse/UIMA-2124
> Project: UIMA
> Issue Type: Bug
> Components: CasEditor
> Affects Versions: 2.3.1SDK
> Reporter: Jörn Kottmann
> Assignee: Jörn Kottmann
> Priority: Minor
> Fix For: 2.3.2SDK
>
>
> The Annotation Editor throws an exception when the context menu is shown. It
> is believed that this exception is linked to the way the "Enter" command is
> registered.
> !ENTRY org.eclipse.jface 4 0 2011-04-13 12:34:41.470
> !MESSAGE The command ("Enter") 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.jface.action.MenuManager.isChildVisible(MenuManager.java:985)
> at org.eclipse.jface.action.MenuManager.update(MenuManager.java:759)
> at
> org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:470)
> at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:465)
> at
> org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:491)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:241)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1371)
> at org.eclipse.swt.widgets.Menu.menuWillOpen(Menu.java:689)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5030)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
> at
> org.eclipse.swt.internal.cocoa.NSMenu.popUpContextMenu(NSMenu.java:68)
> at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:235)
> at org.eclipse.swt.widgets.Display.runPopups(Display.java:3699)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3270)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
> 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:369)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> 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:619)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira