The file is damaged and could not be repaired. Published October 31, 2020 in Java - 0 Comments I want to share this familiar but cryptic error I experienced when opening certain PDFs which were streamed from a Java web application. PDF corrupted message Continue reading Tags: bufferred output stream , content-length , pdf stream , the file is damaged