I received a message from someone at cTakes confirming that this is, indeed, a
problem with the 3rd party library being used by cTakes not being thread-safe.

So it is not a UIMA issue.

-Marshall


On 2/12/2017 11:28 AM, Marshall Schor wrote:
> I meant to "cc" this to the uima dev list... it's for the cTakes dev list, of
> course.
>
> -Marshall
>
>
> On 2/12/2017 11:27 AM, Marshall Schor wrote:
>> Hi,
>>
>> We have a thread over on the UIMA dev list, under the subject "CAS Pool", by
>> shahid ashraf.
>>
>> He's getting a "null" returned in cTakes code in the lvg annotator (which 
>> leads
>> to a NullPointerException), where it calls lvgCmd.MutateToString(word). 
>>
>> This apparently works for him when running single threaded, but fails when
>> running multiple threads in parallel.
>>
>> When I looked at this, I saw the MutateToString code seems to call 3rd party
>> code from the NIH library.
>>
>> Is it possible cTakes or this library doesn't like being called on multiple 
>> threads?
>>
>>
>> -Marshall
>>
>>
>

Reply via email to