Skip to content

Commit

Permalink
Fix NPE loading workspace modules
Browse files Browse the repository at this point in the history
  • Loading branch information
aloubyansky committed Mar 12, 2023
1 parent 0ab82d3 commit a953907
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ void setWorkspaceRootPom(Path rootPom) {

private LocalProject loadProject(Path projectPom, String skipModule) throws BootstrapMavenException {
final Model rawModel = rawModel(projectPom);
if (rawModel == null) {
return null;
}
final LocalProject parentProject = loadParentProject(projectPom, rawModel);
final LocalProject project = project(projectPom);
if (project == null) {
Expand Down

0 comments on commit a953907

Please sign in to comment.