Not able to create Dynamic Media Configurations in AEM after upgrading to Service Pack 11.

Explore troubleshooting AEM issues post-service pack 11 update, including connection failures, NullPointerExceptions, and JAXB-API challenges.

Description description


  • Adobe Dynamic Media Classic

  • Adobe Experience Manage


Admin is not able to create dynamic media configurations inside Global folder after updating the AEM to service pack 11.

Error: Connection has failed is shown on the UI.

The issue only occurs after upgrading the service pack to 11.


Errors in the Logs:

ERROR: The following errors can be seen in the error logs:

ERROR [ [ 1649063458948]  POST /libs/settings/dam/scene7/endpoints/europe/jcr:content.companies.json HTTP/1.1] service: Uncaught Throwable

java.lang.NullPointerException: null

In the console, this error is printed:

POST 500 (Server Error)

These additional errors can also be seen in the error logs:

ERROR Apache Sling Repository Startup Thread #1 Unable to create jaxbinstance :

javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath.

ERROR [ [ 1649328294390]  POST /libs/settings/dam/scene7/endpoints/europe/jcr:content.companies.json HTTP/1.1]

Utils Unable to create jaxbinstance :

java.lang.NullPointerException: null

ERROR [ sling-oak-observation-1] Unable to create jaxbinstance :

java.lang.NullPointerException: null

Steps to Reproduce:

[ 1] : Navigate to Tools -> Cloud Services.

[ 2] : Click on Dynamic Media Configuration.

[ 3] : Try to connect to Dynamic Media.

Resolution resolution

We need to remove the below bundles from the system/console if present

  1. jaxb annotations v2.9.8
  2. jaxb api v2.3.1

After removing the above bundles, AEM should be left with just these bundles -

  1. jaxb runtime v2.3.2.2
  2. jaxb-api-2.3 v2.3.0.3

Following the above steps, perform a restart of the setup, and you should be able to create Dynamic Media Configurations.