Skip to content

Commit

Permalink
NPE after pressing CTRL+B in the client #324
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga committed Jan 8, 2021
1 parent ddea5d8 commit 7dd3d5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ private boolean doAccept(Message entry) {
}
case Message.MOJO_STARTED: {
final MojoStartedEvent execution = (MojoStartedEvent) entry;
final Project prj = projects.get(execution.getArtifactId());
final Project prj = projects.computeIfAbsent(execution.getArtifactId(), Project::new);
prj.runningExecution = execution;
break;
}
Expand Down

0 comments on commit 7dd3d5d

Please sign in to comment.