solved nullpointerexception if no mimetype is known / == null in
iTextRepairPdf