reckart commented on pull request #88:
URL: https://github.com/apache/uima-uimaj/pull/88#issuecomment-738336689


   So reading the code I would say that if `reuseInfoProvided` is not set in 
`BinaryCasSerDes6` line 749, then `processIndexedFeatureStructures()` is never 
called and in that case the Java objects would never get committed to the CAS 
if the `_save_to_cas_data()` call is commented out in 
`initSrcTgtIdMapsAndStrings()`.
   
   A workaround to the issue could be that the `_save_to_cas_data()` in your 
`FeatureMap` checks if there is already a target FSArray  with the correct size 
that could be filled and only to create a new array if that is not the case. In 
this case, the first call would initialize the FSArray if necessary and the 
second call would not throw it away, just (potentially redundantly) update it's 
content - I'll see if that helps...
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to