Expand my Community achievements bar.

SOLVED

com.day.cq.wcm.api.WCMException: javax.jcr.InvalidItemStateException: Item does not exist anymore: 11e9bdc9-f4ef-4152-8176-96e8bd4ce429

Avatar

Community Advisor

Hi All,

Strangely for one of our site hierarchy we have started facing Below error:

Basically this error occurs when author tries to promote the launch for a specific page (just the page, not even the subtree).

Till now I have tried the following but none of it seems to work:

  • Tried re-indexing repository

Ran following from JMX Console:

  • triggered and completed startTarOptimization()
  • triggered and completed runDataStoreGarbageCollection(java.lang.Boolean delete)
  • triggered and completed consistencyCheck(java.lang.String rootNode, java.lang.Boolean fixInconsistencies)
  • triggered and completed traversalCheck(java.lang.String rootNode, java.lang.Boolean logEach, java.lang.Boolean fixInconsistencies)

All of the above got completed successfully but still the error persists. Next time when trying to promote launch from sidekick it still gives the same error.

Has anyone faced such issue with Launch ever? Also how do we fix such inconsistencies? Any pointer would be quite helpful.

29.08.2015 19:27:17.495 *ERROR* [127.0.0.1 [1440856636727] POST /bin/wcmcommand HTTP/1.1] com.adobe.cq.wcm.launches.impl.LaunchManagerImpl Unable to promote launch with LaunchPromotionParameters => {
    resource: /content/launches/resourcelaunch2/content/abc/en/page-temp/xyz/resources
    promotionScope: resource
    workflowPackagePath:
    isDeep: false
}
 com.day.cq.wcm.api.WCMException: javax.jcr.InvalidItemStateException: Item does not exist anymore: 11e9bdc9-f4ef-4152-8176-96e8bd4ce429
    at com.day.cq.wcm.msm.impl.actions.BaseAction.execute(BaseAction.java:66)
    at com.day.cq.wcm.msm.impl.RolloutManagerImpl.rolloutResource(RolloutManagerImpl.java:831)
    at com.day.cq.wcm.msm.impl.RolloutManagerImpl.rollout(RolloutManagerImpl.java:523)
    at com.adobe.cq.wcm.launches.impl.LaunchManagerImpl.promoteLaunch(LaunchManagerImpl.java:214)
    at com.adobe.cq.wcm.launches.impl.commands.PromoteLaunchCommand.performCommand(PromoteLaunchCommand.java:81)
    at com.day.cq.wcm.core.impl.commands.WCMCommandServlet$CommandHolder.performCommand(WCMCommandServlet.java:153)
    at com.day.cq.wcm.core.impl.commands.WCMCommandServlet.performCommand(WCMCommandServlet.java:255)
    at com.day.cq.commons.servlets.AbstractCommandServlet.doPost(AbstractCommandServlet.java:49)
    at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:148)
    at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:344)
    at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:375)
    at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:508)
    at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64)
    at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:146)
 
    at com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl.doFilter(AuthoringUIModeServiceImpl.java:301)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
    at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:106)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
    at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:290)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
    at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgressTrackerLogFilter.java:64)
    at com.day.cq.wcm.designimporter.CanvasPageDeleteRequestFilter.doFilter(CanvasPageDeleteRequestFilter.java:88)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)
    at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
    at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
    at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
    at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75)
    at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
    at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
    at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
    at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48)
    at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)
    at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.java:250)
    at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:321)
    at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:340)
    at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:383)
    at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:335)
    at com.day.j2ee.servletengine.HttpListener$Worker.run(HttpListener.java:644)
    at java.lang.Thread.run(Unknown Source)
Caused by: javax.jcr.InvalidItemStateException: Item does not exist anymore: 11e9bdc9-f4ef-4152-8176-96e8bd4ce429
    at org.apache.jackrabbit.core.ItemImpl.itemSanityCheck(ItemImpl.java:116)
    at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:90)
    at org.apache.jackrabbit.core.ItemImpl.remove(ItemImpl.java:322)
    at com.day.cq.wcm.msm.impl.actions.ContentDeleteActionFactory$ContentDeleteAction.doExecute(ContentDeleteActionFactory.java:152)
    at com.day.cq.wcm.msm.impl.actions.BaseAction.execute(BaseAction.java:53)
    ... 100 more
29.08.2015 19:27:17.885 *INFO* [Thread-1291] com.day.cq.wcm.commons.ReferenceSearch Adjusted property /content/launches/launchresource1/content/abc/en/testpage/page1/resources/resources/jcr:content/contentPar/tabularcontentcompon/thirdTabLink.
29.08.2015 19:27:17.895 *INFO* [Thread-1291] com.day.cq.wcm.commons.ReferenceSearch Adjusted property /content/launches/launchresource1/content/abc/en/testpage/page1/resources/jcr:content/contentPar/tabularcontentcompon/tabPar/borderlesscontentare/content.
29.08.2015 19:27:17.920 *ERROR* [127.0.0.1 [1440856636727] POST /bin/wcmcommand HTTP/1.1] com.adobe.cq.wcm.launches.impl.commands.PromoteLaunchCommand Error while promoting launch com.adobe.cq.launches.api.LaunchException: Unable to promote launch
    at com.adobe.cq.wcm.launches.impl.LaunchManagerImpl.promoteLaunch(LaunchManagerImpl.java:260)
    at com.adobe.cq.wcm.launches.impl.commands.PromoteLaunchCommand.performCommand(PromoteLaunchCommand.java:81)
    at com.day.cq.wcm.core.impl.commands.WCMCommandServlet$CommandHolder.performCommand(WCMCommandServlet.java:153)
    at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:335)
    at com.day.j2ee.servletengine.HttpListener$Worker.run(HttpListener.java:644)
    at java.lang.Thread.run(Unknown Source)
Caused by: com.day.cq.wcm.api.WCMException: javax.jcr.InvalidItemStateException: Item does not exist anymore: 11e9bdc9-f4ef-4152-8176-96e8bd4ce429
    at com.day.cq.wcm.msm.impl.actions.BaseAction.execute(BaseAction.java:66)
    at com.day.cq.wcm.msm.impl.RolloutManagerImpl.rolloutResource(RolloutManagerImpl.java:831)
    at com.day.cq.wcm.msm.impl.RolloutManagerImpl.rollout(RolloutManagerImpl.java:523)
    at com.adobe.cq.wcm.launches.impl.LaunchManagerImpl.promoteLaunch(LaunchManagerImpl.java:214)
    ... 97 more
Caused by: javax.jcr.InvalidItemStateException: Item does not exist anymore: 11e9bdc9-f4ef-4152-8176-96e8bd4ce429
    at org.apache.jackrabbit.core.ItemImpl.itemSanityCheck(ItemImpl.java:116)
    at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:90)
    at org.apache.jackrabbit.core.ItemImpl.remove(ItemImpl.java:322)
    at com.day.cq.wcm.msm.impl.actions.ContentDeleteActionFactory$ContentDeleteAction.doExecute(ContentDeleteActionFactory.java:152)
    at com.day.cq.wcm.msm.impl.actions.BaseAction.execute(BaseAction.java:53)
    ... 100 more

Thanks,

Runal

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi Everyone,

It seems there were couple of hotfixes that happened to launch functionality in AEM 5.6.1 Service Pack 2-1.0.zip.

After installing same, I am not able to see the error any more. Still I would observed it for some time and report back if it is solved permanently.

Thanks,

Runal

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi Everyone,

It seems there were couple of hotfixes that happened to launch functionality in AEM 5.6.1 Service Pack 2-1.0.zip.

After installing same, I am not able to see the error any more. Still I would observed it for some time and report back if it is solved permanently.

Thanks,

Runal

Avatar

Level 1

Hi Runal,

We are also getting the same error over the 5.6.1  & also over the 5.6.1 sp2. Could you please let us know which all hotfixes you have applied to resolve the issue.

Thanks,

Bishwesh Kumar