utafrali opened a new pull request, #11922: URL: https://github.com/apache/maven/pull/11922
Fixes #11919 Got an NPE in DefaultModelBuilder when reading the effective model with Maven 4 RC5. The code was already checking if parentModel has a pom file, but then it was calling getPomFile() on inputModel without checking if it was null. Added the null check before using it. - [ ] Your pull request should address just one issue, without pulling in other changes. - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [ ] Each commit in the pull request should have a meaningful subject line and body. - [ ] Write unit tests that match behavioral changes. - [ ] Run `mvn verify` to make sure basic checks pass. - [ ] You have run the Core IT successfully. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
