mozilla/pdf.js
Documented errors, page 3 of 4. Back to mozilla/pdf.js
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| ${errorMessages} | exception | error | jpeg2000, image-decoding, wasm, corrupt-data, jpx |
| XFA: Cannot save new annotations. | exception | error | xfa, annotations, editor, unsupported-feature |
| Invalid function in AFSimple_Calculate | exception | warning | aform, scripting, calculation, typeerror, pdf-content |
| Second argument of app.setInterval must be a number | exception | error | scripting-api, type-validation, setinterval, numeric-coercion |
| The `container` must be absolutely positioned. | exception | error | css, dom, configuration, generic-build |
| No password given | exception | error | encryption, pdf-security, password, authentication |
| JBig2 failed to initialize | exception | error | pdf, jbig2, ccitt, wasm, config, decoder |
| TrueType Collection font must contain a "name" table. | exception | error | font, ttc, name-table, truetype-collection, format-error |
| Bad domain for stiched function | exception | error | pdf, function, stitching, domain, malformed-pdf |
| Invalid image width: or height | exception | error | pdf, image, parsing, malformed-pdf, dimensions |
| writing to an offset that is not empty | exception | error | font, cff, cff-compiler, offset-tracker, internal-api, invariant |
| Invalid SVG dimensions | exception | error | svg, factory, input-validation, dimensions |
| Invalid token in do ... end declaration. | exception | error | xfa, formcalc, parser, syntax, block |
| Not tracking location of | exception | error | font, cff, cff-compiler, offset-tracker, internal-api, invariant |
| Unknown crypto method | exception | error | encryption, pdf-security, format-error, crypt-filter, unsupported-feature |
| Invalid field index: must be a number | exception | error | scripting-api, type-check, field-lookup, acrobat-js |
| Invalid rotation: must be a multiple of 90 | exception | error | scripting-api, field, validation, acrobat-js |
| mapBfRangeToArray - ignoring data above MAX_MAP_RANGE. | exception | error | cmap, tounicode, font, parsing, memory, pdf |
| Invalid PDF binary data: either TypedArray, string, or… | validation | error | getdocument, binary-data, validation |
| Invalid CFF header | exception | error | font, cff, cff-parser, corrupt-font, font-substitution |
| Invalid style in PageLabel dictionary. | exception | warning | pdf-structure, catalog, page-labels, corrupt-pdf, validation |
| Unknown data type of | exception | error | font, cff, cff-compiler, internal-api, invariant, layout-table |
| No range. | exception | error | pdf, function, postscript, range, malformed-pdf |
| TrueType Collection does not contain | exception | error | font, ttc, font-name, font-matching, truetype-collection, format-error |
| app.constants is read-only | exception | error | scripting-api, read-only, frozen-object, acrobat-js |
| Kid must be a reference. | exception | error | pdf, catalog, page-tree, corrupt-pdf, indirect-reference |
| IndexedCS - unrecognized lookup table | exception | error | colorspace, indexed, parsing, pdf |
| unexpected marker | exception | error | pdf, jpeg, dctdecode, marker, corrupt |
| Bad encoding in flate stream | exception | error | flate, deflate, truncated, pdf-stream, format-error |
| Invalid TrueType Collection majorVersion | exception | error | font, ttc, truetype-collection, font-header, format-error |
| Only single frame JPEGs supported | exception | error | jpeg, format-validation, image-decoding |
| CFF Private DICT extends past end of font | exception | error | font, cff, cff-parser, corrupt-font, truncated, font-substitution |
| Kid node must be a dictionary. | exception | error | pdf, catalog, page-tree, corrupt-pdf, xref |
| doc.pageWindowRect is read-only | exception | error | scripting, acrobat-js-api, doc-object, read-only, window, unsupported |
| Duplicate EXIF-blocks found. | exception | error | jpeg, exif, format-validation, image-decoding |
| OpenJPEG failed to initialize | exception | error | jpeg2000, wasm, environment, initialization, jpx |
| The API version " " does not match the Viewer version " ". | exception | critical | version, build, configuration, constructor |
| Unknown mask format. | exception | error | pdf, image, mask, internal, malformed-pdf |
| app.fs is read-only | exception | error | scripting-api, read-only, fullscreen, proxy |
| First argument of printf must be a string | exception | error | scripting-api, util, printf, type-check, acrobat-js |
| Invalid dictionary name | exception | error | font, cff, cff-dict, internal-api, invariant |
| doc.URL is read-only | exception | error | scripting, acrobat-js-api, doc-object, read-only, url |
| Invalid token in func declaration. | exception | error | xfa, formcalc, parser, syntax, func |
| Invalid token in var declaration. | exception | error | xfa, formcalc, parser, syntax, var |
| JpegImage.parse - no frame data found. | exception | error | jpeg, format-validation, image-decoding, corrupt-data |
| Unknown PatternName | exception | error | pdf, pattern, color, malformed-pdf, rendering |
| End of file inside dictionary. | exception | error | pdf, parser, corrupt-data, truncation, structure |
| Invalid argument value | exception | error | scripting-api, type-check, field, acrobat-js |
| Invalid psf in AFSpecial_Keystroke | exception | warning | aform, scripting, keystroke, pdf-content |
| Images with color components not supported. | exception | error | pdf, image, color-space, malformed-pdf |
| Node must be a dictionary. | exception | error | pdf-structure, pages-tree, corrupt-pdf, xref, page-retrieval |
| Unknown block type in flate stream | exception | error | flate, deflate, block-type, corrupt-data, pdf-stream, format-error |
| getDocument - expected either `data`, `range`, or `url`… | validation | error | api-usage, configuration, getdocument, validation |
| Invalid number of params in printf | exception | error | scripting-api, util, printf, validation, acrobat-js |
| Kid reference not found in parent's kids. | exception | error | pdf, catalog, page-tree, corrupt-pdf, orphaned-node |
| Count must be a (positive) integer. | exception | error | pdf, catalog, page-tree, corrupt-pdf, count |
| Encoding required. | exception | error | cmap, font, api-misuse, pdf, parsing |
| mapBfRange - ignoring data above MAX_MAP_RANGE. | exception | error | cmap, tounicode, font, parsing, memory, pdf |
| WhitePoint missing - required for color space CalGray | exception | error | colorspace, calgray, cie, parsing, pdf |
| Invalid start in PageLabel dictionary. | exception | warning | pdf-structure, catalog, page-labels, corrupt-pdf, validation |
| The PDF file is empty, i.e. its size is zero bytes. | exception | error | validation, loading, invalid-pdf, network |
| Invalid elseif declaration. | exception | error | xfa, formcalc, parser, syntax, elseif |
| Invalid optionalContentConfigPromise | exception | error | optional-content, layers, validation, promise, setter |
| No domain. | exception | error | pdf, function, postscript, parsing, malformed-pdf |
| parseFDSelect: Invalid font data. | exception | error | font, cff, cff-parser, fdselect, cidfont, corrupt-font |
| Reading gray scale from a color image | exception | error | pdf, image, grayscale, mask, internal |
| Invalid prefix in PageLabel dictionary. | exception | warning | pdf-structure, catalog, page-labels, corrupt-pdf, validation |
| WhitePoint missing - required for color space Lab | exception | error | colorspace, lab, cie, parsing, pdf |
| Bits per component missing in image | exception | error | pdf, image, bits-per-component, parsing, malformed-pdf |
| field.numItems is read-only | exception | error | scripting-api, field, read-only, choice-widget, acrobat-js |
| Invalid nValue2 in AFSimple | exception | warning | aform, scripting, calculation, pdf-content |
| Failed to create ICC color space | exception | error | pdf, icc, qcms, color-profile, malformed-pdf |
| No size marker found in JPX stream | exception | error | jpeg2000, format-validation, image-decoding, corrupt-data, jpx |
| Unsupported CID string | exception | warning | font, cmap, cid, composite-font, format-error |
| Unknown error | exception | error | jpeg2000, image-decoding, wasm, jpx |
| No shading resource found | exception | error | pdf, shading, color, malformed-pdf, rendering |
| Found EOI marker (0xFFD9) while parsing scan data | exception | error | pdf, jpeg, dctdecode, eoi-marker, truncated |
| Another overlay is currently active. | exception | warning | overlay, concurrency, state, ui-utils |
| Invalid WhitePoint components for | exception | error | colorspace, calgray, cie, validation, pdf |
| Malformed CMap: expected int. | exception | error | cmap, font, parsing, pdf |
| Invalid numeric scale. | exception | error | zoom, validation, scale, setter |
| Already tracking location of | exception | error | font, cff, cff-compiler, offset-tracker, internal-api, invariant |
| field.page is read-only | exception | error | scripting-api, field, read-only, acrobat-js |
| Unknown encoding format | exception | error | font, cff, cff-parser, encoding, corrupt-font |
| app.formsVersion is read-only | exception | error | scripting-api, read-only, version, acrobat-js |
| Page count in top-level pages dictionary is not an integer. | exception | critical | pdf-structure, catalog, pages-tree, corrupt-pdf, validation |
| No domain | exception | error | pdf, function, stitching, parsing, malformed-pdf |
| Unsupported color mode | exception | error | jpeg, color-space, image-decoding, validation |
| extractPages: invalid page index. | validation | error | editor, extract-pages, validation, page-index |
| XObject must be referred to by name. | exception | error | pdf, xobject, malformed-pdf, rendering |
| Invalid token if ... endif declaration. | exception | error | xfa, formcalc, parser, syntax, if |
| Incorrect Password | exception | error | encryption, pdf-security, password, authentication |
| Unhandled XObject subtype | exception | error | pdf, xobject, malformed-pdf, rendering |
| Unknown charset format | exception | error | font, cff, cff-parser, charset, corrupt-font |
| The overlay is already registered. | exception | error | overlay, duplicate, state, ui-utils |
| GState must be referred to by name. | exception | error | pdf, gstate, graphics-state, malformed-pdf, rendering |
| extractPages: overlapping pageIndices. | validation | error | editor, extract-pages, validation, page-index |
| app.fromPDFConverters is read-only | exception | error | scripting-api, read-only, stub, acrobat-js |
| app.thermometer is read-only | exception | error | scripting-api, read-only, progress, proxy |
| XObject should be a stream | exception | error | pdf, xobject, malformed-pdf, rendering |