Exiting Safe Mode sometimes fails with gadget apps installed if there are lot of additional third party apps installed

XMLWordPrintable

    • 2
    • Severity 3 - Minor
    • 16

      Issue Summary

      Exiting Safe Mode sometimes fails with gadget apps installed if there are lot of additional third party apps installed

      Steps to Reproduce

      Not able to replicate Locally

      Expected Results

      Exiting from Safe mode is successful

      Actual Results

      The below logs can be seen in the atlassian-confluence.log file. The gadget startup shows that it doesn't even try to enable following apps of overall gadget library

      • com.atlassian.gadgets.opensocial
      • com.atlassian.gadgets.oauth.serviceprovider and
      • com.atlassian.gadgets.embedded
        2025-08-19 11:16:36,583 DEBUG [ThreadPoolAsyncTaskExecutor::Thread 55] [plugin.osgi.bridge.SpringContextEventBridge] onOsgiApplicationEvent Handling osgi application context event: org.eclipse.gemini.blueprint.service.importer.event.OsgiServiceDependencyWaitStartingEvent[source=NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.directory, config=osgibundle:/META-INF/spring/*.xml), started on Tue Aug 19 11:16:36 CEST 2025]
        2025-08-19 11:16:36,583 INFO [ThreadPoolAsyncTaskExecutor::Thread 55] [plugin.osgi.factory.OsgiPlugin] onServiceDependencyWaitStarting Plugin 'com.atlassian.gadgets.directory' waiting for service '&gadgetRequestContextFactory' with filter '(&(objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)(objectClass=com.atlassian.gadgets.GadgetRequestContextFactory))'
        2025-08-19 11:16:36,584 DEBUG [ThreadPoolAsyncTaskExecutor::Thread 55] [plugin.osgi.bridge.SpringContextEventBridge] onOsgiApplicationEvent Handling osgi application context event: org.eclipse.gemini.blueprint.service.importer.event.OsgiServiceDependencyWaitStartingEvent[source=NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.directory, config=osgibundle:/META-INF/spring/*.xml), started on Tue Aug 19 11:16:36 CEST 2025]
        2025-08-19 11:16:36,584 INFO [ThreadPoolAsyncTaskExecutor::Thread 55] [plugin.osgi.factory.OsgiPlugin] onServiceDependencyWaitStarting Plugin 'com.atlassian.gadgets.directory' waiting for service '&gadgetSpecFactory' with filter '(&(objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)(objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)) 

      Workaround

      1. Manually enable Gadgets Plugin
      2. Refresh the page
      3. Click on Exit safe mode and restore the previous configuration

            Assignee:
            Saba Taseer
            Reporter:
            Ashish Kotha
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: