continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LECAN Damien" <Damien.LE...@B2i.fr>
Subject Unable to migrate from 1.0.2 to 1.0.3
Date Tue, 02 May 2006 08:09:21 GMT
Hello,

I have some problem with Continuum 1.0.3 after upgrading from 1.0.2.

I have followed exactly the procedure described here : http://maven.apache.org/continuum/upgrade.html
I'm using external application folders.

After migrating, everything seems to be OK :
 - all projects are presents
 - I am able to read last build log

But :
 - build history is empty for each projects, even if build log files appear in history folder
 - if I launch a build (M2 project), it fails with the following error :

****************************************************************************
Build Error:
****************************************************************************
org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Error while mapping
metadata.
	at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:117)
	at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:64)
	at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:273)
	at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
	at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.maven.continuum.execution.maven.m2.MavenBuilderHelperException: Cannot
build maven project from /home/m2/continuum-folders/working-directory/44/pom.xml (null).

	at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.getMavenProject(DefaultMavenBuilderHelper.java:339)
	at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.mapMetadataToProject(DefaultMavenBuilderHelper.java:112)
	at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:113)
	... 5 more
Caused by: java.lang.NullPointerException
	at org.codehaus.plexus.util.xml.pull.MXSerializer.writeElementContent(MXSerializer.java:912)
	at org.codehaus.plexus.util.xml.pull.MXSerializer.text(MXSerializer.java:776)
	at org.apache.maven.settings.io.xpp3.SettingsXpp3Writer.writeSettings(SettingsXpp3Writer.java:581)
	at org.apache.maven.settings.io.xpp3.SettingsXpp3Writer.write(SettingsXpp3Writer.java:71)
	at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.writeSettings(DefaultMavenBuilderHelper.java:489)
	at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.getMavenProject(DefaultMavenBuilderHelper.java:301)
	... 7 more


What to do to upgrade succesfully ?

Thanks


Damien Lecan

Mime
View raw message