You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Hector Liu <li...@cs.cmu.edu> on 2016/03/05 22:33:16 UTC
Re: Uima Annotation Viewer view selection causing StackOverflow
Sorry for not being specific last time, I got the Stackoverflow error
while selecting a Sofa view at the bottom of the viewer.
I first suspected this was caused by a Java update because I don't
remember I've done any UIMA updates. However, after a few trials I found
that it is actually due to a uimaj-tools update. The Sofa selection works
well until uimaj-tools 2.7.0. The stackoverflow error can be
found on both v2.8.0 and v2.8.1, which I believed are the most updated
version on Maven. I think it can be reproduced by using the
AnnotaitonViewer of v2.8.0, and change a sofa.
I am currently rolling back to v2.7.0, but I think this problem is
worth nothing.
Best,
Hector
Re: Uima Annotation Viewer view selection causing StackOverflow
Posted by Marshall Schor <ms...@schor.com>.
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 <ms...@...> 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
>
>
>
Re: Uima Annotation Viewer view selection causing StackOverflow
Posted by Hector Liu <li...@cs.cmu.edu>.
Marshall Schor <ms...@...> 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
Re: Uima Annotation Viewer view selection causing StackOverflow
Posted by Marshall Schor <ms...@schor.com>.
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
On 3/5/2016 4:33 PM, Hector Liu wrote:
> Sorry for not being specific last time, I got the Stackoverflow error
> while selecting a Sofa view at the bottom of the viewer.
>
> I first suspected this was caused by a Java update because I don't
> remember I've done any UIMA updates. However, after a few trials I found
> that it is actually due to a uimaj-tools update. The Sofa selection works
> well until uimaj-tools 2.7.0. The stackoverflow error can be
> found on both v2.8.0 and v2.8.1, which I believed are the most updated
> version on Maven. I think it can be reproduced by using the
> AnnotaitonViewer of v2.8.0, and change a sofa.
>
> I am currently rolling back to v2.7.0, but I think this problem is
> worth nothing.
>
> Best,
> Hector
>
>
>