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

fix: incorrect ID refs in toc nav caused a NullPointerException #1524

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

rdeltour
Copy link
Member

@rdeltour rdeltour commented Jul 6, 2023

When the toc nav of the navigation document contained links pointing to non-existing IDs, checking that links are in reading order caused a NullPointerException.

This commit fixes that by using a more defensive programming logic.

Fix #1516

When the `toc` nav of the navigation document contained links pointing
to non-existing IDs, checking that links are in reading order caused
a NullPointerException.

This commit fixes that by using a more defensive programming logic.

Fix #1516
@rdeltour rdeltour added this to the Next maintenance release milestone Jul 6, 2023
@rdeltour rdeltour self-assigned this Jul 6, 2023
Base automatically changed from fix/1514/dc-source to main July 6, 2023 22:03
@rdeltour rdeltour merged commit f7b5dd9 into main Jul 7, 2023
@rdeltour rdeltour deleted the fix/1516/npe-nav-links branch July 7, 2023 12:51
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.

NullPointerException on EPUB containing invalid links in Navigation Document
1 participant