jira-importer commented on issue #371: URL: https://github.com/apache/maven-scm/issues/371#issuecomment-2964590109
**[Marius Barbulescu](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=marius.barbulescu)** commented I saw in AbstractUpdateCommand this code: ChangeSet change = (ChangeSet) i.next(); if ( startDate != null && change.getDate() != null ) { if ( startDate.after( change.getDate() ) ) the NPE comes from here: static final long getMillisOf(Date date) { if (date.cdate == null) { means that change.getDate() returns null. I would update the code like this: ChangeSet change = (ChangeSet) i.next(); Date changeDate = change.getDate(); if ( startDate != null && changeDate != null ) { if ( startDate.after( changeDate ) ) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
