Thanks. I can reproduce it simply, as follows: In Eclipse, in a check-out of the uimaj trunk, find the class AnnotationViewerMain, and "run" it; it pops up a GUI.
Navigate in the package view to uimaj-core/src/test/resources/ExampleCas, right-click that, select Properties, and copy the absolute path to that directory, and paste into the 1st box of the GUI. In the .../ExampleCas/ directory, right-click the testTypeSystem.xml file, select Properties, and copy the absolute path into the GUI's 2nd box, then hit View. In the view box, double click the "multiSofaCas.xml" (2nd item). In the resulting viewer, change the Sofa pull-down from DEFAULT to (for example) English Document. This causes a stack overflow. I've created a Jira issue for this: https://issues.apache.org/jira/browse/UIMA-4863. -Marshall On 3/14/2016 4:16 PM, Hector Liu wrote: > Marshall Schor <msa@...> writes: > >> Hi Hector, >> >> It would greatly help if you could supply a small test case. >> >> I'm guessing this problem occurs with the CVD (Cas Visual Debugger) tool, is >> that correct? >> >> I'm also guessing that you have to load into the tool something that has >> multiple Sofas, is that correct? >> >> Thanks. -Marshall >> > Yes, that is the case. I am running the following visualization tool: > > org.apache.uima.tools.AnnotationViewerMain > > Not sure whether this is the CVD you are referring to. I loaded some > documents > with multiple Sofas, and try to change the Sofa from the selection box below. > I > don't currently have the time to provide a test case. It should be easy to > reproduce to do the Sofa selection using some multi-Sofa files, on > uimaj-tools > 2.8.1. > > If you cannot reproduce it, I will probably do so when I got the time. > > Best, > Hetor > > >
