continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marica Tan <marica....@gmail.com>
Subject Re: [continuum] BUILD ERROR: Continuum - Continuum :: Distributed Build :: Build Agent :: Core - Maven 2.0.9, Java 5
Date Mon, 13 Jul 2009 07:40:25 GMT
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 <marica.tan@gmail.com> wrote:

> Fixed and created a jira issue CONTINUUM-2295.
>
> Thanks
> --
> Marica
>
>
> On Mon, Jul 13, 2009 at 11:59 AM, Brett Porter <brett@apache.org> 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)
>>>
>>>
>>>
>>>
>>>
>>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message