empty references are caught by exception handling