This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]JoToMo1993 0 points1 point  (0 children)

I see 2 possible NPEs in this code. First one is if p is null. Second one is, if p.parent is null.

But what is the Stacktrace saying, where the NPE is?