You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2013/07/24 21:55:55 UTC

[jira] [Created] (UIMA-3111) UIMA-AS client makes comparison of incompatible types

Jerry Cwiklik created UIMA-3111:
-----------------------------------

             Summary: UIMA-AS client makes comparison of incompatible types
                 Key: UIMA-3111
                 URL: https://issues.apache.org/jira/browse/UIMA-3111
             Project: UIMA
          Issue Type: Bug
          Components: Async Scaleout
    Affects Versions: 2.4.0AS
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik
             Fix For: 2.4.1AS


In BaseUIMAAsynchronousEngineCommon_impl.handleProcessReplyFromCasMultiplier() there is a comparison of incompatible types:

if(casReferenceId.equals(inputCasCacheRequest) ) 

The inputCasCacheRequest is of type ClientRequest so the above will always fail.

The fix is:

if(casReferenceId.equals(inputCasCacheRequest.getCasReferenceId()) ) 



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira