Return-Path: Delivered-To: apmail-continuum-users-archive@www.apache.org Received: (qmail 99755 invoked from network); 9 Apr 2009 17:18:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Apr 2009 17:18:58 -0000 Received: (qmail 58931 invoked by uid 500); 9 Apr 2009 17:18:57 -0000 Delivered-To: apmail-continuum-users-archive@continuum.apache.org Received: (qmail 58836 invoked by uid 500); 9 Apr 2009 17:18:57 -0000 Mailing-List: contact users-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@continuum.apache.org Delivered-To: mailing list users@continuum.apache.org Received: (qmail 58826 invoked by uid 99); 9 Apr 2009 17:18:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2009 17:18:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.38.145.97] (HELO mxgate.memex.co.uk) (193.38.145.97) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2009 17:18:48 +0000 Received: from doc.memex.co.uk ([192.100.61.1]) by mxgate.memex.co.uk with esmtp (Exim 4.69) (envelope-from ) id 1LrxtR-00034s-8C for users@continuum.apache.org; Thu, 09 Apr 2009 18:18:25 +0100 Received: from dhcp-155-101.memex.co.uk ([193.38.155.101]) by doc.memex.co.uk with esmtp (Exim 4.69) (envelope-from ) id 1LrxtQ-0003Sl-WA for users@continuum.apache.org; Thu, 09 Apr 2009 18:18:25 +0100 Subject: NullPointerException when building ant projects on remote build agent (continuum 1.3.2 beta) From: Iain Jackson To: users@continuum.apache.org Content-Type: multipart/mixed; boundary="=-drczdRG5Bp+ptzI5gTSR" Date: Thu, 09 Apr 2009 18:18:31 +0100 Message-Id: <1239297511.1358.7.camel@mercury> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 X-Virus-Checked: Checked by ClamAV on apache.org --=-drczdRG5Bp+ptzI5gTSR Content-Type: text/plain Content-Transfer-Encoding: 7bit For a project I work on we build it on a list of platforms, so I've been looking at the using continuum's distributed builds to manage all these. I've been playing with the beta to see how we could get this working. The project is built using an ant script. Looks like there is an issue when building ant projects on a remote build agent. I setup a master continuum server (Ubuntu 8.04) and a build-agent (Solaris 10 SPARC). Ant and maven are installed on the build agent and continuum server. When I build the project however, I get a NullPointerException in the build agent's log when its checking whether to build it or not. I've attached the log. Is there anything I can do to get round this? Or is this something that will be fixed in a later release? Thanks, Iain --=-drczdRG5Bp+ptzI5gTSR Content-Disposition: attachment; filename="continuum-error.log" Content-Type: text/x-log; name="continuum-error.log"; charset="UTF-8" Content-Transfer-Encoding: 7bit 2009-04-09 17:41:01,166 [btpool0-5] INFO org.apache.continuum.distributed.transport.slave.SlaveBuildAgentTransportServer - Building projects. 2009-04-09 17:41:01,167 [pool-2-thread-1] INFO org.apache.continuum.buildagent.taskqueue.execution.PrepareBuildProjectsTaskExecutor - Check scm root state 2009-04-09 17:41:01,167 [pool-2-thread-1] INFO org.apache.continuum.buildagent.taskqueue.execution.PrepareBuildProjectsTaskExecutor - Starting prepare build 2009-04-09 17:41:01,191 [pool-2-thread-1] INFO org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient - Started prepare build 2009-04-09 17:41:01,191 [pool-2-thread-1] INFO org.apache.continuum.buildagent.taskqueue.execution.PrepareBuildProjectsTaskExecutor - Initializing prepare build 2009-04-09 17:41:01,192 [pool-2-thread-1] INFO org.apache.continuum.buildagent.taskqueue.execution.PrepareBuildProjectsTaskExecutor - Updating working directory 2009-04-09 17:41:01,192 [pool-2-thread-1] INFO org.apache.continuum.buildagent.taskqueue.execution.PrepareBuildProjectsTaskExecutor - Performing action check-agent-working-directory 2009-04-09 17:41:01,194 [pool-2-thread-1] INFO org.apache.continuum.buildagent.taskqueue.execution.PrepareBuildProjectsTaskExecutor - Performing action update-agent-working-directory 2009-04-09 17:41:01,194 [pool-2-thread-1] INFO action#update-agent-working-directory - Updating project: PROJECT-SOLARIS', id: '2' to '/opt/apache-continuum-buildagent-1.3.2/data/working-directory/2'. 2009-04-09 17:41:01,405 [pool-2-thread-1] INFO scmManager - Executing: /bin/sh -c cd /opt/apache-continuum-buildagent-1.3.2/data/working-directory/2 && svn --username autobuild --non-interactive update 2009-04-09 17:41:01,406 [pool-2-thread-1] INFO scmManager - Working directory: /opt/apache-continuum-buildagent-1.3.2/data/working-directory/2 2009-04-09 17:41:03,118 [pool-2-thread-1] INFO org.apache.continuum.buildagent.taskqueue.execution.PrepareBuildProjectsTaskExecutor - Performing action changelog-agent-project 2009-04-09 17:41:03,120 [pool-2-thread-1] INFO action#changelog-agent-project - Getting changeLog of project: PROJECT-SOLARIS 2009-04-09 17:41:03,180 [pool-2-thread-1] INFO scmManager - Executing: /bin/sh -c cd /opt/apache-continuum-buildagent-1.3.2/data/working-directory/2 && svn --username ######## --non-interactive log -v svn://############# 2009-04-09 17:41:03,182 [pool-2-thread-1] INFO scmManager - Working directory: /opt/apache-continuum-buildagent-1.3.2/data/working-directory/2 2009-04-09 17:41:03,891 [pool-2-thread-1] INFO org.apache.continuum.buildagent.taskqueue.execution.PrepareBuildProjectsTaskExecutor - Merging SCM results 2009-04-09 17:41:03,935 [pool-2-thread-1] INFO org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient - Prepare build finished. 2009-04-09 17:41:03,936 [pool-2-thread-1] INFO org.apache.continuum.buildagent.taskqueue.execution.PrepareBuildProjectsTaskExecutor - Performing action create-agent-build-project-task 2009-04-09 17:41:03,938 [pool-1-thread-1] INFO org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor - Initializing build 2009-04-09 17:41:03,984 [pool-1-thread-1] INFO org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient - Retrieved environments 2009-04-09 17:41:03,985 [pool-1-thread-1] INFO org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor - Checking if project 'PROJECT-SOLARIS' should build 2009-04-09 17:41:03,986 [Thread-15] ERROR taskQueueExecutor#build-agent - 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:128) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:165) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127) Caused by: java.lang.NullPointerException at org.apache.continuum.buildagent.taskqueue.execution.BuildProjectTaskExecutor.getMavenProject(BuildProjectTaskExecutor.java:518) 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:619) --=-drczdRG5Bp+ptzI5gTSR--