Erro: java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because "this.id" is null