You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2022/02/27 22:21:00 UTC

[jira] [Created] (MINVOKER-297) NPE when non existing Maven Home is provided in configuration

Slawomir Jaranowski created MINVOKER-297:
--------------------------------------------

             Summary: NPE when non existing Maven Home is provided in configuration
                 Key: MINVOKER-297
                 URL: https://issues.apache.org/jira/browse/MINVOKER-297
             Project: Maven Invoker Plugin
          Issue Type: Bug
    Affects Versions: 3.2.2
            Reporter: Slawomir Jaranowski


when non existing Maven Home is provided in configuration we have:

{code}
...
Caused by: java.lang.NullPointerException
    at org.apache.maven.plugins.invoker.SelectorUtils.getMavenVersion (SelectorUtils.java:132)
    at org.apache.maven.plugins.invoker.AbstractInvokerMojo.runBuilds (AbstractInvokerMojo.java:1302)
    at org.apache.maven.plugins.invoker.AbstractInvokerMojo.execute (AbstractInvokerMojo.java:829)
{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)