[ 
https://jira.codehaus.org/browse/CONTINUUM-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marecor M. Baclay closed CONTINUUM-2346.
----------------------------------------

    Resolution: Fixed

Patch applied to r.1140475

I modified a bit of the error message also. Thanks Gwen!

> NPE in log on forced build and project never builds
> ---------------------------------------------------
>
>                 Key: CONTINUUM-2346
>                 URL: https://jira.codehaus.org/browse/CONTINUUM-2346
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.3.3 (Beta)
>            Reporter: Gwen Harold Autencio
>            Assignee: Marecor M. Baclay
>             Fix For: 1.4.1 (Beta)
>
>         Attachments: CONTINUUM-2346.patch
>
>
> Project never build and getting NPE in logs.
> As I checked on the db, the NPE was caused by null values of the build 
> definition of the project.
> 2009-08-25 19:57:15,266 [pool-7-thread-1] INFO  
> org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor  - 
> Performing action create-build-project-task
> 2009-08-25 19:57:15,328 [pool-7-thread-1] ERROR 
> org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor  - 
> java.lang.NullPointerException
>       at 
> org.apache.continuum.buildmanager.ParallelBuildsManager.buildProjects(ParallelBuildsManager.java:193)
>       at 
> org.apache.maven.continuum.core.action.CreateBuildProjectTaskAction.execute(CreateBuildProjectTaskAction.java:123)
>       at 
> org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor.buildProjects(PrepareBuildProjectsTaskExecutor.java:549)
>       at 
> org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor.executeTask(PrepareBuildProjectsTaskExecutor.java:177)
>       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)
> 2009-08-25 19:57:15,329 [pool-7-thread-1] ERROR 
> taskQueueExecutor#prepare-build-project  - Error executing task
> org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error 
> executing action 'build-project'
>       at 
> org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor.buildProjects(PrepareBuildProjectsTaskExecutor.java:559)
>       at 
> org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor.executeTask(PrepareBuildProjectsTaskExecutor.java:177)
>       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)
> Caused by: java.lang.NullPointerException
>       at 
> org.apache.continuum.buildmanager.ParallelBuildsManager.buildProjects(ParallelBuildsManager.java:193)
>       at 
> org.apache.maven.continuum.core.action.CreateBuildProjectTaskAction.execute(CreateBuildProjectTaskAction.java:123)
>       at 
> org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor.buildProjects(PrepareBuildProjectsTaskExecutor.java:549)
>       ... 7 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to