You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2012/10/27 20:15:13 UTC

[jira] (MINVOKER-137) Maven 2.2.1 NullPointerException with mergeUserSettings parameter

    [ https://jira.codehaus.org/browse/MINVOKER-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312450#comment-312450 ] 

Robert Scholte commented on MINVOKER-137:
-----------------------------------------

http://maven.apache.org/ref/2.2.1/maven-settings/xref/org/apache/maven/settings/SettingsUtils.html#77

It seems that {{dominant.getRuntimeInfo()}} is {{null}}.
                
> Maven 2.2.1 NullPointerException with mergeUserSettings parameter
> -----------------------------------------------------------------
>
>                 Key: MINVOKER-137
>                 URL: https://jira.codehaus.org/browse/MINVOKER-137
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: Bug
>    Affects Versions: 1.7
>         Environment: maven 2.2.1
> Sun/Oracle JDK 5, 6, 7
> windows xp, ubuntu
>            Reporter: redfish4ktc
>
> This is confirmed by running integration test (with or without user settings.xml)
> mvn clean verify -Dinvoker.test=settings-merge/pom.xml -P run-its
> {code}
> java.lang.NullPointerException
> 	at org.apache.maven.settings.SettingsUtils.merge(SettingsUtils.java:77)
> 	at org.apache.maven.plugin.invoker.AbstractInvokerMojo.runBuilds(AbstractInvokerMojo.java:1035)
> 	at org.apache.maven.plugin.invoker.AbstractInvokerMojo.execute(AbstractInvokerMojo.java:670)
> 	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira