Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-20298

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

      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.

            [CONFSERVER-20298] NullPointerException error logged by scheduled office connector cleanup job at 02:00

            Thanks Mark!

            Petra LaFrese added a comment - Thanks Mark!

            Hi Petra,

            This is fixed in Office Connector version 1.13, which you can download and install from here.

            Cheers,
            Mark

            Mark Hrynczak (Inactive) added a comment - Hi Petra, This is fixed in Office Connector version 1.13, which you can download and install from here . Cheers, Mark

            Where would I find the fix for this?

            Thank-you.

            Petra LaFrese added a comment - Where would I find the fix for this? Thank-you.

            Matt has implemented the fix.

            Thank you.

            Vincent Choy (Inactive) added a comment - Matt has implemented the fix. Thank you.

            I have Confluence 3.3 with Office Connector 1.12 installed on my test system and also am seeing this message.

            Petra LaFrese added a comment - I have Confluence 3.3 with Office Connector 1.12 installed on my test system and also am seeing this message.

            Just going reviews. Matt was going to take a look at it , but still needs to be scheduled.

            Vincent Choy (Inactive) added a comment - Just going reviews. Matt was going to take a look at it , but still needs to be scheduled.

            Matt Ryall added a comment -

            Do you mean it is affected by CONF-20162? How about trying the workaround there?

            Matt Ryall added a comment - Do you mean it is affected by CONF-20162 ? How about trying the workaround there?

            Might be related to CONF-18439?

            Matt Ryall added a comment - Might be related to CONF-18439 ?

              vchoy Vincent Choy (Inactive)
              matt@atlassian.com Matt Ryall
              Affected customers:
              1 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: