tsgrp / OpenAnnotate

TSG's Browser-based Annotation Tool
8 stars 4 forks source link

GetdocumentInfo call fails for certain documents on Alfresco 5 #894

Closed dhruvvora94 closed 3 years ago

dhruvvora94 commented 3 years ago

For some documents - the getDocumentInfo call was failing because we were not able to successfully get the dimensions of the document.

dhruvvora94 commented 3 years ago

Closed with trunk commit 26086

PDFBOX MEDIA BOX - Clients were seeing a null pointer exception being thrown from this function for certain documents. Using the PDFBoxUtil method to ensure that we are able to get the dimensions of a document successfully when we are using either the 1.x or 2.x versions of PDFBox.

CR - mbrouillette, jharkins