DocumentViewer not showing pdfs in Chrome

Community Driven Extensions Project
Melloware
Posts: 2857
Joined: 22 Apr 2013, 15:48

28 Aug 2021, 17:05

10.0.5 is now in Maven Central.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 10.0.7 / PF Extensions 10.0.6

petter.nilsson
Posts: 7
Joined: 18 Aug 2021, 08:29

06 Sep 2021, 15:10

Hello again Melloware,

Unfortuantely we've ran into another issue. Again only for some specific pdfs, and the error we get is:

"pdf.worker.js?ln=primefaces-extensions&v=7.0.3:1 Warning: JPX: Trying to recover from: "JPX error: Out of packets"."

Any futher info to give regarding this?

Kind regards
Petter Nilsson

Melloware
Posts: 2857
Joined: 22 Apr 2013, 15:48

06 Sep 2021, 18:16

Your error is a Mozilla PDF.js error: https://github.com/mozilla/pdf.js/issues/11957

Looks like someone submitted a fix recently: https://github.com/mozilla/pdf.js/pull/13698
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 10.0.7 / PF Extensions 10.0.6

petter.nilsson
Posts: 7
Joined: 18 Aug 2021, 08:29

07 Sep 2021, 13:18

Perfect, thanks again.

Kind regards
Petter Nilsson

Melloware
Posts: 2857
Joined: 22 Apr 2013, 15:48

23 Sep 2021, 23:48

PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 10.0.7 / PF Extensions 10.0.6

petter.nilsson
Posts: 7
Joined: 18 Aug 2021, 08:29

05 Oct 2021, 08:34

Hello again @Melloware

Since the release of the fix in pdf.js yesterday, can we expect to see a new version of PrimefacesExtentions with this fix in?

Kind regards

Melloware
Posts: 2857
Joined: 22 Apr 2013, 15:48

05 Oct 2021, 15:16

Yep I plan on updating PDF.js for 10.0.7 and 11.0.0!
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 10.0.7 / PF Extensions 10.0.6

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests