mozilla/pdf.js — Issue #1081: "An error occurred while rendering the page"
Author: nathan-osman
Created: 2012-01-15 02:39:58+00:00
State: open

I was viewing the demo page (http://mozilla.github.com/pdf.js/web/viewer.html) with Chrome 16.0.912.75 m on Windows 8 32-bit and the following error occurred after scrolling about halfway down the document:

PDF.JS Build: a908827
Message: Function.prototype.apply: Arguments list has wrong type
Stack: TypeError: Function.prototype.apply: Arguments list has wrong type
at Function.APPLY_PREPARE (native)
at Object.RadialAxial (http://mozilla.github.com/pdf.js/build/pdf.js:25090:38)
at Function.pattern_shading [as parseShading] (http://mozilla.github.com/pdf.js/build/pdf.js:25031:16)
at Object.partialEvaluatorGetIRQueue [as getIRQueue] (http://mozilla.github.com/pdf.js/build/pdf.js:12469:41)
at Object.partialEvaluatorGetIRQueue [as getIRQueue] (http://mozilla.github.com/pdf.js/build/pdf.js:12433:22)
at Object.pageGetIRQueue [as getIRQueue] (http://mozilla.github.com/pdf.js/build/pdf.js:220:33)
at Object.wphSetupPageRequest (http://mozilla.github.com/pdf.js/build/pdf.js:27541:24)
at DedicatedWorkerContext.messageHandlerComObjOnMessage [as onmessage] (http://mozilla.github.com/pdf.js/build/pdf.js:27475:19)