setUrl() error. Closes #1507