The text analysis workflow operation handler always deletes the segment catalog, created by a previous operation in a finally block. The deletion is done because the text analysis WOH tries to replace the catalog by a modified one and therefore want to delete old one. But it should only happen when the modified catalog has been added and the old one has been removed, which isn't the case. For example when an exception is happening before removing the old catalog the mediapackage remains with the old one but the file is deleted, this means the next operation e.g. distribution service tries to download the catalog and breaks.