mozilla/pdf.js — Issue #1088: An error occured while reading the PDF
Author: dgkdgk
Created: 2012-01-16 03:16:47+00:00
State: open

On this URL
chrome://pdf.js/content/web/viewer.html?file=https%3A%2F%2Fbill.telecom.co.nz%2Fviewer%2FGetBillImage

If I download the PDF to local disk via Adobe Reader, I can read the PDF fine with pdf.js. So I suspect it is due to it being a HTTPS URL.
Sorry, that URL is behind a user/password interface.

When clicking on more information I get :-

PDF.JS Build: a908827
Message: Illegal character in hex string: !
Stack: error("Illegal character in hex string: !")@chrome://pdf.js/content/build/pdf.js:870
lexerGetHexString("!")@chrome://pdf.js/content/build/pdf.js:24806
lexerGetObj()@chrome://pdf.js/content/build/pdf.js:24860
parserRefill()@chrome://pdf.js/content/build/pdf.js:24375
Parser([object Object],false)@chrome://pdf.js/content/build/pdf.js:24370
Linearization([object Object])@chrome://pdf.js/content/build/pdf.js:24918
()@chrome://pdf.js/content/build/pdf.js:490
()@chrome://pdf.js/content/build/pdf.js:500
pdfDocSetup()@chrome://pdf.js/content/build/pdf.js:559
init([object Object])@chrome://pdf.js/content/build/pdf.js:465
PDFDocModel([object Object])@chrome://pdf.js/content/build/pdf.js:455
PDFDoc([object ArrayBuffer])@chrome://pdf.js/content/build/pdf.js:619
pdfViewLoad([object ArrayBuffer],0)@chrome://pdf.js/content/web/viewer.js:398
getPdfLoad([object ArrayBuffer])@chrome://pdf.js/content/web/viewer.js:269
getPdfOnreadystatechange([object Event])@chrome://pdf.js/content/build/pdf.js:62