continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brent N Atkinson (JIRA)" <>
Subject [jira] Created: (CONTINUUM-1985) Releasing projects without local repo throws NPE
Date Thu, 20 Nov 2008 15:56:41 GMT
Releasing projects without local repo throws NPE

                 Key: CONTINUUM-1985
             Project: Continuum
          Issue Type: Bug
          Components: Core system
    Affects Versions: 1.2.2
         Environment: SLES 10, tomcat 6.0.16
            Reporter: Brent N Atkinson
            Priority: Minor
         Attachments: noarg-npe-release-fix.patch

After upgrading to 1.2.2 from 1.1, releases on projects created before the upgrade fail. The
issue appears to be that the DefaultShellCommandHelper.createCommandline doesn't handle a
null argument array. The initial cause is that the upgraded projects don't have the local
repo set to anything, while newly created projects have it set to DEFAULT. I am attaching
a patch that takes care of the null argument list, but perhaps an upgrade should bless projects
with no default repo to use DEFAULT?

[ERROR] org.apache.maven.shared.release.ReleaseExecutionException
	at org.apache.continuum.release.phase.AbstractContinuumRunGoalsPhase.execute(
	at org.apache.continuum.release.phase.RunPrepareGoalsPhase.execute(
	at org.apache.maven.shared.release.DefaultReleaseManager.prepare(
	at org.apache.maven.shared.release.DefaultReleaseManager.prepareWithResult(
	at org.apache.maven.continuum.release.executors.PrepareReleaseTaskExecutor.execute(
	at org.apache.maven.continuum.release.executors.AbstractReleaseTaskExecutor.executeTask(
	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$
Caused by: java.lang.NullPointerException
	at org.apache.continuum.release.phase.AbstractContinuumRunGoalsPhase.execute(
	... 11 more

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message