mirror of
https://github.com/apache/maven-mvnd.git
synced 2026-01-13 07:04:14 +08:00
NPE after pressing CTRL+B in the client #324
This commit is contained in:
@@ -237,7 +237,7 @@ public class TerminalOutput implements ClientOutput {
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user