[#3162] NullPointerException when referencing window name that was not declared