Skip to content
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 reported when rendering pdf #5683

Closed
sethnk opened this issue Jan 28, 2015 · 3 comments · Fixed by #5684
Closed

Error reported when rendering pdf #5683

sethnk opened this issue Jan 28, 2015 · 3 comments · Fixed by #5684

Comments

@sethnk
Copy link

sethnk commented Jan 28, 2015

PDF URL:
http://www.gastrojournal.org/article/S0016-5085(09)00361-8/pdf

Using Windows8.1 x64, Chrome 39 and pdf.js 1.0.1123 (latest)

This PDF reports the following error information when rendering:

PDF.js v1.0.1123 (build: 1b8e44e)
Message: undefined is not a function
Stack: TypeError: undefined is not a function
at new LinkAnnotation (http://mozilla.github.io/pdf.js/build/pdf.worker.js:5354:29)
at Function.Annotation_fromRef (http://mozilla.github.io/pdf.js/build/pdf.worker.js:5157:22)
at Object.annotations (http://mozilla.github.io/pdf.js/build/pdf.worker.js:2838:37)
at http://mozilla.github.io/pdf.js/build/pdf.worker.js:2480:24
at LocalPdfManager_ensure as ensure
at Object.Page_getOperatorList as getOperatorList
at http://mozilla.github.io/pdf.js/build/pdf.worker.js:34068:14

image

@timvandermeij
Copy link
Contributor

The exact location of the problem is src/core/annotation.js line 489.

@timvandermeij
Copy link
Contributor

@sethnk Thank you for reporting this. I have proposed a fix in #5684.

@sethnk
Copy link
Author

sethnk commented Jan 29, 2015

no problem.... like the project a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants