UIMA AS service not releasing CAS if deserializer fails
-------------------------------------------------------

                 Key: UIMA-2188
                 URL: https://issues.apache.org/jira/browse/UIMA-2188
             Project: UIMA
          Issue Type: Bug
          Components: Async Scaleout
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik
             Fix For: 2.3.2AS


UIMA AS service should release a CAS back to its CAS pool when deserializer 
throws an exception. The method in question is 
deserializeCASandRegisterWithCache() in ProcessRequestHandler.java. It fetches 
CAS from a CAS pool before deserializing. If deserializer throws an exception, 
the deserializeCASandRegisterWithCache() returns that exception but never 
releases the CAS. Add try ... catch
and release the CAS if exception is thrown.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to