Unable to enable ImageEffectsPlugin when Okta is integrated with Confluence Server
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
The built in system plugin ImageEffectsPlugin is disabled and can not be enabled. In addition, some third party plugins such as Cenote Lockpoint can not be enabled.
In Confluence Server, if Okta integration is configured, the built in system plugin ImageEffectsPlugin can not be enabled. Third party plugins such as Cenote Lockpoint can also not be enabled when Okta is integrated with Confluence Server.
Environment
Confluence Server
Diagnosis
The application logs may show an error similar to this when Confluence is started or when you try to enable the plugin:
{code:borderStyle=solid}2020-02-13 10:18:50,791 ERROR [ThreadPoolAsyncTaskExecutor::Thread 39] [plugin.osgi.factory.OsgiPlugin] onPluginContainerFailed Unable to start the plugin container for plugin 'com.atlassian.confluence.image.effects.ImageEffectsPlugin'
-- referer: https://confluence
.test.com/plugins/servlet/upm | url: /rest/plugins/1.0/ | traceId: d021a2503f70307b | userName: user@test.com
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientSupplier': Invocation of init method failed; nested exception is java.lang.NullPointerException{code}
Cause
Okta integration with Confluence Server requires copying an Okta .jar file to the Confluence install directory here: <confluence-install>/confluence/WEB-INF/lib/okta-confluence-2.0.7.jar
When the Okta .jar file is present, the ImageEffectsPlugin is unable to be enabled.
Solution
Shut down Confluence and remove the Okta .jar file from <confluence-install>/confluence/WEB-INF/lib/
. After starting up Confluence, the ImageEffectsPlugin should be enabled.
Was this helpful?