Version purge failures in AEM 6.5.18 due to NullPointerException

In Adobe Experience Manager (AEM) version 6.5.18, you may encounter a known issue where version purge tasks fail, resulting in a java.lang.NullPointerException. This error typically occurs during the execution of the ReadWriteVersionManager.removeVersion method, disrupting repository health.

Description description

Environment

AEM version 6.5.18

Issue/Symptoms

Version purge tasks fail, resulting in a java.lang.NullPointerException. This error occurs during the execution of the ReadWriteVersionManager.removeVersion method, leading to disruptions in maintaining repository health.

Error log example

06.11.2024 02:18:42.840 *INFO* [ pool-27-thread-1]  com.adobe.granite.maintenance.impl.MaintenanceJobsManagerImpl
Name='com.day.cq.wcm.core.impl.VersionPurgeTask', Status='ERROR', Result='Unexpected exception: java.lang.NullPointerException'
java.lang.NullPointerException: null
    at org.apache.jackrabbit.oak.plugins.version.ReadWriteVersionManager.removeVersion(ReadWriteVersionManager.java:208)

Resolution resolution

You can choose one of the two options.

  1. Upgrade to AEM 6.5.19
    • The issue has been resolved in AEM version 6.5.19. Upgrading to this version will eliminate the NullPointerException during version purges.
  2. Request Fix Pack for AEM 6.5.18
    • If an immediate upgrade is not feasible, open a support ticket and request your Customer Success Engineer (CSE) to apply the fix pack specifically designed for AEM 6.5.18.

Steps to Take

  • Open a support ticket and provide the error logs and details of the issue to expedite the process.
  • Ensure that your CSE is informed and involved in applying the fix pack or coordinating the upgrade to AEM 6.5.19.

Conclusion

This NullPointerException, during version purge tasks, is a known issue in AEM 6.5.18 and has been addressed in version 6.5.19. Prompt action through upgrading or applying the fix pack will ensure the continued health and performance of your AEM environment.

For further assistance, reach out to Adobe Support or your CSE.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f