continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Venisse" <emmanuel.veni...@gmail.com>
Subject Re: Nullpointer on execution of a scheduled build
Date Mon, 28 Jul 2008 10:33:05 GMT
On Mon, Jul 28, 2008 at 12:11 PM, Raffaele <r.gambelli@prismasw.it> wrote:

>
> Hi all,
>
> I have created a schedule and I have assigned it to my build definition,
> when it is the time to execute the build I have following eceptions:
>
> 2008-07-28 12:00:00,124 [defaultScheduler_Worker-8] INFO
> org.apache.maven.continuum.build.settings.SchedulesActivator:default  -
> >>>>>>>>>>>>>>>>>>>>>
Executing build job (12 a.m.)...
> 2008-07-28 12:00:00,187 [ERROR] (JobRunShell.java:211)     - Job
> DEFAULT.backupJobDetail threw an unhandled Exception:
> java.lang.NullPointerException
>        at
> org.artifactory.backup.BackupHelper.backupSystem(BackupHelper.java:108)
>        at org.artifactory.backup.BackupJob.execute(BackupJob.java:25)
>        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>        at


I can say the NPE isn't in Continuum but in artifactory that isn't used by
Continuum ;)

Emmanuel


>
>
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
> 2008-07-28 12:00:00,187 [ERROR] (QuartzScheduler.java:2156)     - Job
> (DEFAULT.backupJobDetail threw an exception.
> org.quartz.SchedulerException: Job threw an unhandled exception. [See
> nested
> exception: java.lang.NullPointerException]
>        at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
>        at
>
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
> Caused by: java.lang.NullPointerException
>        at
> org.artifactory.backup.BackupHelper.backupSystem(BackupHelper.java:108)
>        at org.artifactory.backup.BackupJob.execute(BackupJob.java:25)
>        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>        ... 1 more
> 2008-07-28 12:00:00,203 [defaultScheduler_Worker-10] INFO
> org.apache.maven.continuum.build.settings.SchedulesActivator:default  -
> >>>>>>>>>>>>>>>>>>>>>
Executing build job (DEFAULT_SCHEDULE)...
> 2008-07-28 12:00:00,406 [defaultScheduler_Worker-8] INFO
> org.apache.maven.continuum.Continuum:default  - Enqueuing 'Test1' with
> build
> definition 'Effettua il deploy del progetto e genera il sito ' - id=45).
> 2008-07-28 12:00:00,421 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Initializing build
> 2008-07-28 12:00:00,453 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Starting build of Test1
> 2008-07-28 12:00:00,499 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Purging exiting working copy
> 2008-07-28 12:00:00,499 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Performing action clean-working-directory
> 2008-07-28 12:00:00,828 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Updating working dir
> 2008-07-28 12:00:00,828 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Performing action check-working-directory
> 2008-07-28 12:00:00,828 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Performing action checkout-project
> 2008-07-28 12:00:00,859 [pool-1-thread-1] INFO
> org.apache.maven.continuum.scm.ContinuumScm:default  - Checking out
> project:
> 'Test1', id: '28' to 'D:\Apache Software Foundation\Tomcat
> 6.0\webapps\continuum-webapp-1.1\WEB-INF\working-directory\28'.
> 2008-07-28 12:00:00,906 [pool-1-thread-1] INFO
> org.apache.maven.scm.manager.ScmManager:default  - Executing: cmd.exe /X /C
> '"svn --username PRISMA_ENG+ANT --password ***** --non-interactive checkout
> http://gea:81/data/svn/pss/application/prova/trunk/Test1 28"'
> 2008-07-28 12:00:00,906 [pool-1-thread-1] INFO
> org.apache.maven.scm.manager.ScmManager:default  - Working directory:
> D:\Apache Software Foundation\Tomcat
> 6.0\webapps\continuum-webapp-1.1\WEB-INF\working-directory
> 2008-07-28 12:00:03,218 [pool-1-thread-1] INFO
> org.apache.maven.continuum.scm.ContinuumScm:default  - Checked out 4 files.
> 2008-07-28 12:00:03,249 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Merging SCM results
> 2008-07-28 12:00:03,312 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  - The
> project was not built because no changes were detected in sources since the
> last build.
> 2008-07-28 12:00:03,312 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  - No
> changes, not building
>
> Plese, can you explain me what's happening?
> I'm experiencing a lot of difficulties to  test Continuum with only a
> single
> maven2 project.
> It seems that Continuum works only with its defaults, but as soon as a user
> change build template or build definitions or schedule, something always
> goes wrong...
>
> Regards
> Raffaele
> --
> View this message in context:
> http://www.nabble.com/Nullpointer-on-execution-of-a-scheduled-build-tp18687429p18687429.html
> Sent from the Continuum - Users mailing list archive at Nabble.com.
>
>

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