Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading error: Encrypt dict null object #58

Closed
gunnsth opened this issue Apr 29, 2019 · 0 comments
Closed

Loading error: Encrypt dict null object #58

gunnsth opened this issue Apr 29, 2019 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@gunnsth
Copy link
Contributor

gunnsth commented Apr 29, 2019

Loading certain PDFs from a test corpus leads to the following error:

[TRACE]  parser.go:1647 Trailer: Dict("Size": 53, "Info": Ref(29 0), "Encrypt": null, "Root": Ref(35 0), "Prev": 256729, "ID": [qXv�b, ��$6"h- %], )
[TRACE]  parser.go:1681 Checking encryption dictionary!
[TRACE]  parser.go:1686 Is encrypted!
[DEBUG]  pdf_passthrough_bench.go:282 Reader create error unsupported type: *core.PdfObjectNull

/tmp/encrypt-dict-null/263071.pdf - fail unsupported type: *core.PdfObjectNull
                    263071.pdf  0.3     false   1.6     Error: unsupported type: *core.PdfObjectNull

Attachment: failing files
encrypt-dict-null.zip

@gunnsth gunnsth transferred this issue from unidoc/unidoc May 24, 2019
@gunnsth gunnsth added the bug Something isn't working label May 24, 2019
@gunnsth gunnsth added this to the v3.1.0 milestone Jun 8, 2019
@gunnsth gunnsth closed this as completed Jun 8, 2019
@gunnsth gunnsth modified the milestones: v3.1.0, v3.0.2 Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant