This happens typically when dummy data is loaded instead of the original images AND the original images have more than one source. The exception is thrown when the number of stored sources is not matching the number of sources present in the loaded data.
I decided not to create special-case for dummy data, rather I catch this discrepancy and informs an user about it...
and especially the swallowed exception allows to loading operation to continue.
This happens typically when dummy data is loaded instead of the original images AND the original images have more than one source. The exception is thrown when the number of stored sources is not matching the number of sources present in the loaded data.
I decided not to create special-case for dummy data, rather I catch this discrepancy and informs an user about it...
and especially the swallowed exception allows to loading operation to continue.