In reply to Leo Lian:
Since you don’t show any code which relates to the writing/reading of your analysis ports, I’m going to guess that you don’t clone your transaction prior to writing. This results in re-using the same transaction handle which will overwrite your data.