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

Handle the case when resources was null #1278

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gtoison
Copy link

@gtoison gtoison commented Mar 13, 2025

Hello,

This is a follow-up on #1210: I seem to have some pdf files where resources2 is null and this triggers an NPE.
I'm honestly not sure if the fix makes sense (or what even is supposed to be resources2) but the changes fixes the NPE.
If this PR can be considered it would be great if it could also be backported to the 1.3 branch which I'm currently using.

In any case, thank you for maintaining OpenPDF!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant