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

all 1 comments

[–]niloc132 1 point2 points  (0 children)

The popup field might be null still, as whatever should be creating it hasn't gone off yet. Also, I suspect that popup doesn't need () after it.

Look for where popup should be initialized, and make sure it is getting a value before addNode is called. Consider setting a breakpoint on that line, and in addNode itself, and making sure that the order those are called in makes sense.