Uploaded image for project: 'Jahia Community'
  1. Jahia Community
  2. JAHIA-4668

When a cron job fails once, it is no more executed then

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • xCM 6.0.0
    • xCM 6.0.0
    • None

    Description

      60 r26208

      I have defined a cron job that starts every five minutes. It has failed due to a lock that couldn't be taken. (exception below)
      Then, it has never been launched again.

      2009-05-05 16:10:00,167: INFO [BackgroundJob] - execute Background job ProductionJob_2_0
      started @ Tue May 05 16:10:00 CEST 2009
      2009-05-05 16:10:00,206: ERROR [BackgroundJob] - Cannot execute job
      java.lang.NullPointerException
      at org.quartz.SchedulerException.<init>(SchedulerException.java:125)
      at org.quartz.JobExecutionException.<init>(JobExecutionException.java:83)
      at org.jahia.services.importexport.ProductionJob.failed(ProductionJob.java:140)
      at org.jahia.services.importexport.ProductionJob.executeJahiaJob(ProductionJob.java:110)
      at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:147)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
      2009-05-05 16:10:00,271: INFO [BackgroundJob] - Background job (of type production) ended with status failed executed in 0s
      2009-05-05 16:10:00,370: INFO [JobRunShell] - Job ProductionJob.ProductionJob_2_0 threw a JobExecutionException:
      org.quartz.JobExecutionException: java.lang.NullPointerException [See nested exception: java.lang.NullPointerException]
      at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:157)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
      Caused by: java.lang.NullPointerException
      at org.quartz.SchedulerException.<init>(SchedulerException.java:125)
      at org.quartz.JobExecutionException.<init>(JobExecutionException.java:83)
      at org.jahia.services.importexport.ProductionJob.failed(ProductionJob.java:140)
      at org.jahia.services.importexport.ProductionJob.executeJahiaJob(ProductionJob.java:110)
      at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:147)
      ... 2 more

      TestRail: Results

        Attachments

          Activity

            People

              cedmail_old Cédric Mailleux (Inactive)
              dsaulnier_old Damien Saulnier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases

                    Packages

                      Version Package
                      xCM 6.0.0