There was an error in the line setId(1) and setId(2), but the application ran perfectly. How ?