question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid xref stream index

See original GitHub issue

I am able to use many pdfs, but I have one that is giving me the error:

Invalid xref stream index: index says 1 objects, but space for 42

As the error suggests, there are 42 fields on the pdf form that should be fillable, but only the first one appears. That first field is a “Clear All” action that appears as a checkbox in the demo fields area. I can attach a link to the pdf in question if that helps. Thanks!

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
phihagcommented, Nov 4, 2018

The problem with xrefs is fixed in master already; I will prepare a release. In any case, I definitely need a copy of a the PDF file to reproduce the issues, so please do link to it.

0reactions
creativeJoe007commented, Dec 4, 2020

I am experiencing this issue with the W9 form.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invalid xref stream index [with codesandbox] · Issue #29 - GitHub
Uncaught (in promise) Error: Invalid xref stream index: index says 1 objects, but space for 12. I created a csb to demonstrate my...
Read more >
Blob pdf rendering giving error Invalid XRef stream header
The pdf window is coming but it does not show any data and keeps on loading in the toolbar(See attached) and the the...
Read more >
[PDF Viewer] No page rendering with "Error: Invalid XRef ...
When opening in acrobat I get "An error exists on this page. Acrobat may not display the page correctly. Please contact the person...
Read more >
Blob pdf rendering giving error Invalid XRef stream header
Hi all, I am trying to display a pdf file from my server on my web app through Angular Blob but I am...
Read more >
Defect or not : Handling invalid xRef table objects?
In this case i simply toss the invalid xRef entry and let rest of the logic rebuild the xRef table. I have limited...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found