423291eaf2
Invalid node trees (e.g. when nodes are linked in a cycle) can not be evaluated and the viewer is not available in them. This commit just adds some null checks to handle this case more gracefully.