Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

6.5.4 Rollout Configuration Error for sites created using mvn archtype 22

Avatar

Level 5

AEM Instance 6.5.4, that's it.  Plain installation plus service pack.  Used the wknd tutorial to create a test project:
https://docs.adobe.com/content/help/en/experience-manager-learn/getting-started-wknd-tutorial-develo...

 

mvn archetype:generate -B -DarchetypeGroupId=com.adobe.granite.archetypes -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=22 -DgroupId=com.base.aem.rollout-test -Dversion=0.0.1-SNAPSHOT -DappsFolderName=rollout-test -DartifactId=aem-rollout-test -Dpackage=com.base.aem.rollout -DartifactName="Rollout Test Project" -DcomponentGroupName=rollout-test -DconfFolderName=rollout-test -DcontentFolderName=rollout-test -DcssId=rollout-test -DisSingleCountryWebsite=n -Dlanguage_country=en_us -DoptionAemVersion=6.5.0 -DoptionDispatcherConfig=none -DoptionIncludeErrorHandler=n -DoptionIncludeExamples=n -DoptionIncludeFrontendModule=y -DpackageGroup=rollout-test -DsiteName="Rollout Site"

Set the rollout configuration to standard at /content/rollout-test/language-masters/en/jcr:content/cq:BlueprintSyncConfig just like I had to do for we-retail at /content/we-retail/language-masters/en/jcr:content/cq:BlueprintSyncConfig:

Created a new page.
http://localhost:7600/editor.html/content/rollout-test/language-masters/en/test-page.html

Tried rolling out and get the below error.  Rollouts still work fine for we-retail site but any new site created this way causes the below to happen.  Any ideas?

23.03.2020 19:23:00.514 *ERROR* [0:0:0:0:0:0:0:1 [1585002180507] POST /bin/wcmcommand HTTP/1.1] com.day.cq.wcm.msm.impl.commands.RolloutCommand Error during roll-out.
com.day.cq.wcm.api.WCMException: java.lang.NullPointerException
at com.day.cq.wcm.msm.impl.RolloutManagerImpl.rolloutResource(RolloutManagerImpl.java:851)
at com.day.cq.wcm.msm.impl.RolloutManagerImpl.rolloutPage(RolloutManagerImpl.java:728)
at com.day.cq.wcm.msm.impl.RolloutManagerImpl.rolloutPageRelations(RolloutManagerImpl.java:620)
at com.day.cq.wcm.msm.impl.RolloutManagerImpl.rollout(RolloutManagerImpl.java:514)
at com.day.cq.wcm.msm.impl.commands.RolloutCommand.performCommand(RolloutCommand.java:153)
at com.day.cq.wcm.core.impl.commands.WCMCommandService$CommandHolder.performCommand(WCMCommandService.java:178)
at com.day.cq.wcm.core.impl.commands.WCMCommandServlet.performCommand(WCMCommandServlet.java:120)
at com.day.cq.commons.servlets.AbstractCommandServlet.doPost(AbstractCommandServlet.java:49) [com.day.cq.cq-commons:5.12.16]
...
Caused by: java.lang.NullPointerException: null
at com.day.cq.wcm.msm.impl.RolloutContextImpl.propagateNameConflict(RolloutContextImpl.java:286)
at com.day.cq.wcm.msm.impl.RolloutContextImpl.addNameConflict(RolloutContextImpl.java:278)
at com.day.cq.wcm.msm.impl.RolloutContextImpl.hasNameConflict(RolloutContextImpl.java:323)
at com.day.cq.wcm.msm.impl.RolloutManagerImpl.rolloutResource(RolloutManagerImpl.java:804)
... 139 common frames omitted



1 Accepted Solution

Avatar

Correct answer by
Employee
1 Reply

Avatar

Correct answer by
Employee