uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaroslaw Cwiklik <uim...@gmail.com>
Subject Re: What should happen with the original input cas and child cas when a excption occurs
Date Tue, 22 Nov 2016 21:54:06 GMT
Nelson, in a scenario where there is a CM failure all child CASes are auto
released back to
a pool and an input CAS is returned with an exception. Are you observing a
hang due to
depleted cas pool on subsequent input CAS?

Jerry

On Tue, Nov 22, 2016 at 4:15 PM, nelson rivera <nelsonrivera12@gmail.com>
wrote:

> I have a service aggregate deployed in uima-as, the first annotator in
> the aggregate is a casmultipler y then more primitive annotator in the
> flow. When in the middle of processing (Have been generated various
> child cas from the casmultipler and are being processed in other
> anotators in the flow) occurs an exception in casmultipler's method
> next (Ex NullPointerException), what should happen with the original
> input cas and child cas that were being processed?
>
> In practice when this happens, and i get in the listener associated
> method entityComplete, a status of exception and a reference to the
> original input cas, but, what happen with child cas that were being
> processed?. Are release to the casmultipler's caspool automatically?
>
> I would appreciate the explanation
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message