continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guo, Jiaqi" <jiaqi....@gmail.com>
Subject NullPointerException from mergeReportPluginDefinitions(ModelUtils.java:324)
Date Thu, 26 Jan 2006 21:19:41 GMT
Hi,

I'm working with continuum 1.0.2 and maven 2.0.2. The exact problem 
described at http://jira.codehaus.org/browse/MNG-1529 come to me. 
Basically I got project A, B and C where B extends A and C extends B. 
There are bunch of reports declared in A and no reports are defined in B 
or C.

Everything works find if I run mvn command to create sites. But in 
continuum keeps gettting this NullPointerException when building project 
C.  Any suggestions for it? Thanks.

-- 
Regards

Jiaqi Guo
http://www.cyclopsgroup.com



-----------------Trace Stack-----------------------
org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Error while mapping
metadata.
	at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:120)
	at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:62)
	at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:169)
	at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:53)
	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
	at java.lang.Thread.run(Thread.java:534)
Caused by: org.apache.maven.continuum.execution.maven.m2.MavenBuilderHelperException: Cannot
build maven project from /var/local/continuum/work/16/pom.xml.
	at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.getMavenProject(DefaultMavenBuilderHelper.java:268)
	at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.mapMetadataToProject(DefaultMavenBuilderHelper.java:89)
	at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:116)
	... 5 more
Caused by: java.lang.NullPointerException
	at java.util.TreeMap.compare(TreeMap.java:1085)
	at java.util.TreeMap.getEntry(TreeMap.java:345)
	at java.util.TreeMap.containsKey(TreeMap.java:203)
	at org.apache.maven.project.ModelUtils.mergeReportPluginDefinitions(ModelUtils.java:324)
	at org.apache.maven.project.ModelUtils.mergeReportPluginLists(ModelUtils.java:156)
	at org.apache.maven.project.inheritance.DefaultModelInheritanceAssembler.assembleReportingInheritance(DefaultModelInheritanceAssembler.java:277)
	at org.apache.maven.project.inheritance.DefaultModelInheritanceAssembler.assembleModelInheritance(DefaultModelInheritanceAssembler.java:170)
	at org.apache.maven.project.inheritance.DefaultModelInheritanceAssembler.assembleModelInheritance(DefaultModelInheritanceAssembler.java:56)
	at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:605)
	at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFile(DefaultMavenProjectBuilder.java:298)
	at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:283)
	at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper.getMavenProject(DefaultMavenBuilderHelper.java:260)
	... 7 more


Mime
View raw message