Check for unresolved symbol and report error instead of NPE