Skip to content

Commit

Permalink
Check jobPb.getConfiguration() is not null
Browse files Browse the repository at this point in the history
  • Loading branch information
AzemaBaptiste committed Aug 19, 2022
1 parent de313bd commit 1cf95f9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -150,7 +150,7 @@ static final class BuilderImpl extends Builder {
if (jobPb.getStatus() != null) {
this.status = JobStatus.fromPb(jobPb.getStatus());
}
if (jobPb.getStatistics() != null) {
if (jobPb.getStatistics() != null && jobPb.getConfiguration() != null) {
this.statistics = JobStatistics.fromPb(jobPb);
}
this.userEmail = jobPb.getUserEmail();
Expand Down

0 comments on commit 1cf95f9

Please sign in to comment.