In my model i have this:
@Entity
public class Plan {
...
@Temporal(TemporalType.TIMESTAMP)
@Column(nullable = false)
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Calendar creationDate;
...
In eclipse debugger, i have a NullPointerException in this line:
plan.setCreationDate(instance);