GitHub user dbroeglin opened a pull request: https://github.com/apache/maven/pull/12
[MNG-5613] Avoid NPE when dependency graph creation fails As described in MNG-5613 a NPE occurs if the dependency graph creation fails. Errors where properly catched and added to the result. However, after the call to createProjectDependencyGraph, the resulting projectDependencyGraph was null and as result was not checked for exceptions the call to projectDependencyGraph.getSortedProjects() resulted in a NPE. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dbroeglin/maven master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/maven/pull/12.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #12 ---- commit 2e5ea4379fe39f083c27d0d965b6d64ddf0d6a7a Author: Dominique Broeglin <dominique.broeg...@gmail.com> Date: 2014-04-06T09:29:55Z [MNG-5613] Avoid NPE when dependency graph creation fails ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org