AEM Guides: Publishing with conditions java.lang.NullPointerException | Community
Skip to main content
December 17, 2024
Question

AEM Guides: Publishing with conditions java.lang.NullPointerException

  • December 17, 2024
  • 2 replies
  • 671 views

Hello - I am new to AEM Guides and I have encountered an error when publishing with conditions

 

- Installed AEM Guides 4.4.0.40

- Created a Map

- Imported the dita file WritingWell.dita from https://experienceleague.adobe.com/en/docs/experience-manager-guides-learn/videos/output-generation/publishing-with-conditions and followed the instructions in applying conditions. 

 

Encountered error:

 

2 replies

DivrajSingh
Adobe Employee
Adobe Employee
December 28, 2024

@clydeg : this error could be due to several reasons but assuming you are getting this error only when applying condition - can you check/confirm whether on applying the condition(s) is there any content left to show in output? 

Can you also confirm that if the conditions are removed - is the publishing working fine for same map?

Also, if possible please share the sample map with topic and conditions applied.

ClydeGAuthor
January 6, 2025

Hello @divrajsingh - This has been working for me now. Apparently, AEM Guides does not support folder names with space(e.g \AEM Guides\aem-jar.java) when it tried to access crx-quickstart\profiles\ditaot--** during publishing with conditions. I am working on windows environment. Thanks!

kautuk_sahni
Community Manager
Community Manager
July 2, 2025

@clydeg Just checking in — were you able to resolve your issue?
We’d love to hear how things worked out. If the suggestions above helped, marking a response as correct can guide others with similar questions. And if you found another solution, feel free to share it — your insights could really benefit the community. Thanks again for being part of the conversation!

Kautuk Sahni