[ 
https://issues.apache.org/jira/browse/UIMA-3852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jerry Cwiklik updated UIMA-3852:
--------------------------------

    Description: 
Recent optimization and error reporting changes in CasManager_impl in the 2.6.0 
uima-sdk uncovered a uima-as aggregate bug in code which tries to merge type 
systems from delegates where one of them is a remote CM. 

See UIMA SDK JIRA: 
https://issues.apache.org/jira/browse/UIMA-1249

The new uima sdk code complains if addMetaData method is called after CasPool 
is created. It turns out that the UIMA-As aggregate creates a Shadow CasPool 
for its remote delegate CasMultiplier before the type system is merged. 

Fix is to move the code that creates Shadow CasPool beyond where the merge 
occurs. After successful merge create the Pool. 

  was:
Recent optimization and error reporting changes in CasManager_impl in the 2.6.0 
uima-sdk uncovered a uima-as aggregate bug in code which tries to merge type 
systems from delegates where one of them is a remote CM.

The new uima sdk code complains if addMetaData method is called after CasPool 
is created. It turns out that the UIMA-As aggregate creates a Shadow CasPool 
for its remote delegate CasMultiplier before the type system is merged. 

Fix is to move the code that creates Shadow CasPool beyond where the merge 
occurs. After successful merge create the Pool. 


> UIMA-AS aggregate fails to merge type system when running with 2.6.0 uima-sdk
> -----------------------------------------------------------------------------
>
>                 Key: UIMA-3852
>                 URL: https://issues.apache.org/jira/browse/UIMA-3852
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>    Affects Versions: 2.6.0AS
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>             Fix For: 2.6.0AS
>
>
> Recent optimization and error reporting changes in CasManager_impl in the 
> 2.6.0 uima-sdk uncovered a uima-as aggregate bug in code which tries to merge 
> type systems from delegates where one of them is a remote CM. 
> See UIMA SDK JIRA: 
> https://issues.apache.org/jira/browse/UIMA-1249
> The new uima sdk code complains if addMetaData method is called after CasPool 
> is created. It turns out that the UIMA-As aggregate creates a Shadow CasPool 
> for its remote delegate CasMultiplier before the type system is merged. 
> Fix is to move the code that creates Shadow CasPool beyond where the merge 
> occurs. After successful merge create the Pool. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to