continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maria Catherine Tan (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (CONTINUUM-2538) [Regression] Unable to release using provide parameters
Date Thu, 17 Jun 2010 00:43:12 GMT
[Regression] Unable to release using provide parameters
-------------------------------------------------------

                 Key: CONTINUUM-2538
                 URL: http://jira.codehaus.org/browse/CONTINUUM-2538
             Project: Continuum
          Issue Type: Bug
          Components: Release
    Affects Versions: 1.4.1 (Beta)
            Reporter: Maria Catherine Tan


I'm getting NPE when trying to do a release with provided parameters:

2010-06-17 08:00:35,495 [Thread-9] ERROR taskQueueExecutor#perform-release  - Error executing
task
edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: java.lang.NullPointerException
        at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:299)
        at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:118)
        at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:159)
        at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127)
Caused by: java.lang.NullPointerException
        at org.apache.maven.shared.release.util.ReleaseUtil.getRootProject(ReleaseUtil.java:59)
        at org.apache.maven.shared.release.phase.CheckoutProjectFromScm.execute(CheckoutProjectFromScm.java:109)
        at org.apache.maven.shared.release.DefaultReleaseManager.perform(DefaultReleaseManager.java:343)
        at org.apache.maven.shared.release.DefaultReleaseManager.performWithResult(DefaultReleaseManager.java:301)
        at org.apache.maven.continuum.release.executors.PerformReleaseTaskExecutor.execute(PerformReleaseTaskExecutor.java:111)
        at org.apache.maven.continuum.release.executors.AbstractReleaseTaskExecutor.executeTask(AbstractReleaseTaskExecutor.java:68)
        at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
        at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
        at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987

There was an additional changes in CheckoutProjectFromScm of maven-release-manager-2.0 that
caused this:
MavenProject rootProject = ReleaseUtil.getRootProject( reactorProjects );

The reactorProjects is null when using provide paramters during release.


-- 
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