Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer
Denna tråd har arkiverats. Ställ en ny fråga om du behöver hjälp.
Arkiverad

PDF viewer unable to display certain PDFs

sampdf besvarat
sampdf

I'm on version 58.0.2 (64-bit) on Windows. The internal PDF viewer is unable to display certain PDFs. The console displays the below error message. The problem PDF itself is attached.

details: "FormatError: page dictionary kids object is not an array" message: "page dictionary kids object is not an array" name: "UnknownErrorException" stack: "UnknownErrorExceptionClosure@resource://pdf.js/build/pdf.js:441:37\n@resource://pdf.js/build/pdf.js:435:38\n__w_pdfjs_require__@resource://pdf.js/build/pdf.js:45:12\n@resource://pdf.js/build/pdf.js:4998:23\n__w_pdfjs_require__@resource://pdf.js/build/pdf.js:45:12\n@resource://pdf.js/build/pdf.js:88:18\n@resource://pdf.js/build/pdf.js:26:18\nwebpackUniversalModuleDefinition@resource://pdf.js/build/pdf.js:24:59\n@resource://pdf.js/build/pdf.js:16:11\n"

I'm on version 58.0.2 (64-bit) on Windows. The internal PDF viewer is unable to display certain PDFs. The console displays the below error message. The problem PDF itself is attached. details: "FormatError: page dictionary kids object is not an array" message: "page dictionary kids object is not an array" name: "UnknownErrorException" stack: "UnknownErrorExceptionClosure@resource://pdf.js/build/pdf.js:441:37\n@resource://pdf.js/build/pdf.js:435:38\n__w_pdfjs_require__@resource://pdf.js/build/pdf.js:45:12\n@resource://pdf.js/build/pdf.js:4998:23\n__w_pdfjs_require__@resource://pdf.js/build/pdf.js:45:12\n@resource://pdf.js/build/pdf.js:88:18\n@resource://pdf.js/build/pdf.js:26:18\nwebpackUniversalModuleDefinition@resource://pdf.js/build/pdf.js:24:59\n@resource://pdf.js/build/pdf.js:16:11\n"

Alla svar (7)

Could you send the pdf file to pdf.js devs here?

Issue posted on https://github.com/mozilla/pdf.js/issues/9540. The PDF is attached to the issue.

sampdf said

I'm on version 58.0.2 (64-bit) on Windows. The internal PDF viewer is unable to display certain PDFs.

Can you provide the screenshot of the error as well? And what do you mean certain pdfs? That is so vague no one will know where those pdf are coming from?

Sorry, I thought I had uploaded the PDF with the issue but that upload was not successful.

Please see link to the PDF

https://s3.amazonaws.com/sam-pdftesting/Problem.pdf

TyDraniu said

Could you send the pdf file to pdf.js devs here?

The PDF is also available at

https://s3.amazonaws.com/sam-pdftesting/Problem.pdf

WestEnd said

sampdf said
I'm on version 58.0.2 (64-bit) on Windows. The internal PDF viewer is unable to display certain PDFs.

Can you provide the screenshot of the error as well? And what do you mean certain pdfs? That is so vague no one will know where those pdf are coming from?


Sorry, I thought I had uploaded the PDF with the issue but that upload was not successful.

Please see link to the PDF

https://s3.amazonaws.com/sam-pdftesting/Problem.pdf

TyDraniu said

Could you send the pdf file to pdf.js devs here?


Also posted issue on https://github.com/mozilla/pdf.js/issues/9540. The PDF is attached to the issue.