[
https://issues.apache.org/jira/browse/UIMA-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022083#comment-13022083
]
Jörn Kottmann commented on UIMA-1184:
-------------------------------------
The issue we opened to track the error which caused the exception is UIMA-2040.
Philip, could you try to reproduce the error again? I could not figure out how
to do that. Maybe it depends on the type system you have. Could you post the
definition of the type with the array feature?
> filling in a type feature of type FSArray seems broken
> ------------------------------------------------------
>
> Key: UIMA-1184
> URL: https://issues.apache.org/jira/browse/UIMA-1184
> Project: UIMA
> Issue Type: Bug
> Components: CasEditor
> Affects Versions: 2.2.2CE
> Reporter: Philip Ogren
> Assignee: Jörn Kottmann
> Fix For: 2.3CE
>
>
> I can't seem to add values to type features of type FSArray. When I click
> the + icon in the Edit View I get a dialog that asks me to enter the size of
> the array. I enter e.g. 2 and the dialog goes away but nothing happens
> except that entries are added to the Error Log. The message says "Unhandled
> event loop exception" and the trace is included below.
> Knowtator provides three different ways to fill in one annotation as a
> feature value of another. 1) select an annotation that has the feature to
> be filled in and then click on the annotation that will be the feature value.
> A context menu will appear that provides an option to fill in the feature of
> the selected annotation with the annotation just clicked on. 2) Clicking on
> a + icon by the feature of the selected annotation brings up a dialog
> containing the annotations that can be used to satisfy the feature as
> consistent with the type system. 3) selecting a span of text and then
> clicking on a create icon by the feature of the selected annotation will
> create an annotation appropriate for the feature and fill it in with the
> newly created feature.
> org.apache.uima.caseditor.core.TaeError: Unkown array type!
> at
> org.apache.uima.caseditor.editor.editview.EditViewPage$CreateFeatureStructrueValue.createFS(Unknown
> Source)
> at
> org.apache.uima.caseditor.editor.editview.EditViewPage$CreateFeatureStructrueValue.run(Unknown
> Source)
> at
> org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
> at
> org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:443)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at org.apache.uima.caseditor.Application.start(Unknown Source)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira