-
Notifications
You must be signed in to change notification settings - Fork 9.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Invalid XRef stream header #5768
Comments
Nothing appears to be visibly broken, however Adobe Reader prompts you to re-save the file on exit, suggesting that it's corrupt. From the console:
|
Using pdf.js as part of an Angular app, nothing is loading, however console throws the same error.
I do not have the ability to re-generate or re-export the PDFs that I have to render as they are artifacts on a .gov website. this is the file 60000972414.pdf | uploaded via ZenHub |
I get the same error in the Safari debugger when I pass PDFJS.getDocument a PDF stream retrieved from our server. (I had to put the data into a uint8Array to even get it into the stream). |
Same here, and I'm using the example code. |
I get this problem on PDFJS.getDocument() on a PDF that i know is broken. But can i somehow catch this error and tell the user that the PDF is probably broken? |
I get this error whet pass UInt8Array. it's start from [37, 80, 68, 70, 45..] and it's equals to %PDF- |
Closing for now since I don't see any bug with PDF.js here. If you still think that there's a bug, please share a link to the PDF file + description of what happens and what you expected instead. |
http://www.clizio.com/S3/documenti/Miscellanea/OpenSSLcrypto.pod.pdf
Firefox 35.0.1, pdf.js 1.0.1165
The text was updated successfully, but these errors were encountered: