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: Sandbox-CasEditor
    Affects Versions: 2.2.2
            Reporter: Philip Ogren


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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to