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 NullpointerException in Element.isInlineable() #1451

Closed

Conversation

hannibal218bc
Copy link
Contributor

Regression, introduced in 3a9bf46 .

parent() will be null for freshly cloned, created or removed Elements.

hannibal218bc referenced this pull request in Handig-Eekhoorn/jsoup Nov 12, 2020
@hannibal218bc
Copy link
Contributor Author

hannibal218bc commented Nov 12, 2020

Oh, it's the identical issue to #1444 (and #1410 )

@jhy
Copy link
Owner

jhy commented Dec 22, 2020

Thanks for this. Same change was included in 77fcaf4 when adding nullability annotations.

@jhy jhy closed this Dec 22, 2020
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.

2 participants