you could loop through the records with
0 (False) if files saved externally were modified or deleted.•
1 (True) if no changes or deletions occurred.•
? if the Photo field is not a container field.
Are you doing this on a live db or on test files?
Add a sort of field counter that is committed before you move to the next record to see at which record the crash occurred, this may happen again if a container field contains a corrupted file, it is not necesaarily Java related.
The remove the contents of that container before you do the conversion