IDEMPIERE-4710 : NPE in ProcessInfo.getLastServerRebootDate() (#597)

This commit is contained in:
Nicolas Micoud 2021-02-22 03:56:32 +01:00 committed by GitHub
parent 60bcc24bb4
commit bd7600fcd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -920,7 +920,7 @@ public class ProcessInfo implements Serializable
.setOnlyActiveRecords(true)
.first();
return lastServerSession.getCreated();
return lastServerSession != null ? lastServerSession.getCreated() : null;
}
private IProcessUI processUI;