Return-Path: Delivered-To: apmail-continuum-dev-archive@www.apache.org Received: (qmail 51863 invoked from network); 13 Jul 2009 07:40:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jul 2009 07:40:49 -0000 Received: (qmail 61002 invoked by uid 500); 13 Jul 2009 07:40:59 -0000 Delivered-To: apmail-continuum-dev-archive@continuum.apache.org Received: (qmail 60931 invoked by uid 500); 13 Jul 2009 07:40:59 -0000 Mailing-List: contact dev-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list dev@continuum.apache.org Received: (qmail 60921 invoked by uid 99); 13 Jul 2009 07:40:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2009 07:40:56 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of marica.tan@gmail.com designates 209.85.222.200 as permitted sender) Received: from [209.85.222.200] (HELO mail-pz0-f200.google.com) (209.85.222.200) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2009 07:40:47 +0000 Received: by pzk38 with SMTP id 38so1018776pzk.10 for ; Mon, 13 Jul 2009 00:40:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=wERn31VIgUXcBNJEmVsjwW5HZlXKC5GtOnUQ+UoBnDA=; b=YMLFQ1kcX/RZRfQzGBqpIcLb3wb31E9qXf2BhvEza2iuycRkdYC9FSttZeVjV35lPa To2eHDwKEZnTzqeSn0Jph1lRDPRvQQbK2dXkCR8dpJVlxvUzLvD+Oo0DtSCfrYbHIXkz Ax9pP7IARdUZ+PttOto6oxWVj2LEO93zfwF/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=QeAnJHKTnX/SNMesF75v84yY+6rOo57KgXyuiFGom69EuJPvnHkpefVjCP8RmvXby6 W7ANYeArYTfNSWYhmbQCUkiwYHrVHG+Xe7ah7cpm0pRIo4Ooq1c5wD5Ja32w08IZfqPI +J0rQGDBeVwlEDClf2DTXvmnm5Uq+DlzfWCVk= MIME-Version: 1.0 Received: by 10.114.26.18 with SMTP id 18mr8310189waz.9.1247470825454; Mon, 13 Jul 2009 00:40:25 -0700 (PDT) In-Reply-To: References: <7411784.41247457287046.JavaMail.continuum@vmbuild.apache.org> <5B45F1AC-1B58-45E5-BA98-6AE3FDDB600C@apache.org> Date: Mon, 13 Jul 2009 15:40:25 +0800 Message-ID: Subject: Re: [continuum] BUILD ERROR: Continuum - Continuum :: Distributed Build :: Build Agent :: Core - Maven 2.0.9, Java 5 From: Marica Tan To: dev@continuum.apache.org Content-Type: multipart/alternative; boundary=0016364590dc6b3ea9046e916fce X-Virus-Checked: Checked by ClamAV on apache.org --0016364590dc6b3ea9046e916fce Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit The error occurred in this line shouldBuild = executor.shouldBuild( context.getScmResult().getChanges(), project, workingDirectoryService.getWorkingDirectory( project ), context.getBuildDefinition() ); This may not be the cause of scm result being NULL at all. Could you check if the project has a valid executorId? In any case, I added a check if the executor is null and add some warning to the logs. Thanks -- Marica On Mon, Jul 13, 2009 at 2:03 PM, Marica Tan wrote: > Fixed and created a jira issue CONTINUUM-2295. > > Thanks > -- > Marica > > > On Mon, Jul 13, 2009 at 11:59 AM, Brett Porter wrote: > >> Bug we need to fix? >> >> >> On 13/07/2009, at 1:54 PM, Continuum@vmbuild.apache.org wrote: >> >> Online report : >>> http://vmbuild.apache.org/continuum/buildResult.action?buildId=199397&projectId=1765 >>> >>> Build statistics: >>> State: Error >>> Previous State: Ok >>> Started at: Sun 12 Jul 2009 20:54:35 -0700 >>> Finished at: Sun 12 Jul 2009 20:54:36 -0700 >>> Total time: 0s >>> Build Trigger: Schedule >>> Build Number: 0 >>> Exit code: 0 >>> Building machine hostname: vmbuild.apache.org >>> Operating system : Linux(unknown) >>> Java Home version : >>> java version "1.5.0_12" >>> Java(TM) 2 Runtime Environment, Standard Edition (build >>> 1.5.0_12-b04) >>> Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode, >>> sharing) >>> >>> Builder version : >>> Maven version: 2.0.9 >>> Java version: 1.5.0_12 >>> OS name: "linux" version: "2.6.24-23-server" arch: "i386" Family: >>> "unix" >>> >>> >>> **************************************************************************** >>> Dependencies Changes: >>> >>> **************************************************************************** >>> No dependencies changed >>> >>> >>> >>> **************************************************************************** >>> Build Definition: >>> >>> **************************************************************************** >>> POM filename: pom.xml >>> Goals: clean install >>> Arguments: --batch-mode --non-recursive -U -P headless >>> Build Fresh: false >>> Always Build: false >>> Default Build Definition: true >>> Schedule: DEFAULT_SCHEDULE >>> Profile Name: Maven 2.0.9, Java 5 >>> Description: Maven 2.0.9, Java 5 >>> >>> >>> **************************************************************************** >>> Test Summary: >>> >>> **************************************************************************** >>> Tests: 0 >>> Failures: 0 >>> Errors: 0 >>> Total time: 0.0 >>> >>> >>> **************************************************************************** >>> Build Error: >>> >>> **************************************************************************** >>> java.lang.NullPointerException >>> at >>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.shouldBuild(DefaultBuildController.java:515) >>> at >>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:138) >>> at >>> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:48) >>> at >>> org.apache.continuum.taskqueueexecutor.ParallelBuildsThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ParallelBuildsThreadedTaskQueueExecutor.java:120) >>> 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) >>> >>> >>> >>> >>> >>> >> > --0016364590dc6b3ea9046e916fce--