PDFBox would failed to draw the attached document , error logs are below:
This PDF put COSStream as the page's ANNOTS object, and caused the failure.
Simply do type checks in PDPage.getAnnotations might avoid this issue, but the annotations would lost.
This PDF show correctly (I mean annotation works) in:
- Chrome 63.0.3239.132
- Adobe Reader 11.0.23
This PDF doesn't work perfectly in:
- Microsoft Edge