Office Connector settings screen crash when we increase the number of conversion queues

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      When adjusting the office connector settings, a crash occurs if the number of queues is modified. Specifically, we observed that decreasing the value for the conversion queues updates successfully. However, an error arises when attempting to increase the "number of conversion queues."

      This is reproducible on Data Center: Yes

      Steps to Reproduce

      Step-1. Created a Confluence 9.2.0 environment
      Step-2. Navigate to General Configuration -> Office Connector -> Configure Office Connector plugin -> Number of Conversion Queues

      Step-3. Change the Number of Conversion Queues from 1 to 4
      Step-4. Click on Submit

      Expected Results

      Changes made to the office connector settings should be saved with the updated value.

      Actual Results

      The office connector settings page crashes when attempting to save updated values.

      Workaround

      As a temporary workaround, the value can be increased directly from the database. To do this, please follow the steps below:

      • Please make sure to back up the database before making any changes and also test it on your test environment first.
      • Run this query in the Confluence database
        UPDATE BANDANA SET bandanavalue = '<int>X</int>' WHERE bandanakey like 'com.atlassian.confluence.officeconnector.maxQueues';
        
        • Replace X with the desired value in the above statement.
        • Once you update the column on database, navigate to Administration > Cache Management > (scroll all the way down) > click Flush all. On a multi-node cluster, the cache may need to be flushed on all nodes. This step is make sure all the latest changes on the database are reflected on the application.

      Note

      In the logs, we could see the following exception.

      2025-01-07 19:57:36,125 ERROR [http-nio-28512-exec-6] [apache.struts2.dispatcher.DefaultDispatcherErrorHandler] sendErrorResponse Exception occurred during processing request: null
       -- url: /c8512/admin/worddav/adminwordsubmit.action | userName: admin | referer: http://localhost:28512/c8512/admin/worddav/adminword.action | traceId: 10fe9398c351c0b6
      java.lang.IllegalArgumentException
      	at java.base/java.util.concurrent.ThreadPoolExecutor.setCorePoolSize(ThreadPoolExecutor.java:1535)
      	at com.benryan.components.DefaultSlideCacheManager.initCache(DefaultSlideCacheManager.java:206)
      	at com.benryan.webwork.WordAdminAction.processSubmit(WordAdminAction.java:103)
      

        1. crash.png
          crash.png
          1.30 MB
        2. screen1.png
          screen1.png
          1.16 MB

            Assignee:
            Maxim Leizerovich
            Reporter:
            Shekhar Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: