Closed vvsanil closed 1 year ago
We are experience the same issue -- we are attempting to read a PDF using createREader() (using PDFRStreamForBuffer) and if the PDF is corrupt, the call simply crashes Node.js. Is there a workaround? Is there a hummus method that will peek into a PDF and determine if it is valid or if it is corrupt?
Same here. Using appendPDFPagesFromPDF
with some PDFs (like this one) causes exception in Hummus and crashes Node.js app.
Same here. Using
appendPDFPagesFromPDF
with some PDFs (like this one) causes exception in Hummus and crashes Node.js app.
Fixed this issue over in muhammara. https://github.com/julianhille/MuhammaraJS/pull/194
May the others check if that fixes their issues too?
Hi Gal,
We are using Node.js, It is crashing when we trying to process some PDFs. I have attached the sample for reference. We are getting the following error
After this error, When we try to end the PDF writer then the system crashing. I have tested in both Linux and Windows.
Here is the sample code
Please let me know how to handle this exception?
Thanks, Anil.