For some reason, whenever I try to push my objects onto a stack, I get a null pointer exception. This is what I have:

private Stack<BSTnode<K>> myStack;

private void preOrderTrav(BSTnode<K>...