You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org> on 2009/05/20 03:56:44 UTC
[jira] Commented: (CONTINUUM-2177) NPE when building some projects
in build agent
[ http://jira.codehaus.org/browse/CONTINUUM-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=177223#action_177223 ]
Maria Catherine Tan commented on CONTINUUM-2177:
------------------------------------------------
I tried building Maven Clean Plugin http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-clean-plugin/ in build agents and it built successfully.
This is using 1.3.x r776519
> NPE when building some projects in build agent
> ----------------------------------------------
>
> Key: CONTINUUM-2177
> URL: http://jira.codehaus.org/browse/CONTINUUM-2177
> Project: Continuum
> Issue Type: Bug
> Components: Distributed Builds
> Affects Versions: 1.3.2
> Reporter: Maria Odea Ching
> Fix For: 1.3.3
>
>
> I'm getting the following NPEs when building some of the Maven 2 Plugins in a build agent. The plugins are building fine in the server when distributed builds is disabled though.
> 2009-04-17 17:33:58,177 [pool-1-thread-1] INFO org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor - Checking if project 'Maven Clean Plugin' should build
> 2009-04-17 17:33:58,318 [pool-1-thread-1] ERROR org.apache.continuum.buildagent.build.execution.maven.m2.DefaultBuildAgentMavenBuilderHelper - Cannot build maven project from C:\working-directory\17\pom.xml (No bean named 'wagon#http' is defined).
> 2009-04-17 17:33:58,318 [pool-1-thread-1] ERROR org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor - Error getting maven project
> org.apache.continuum.buildagent.build.execution.ContinuumAgentBuildExecutorException: Unable to read the Maven project descriptor 'C:\working-directory\17\pom.xml': No bean named 'wagon#http' is defined
>
> at org.apache.continuum.buildagent.build.execution.maven.m2.MavenTwoBuildExecutor.getMavenProject(MavenTwoBuildExecutor.java:275)
> at org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor.getMavenProject(BuildProjectTaskExecutor.java:516)
> at org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor.shouldBuild(BuildProjectTaskExecutor.java:406)
> at org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:117)
> 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)
> at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
> at java.lang.Thread.run(Thread.java:595)
--
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