Expand my Community achievements bar.

Unable to promote a launch in AEM. Getting the below error

Avatar

Level 2

14.12.2016 11:49:08.490 *ERROR* [0:0:0:0:0:0:0:1 [1481744946984] POST /bin/wcmcommand HTTP/1.1] com.adobe.cq.wcm.launches.impl.LaunchManagerImpl Unable to promote launch with LaunchPromotionParameters => {
    resource: /content/launches/2016/11/11/nl-wd27-final/content/www/nl/applications/planning/workforce-planning-and-analytics
    promotionScope: full
    workflowPackagePath: 
    isDeep: false
}

java.lang.StringIndexOutOfBoundsException: String index out of range: -9
    at java.lang.String.substring(String.java:1931)
    at com.adobe.cq.wcm.launches.impl.ReverseLiveRelationship.<init>(ReverseLiveRelationship.java:70)
    at com.adobe.cq.wcm.launches.impl.LaunchManagerImpl.calculateReverseRelationships(LaunchManagerImpl.java:735)
    at com.adobe.cq.wcm.launches.impl.LaunchManagerImpl.calculateReverseRelationships(LaunchManagerImpl.java:678)
    at com.adobe.cq.wcm.launches.impl.LaunchManagerImpl.promoteLaunchForEachPath(LaunchManagerImpl.java:346)
    at com.adobe.cq.wcm.launches.impl.LaunchManagerImpl.promoteLaunch(LaunchManagerImpl.java:264)
    at com.adobe.cq.wcm.launches.impl.commands.PromoteLaunchCommand.performCommand(PromoteLaunchCommand.java:80)
    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:111)
    at com.day.cq.commons.servlets.AbstractCommandServlet.doPost(AbstractCommandServlet.java:49)
    at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:149)
    at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:345)
    at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:376)
    at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:546)
    at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:44)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:77)
    

1 Reply

Avatar

Level 10

This looks like a bug support should be aware of. Please file a ticket.