Need help on pdfjs viewer file parameter #20185
Unanswered
pradeepkasula
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have one java service http://localhost:8080/app/ImageToPdfService/Document/2048343%5D) which give pdf bytes, this service passing to pdfjs viewer like [http://localhost:8080/pdfjs/web/viewer.html?file=/app/ImageToPdfService/Document/2048343]. When I use this url in browser, pdf bytes are not loading, its giving below error. Please suggest me how to fix this.
"Uncaught (in promise) TypeError: Cannot read properties of null (reading 'addEventListener')"
Beta Was this translation helpful? Give feedback.
All reactions