Other code in this function checks to see if sym is null. If it's null here, it'll fail.