maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnaud Heritier (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MANTRUN-96) Unit Tests are failing with NPE
Date Tue, 05 Aug 2008 10:05:26 GMT

     [ http://jira.codehaus.org/browse/MANTRUN-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arnaud Heritier closed MANTRUN-96.
----------------------------------

         Assignee: Arnaud Heritier
       Resolution: Fixed
    Fix Version/s: 1.3

Fixed by upgrading maven embedder and APIs to 2.0.4.
prerequiste mave version is now 2.0.4

> Unit Tests are failing with NPE
> -------------------------------
>
>                 Key: MANTRUN-96
>                 URL: http://jira.codehaus.org/browse/MANTRUN-96
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: maven 2.0.9, maven 2.0.10-RC5
>            Reporter: Arnaud Heritier
>            Assignee: Arnaud Heritier
>             Fix For: 1.3
>
>
> {code:xml}
> java.lang.NullPointerException
> 	at org.apache.maven.project.injection.DefaultProfileInjector.injectPlugins(DefaultProfileInjector.java:147)
> 	at org.apache.maven.project.injection.DefaultProfileInjector.injectBuild(DefaultProfileInjector.java:134)
> 	at org.apache.maven.project.injection.DefaultProfileInjector.inject(DefaultProfileInjector.java:80)
> 	at org.apache.maven.project.DefaultMavenProjectBuilder.injectActiveProfiles(DefaultMavenProjectBuilder.java:1037)
> 	at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:838)
> 	at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:594)
> 	at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:354)
> 	at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:102)
> 	at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMetaVersion(DefaultPluginVersionManager.java:669)
> 	at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:183)
> 	at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:87)
> 	at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:177)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1174)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1436)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:484)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:455)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
> 	at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:472)
> 	at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:413)
> 	at org.apache.maven.plugin.antrun.AntRunMojoTest.invokeMaven(AntRunMojoTest.java:131)
> 	at org.apache.maven.plugin.antrun.AntRunMojoTest.testDefaultProject(AntRunMojoTest.java:74)
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message