You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed that the sibling methods (nextSibling, previousSibling, siblingElements) rely on an element (underlying node) having a parent. If the node does not have a parent it throws null pointer exception.
Would it be possible to modify the code so that it checks for parent nullness around Node.java:468?
In the event of nullness return null as in the javadoc?
Confirmed in 1.6.2
The text was updated successfully, but these errors were encountered:
Hi,
I have noticed that the sibling methods (nextSibling, previousSibling, siblingElements) rely on an element (underlying node) having a parent. If the node does not have a parent it throws null pointer exception.
Would it be possible to modify the code so that it checks for parent nullness around Node.java:468?
In the event of nullness return null as in the javadoc?
Confirmed in 1.6.2
The text was updated successfully, but these errors were encountered: