Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

6.5.4 Rollout Configuration Error for sites created using mvn archtype 22

sdouglasmc
Level 4
Level 4

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
vanegi
Correct answer by
Employee
Employee
1 Reply
vanegi
Correct answer by
Employee
Employee