NullPointerException error logged by scheduled office connector cleanup job at 02:00

XMLWordPrintable

      I get the following errors in my log when leaving Confluence running overnight:

      2010-07-08 02:00:00,076 ERROR [DefaultQuartzScheduler_Worker-2] [org.quartz.core.JobRunShell] run Job com.atlassian.confluence.extra.officeconnector.cleanup threw an unhandled Exception: 
      java.lang.NullPointerException
      	at com.benryan.quartz.CacheCleanup.execute(CacheCleanup.java:41)
      	at org.quartz.core.JobRunShell.run(JobRunShell.java:199)
      	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
      2010-07-08 02:00:00,076 ERROR [DefaultQuartzScheduler_Worker-2] [org.quartz.core.ErrorLogger] schedulerError Job (com.atlassian.confluence.extra.officeconnector.cleanup 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:210)
      	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
      Caused by: java.lang.NullPointerException
      	at com.benryan.quartz.CacheCleanup.execute(CacheCleanup.java:41)
      	at org.quartz.core.JobRunShell.run(JobRunShell.java:199)
      	... 1 more
      

      Presumably this clean-up job isn't running correctly if it's failing like this.

      Ramifications: Files in the temporary directory will not get deleted when this job is scheduled to run.

            Assignee:
            Vincent Choy (Inactive)
            Reporter:
            Matt Ryall
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: