3 Replies Latest reply on Jul 10, 2013 11:32 PM by sivaprasadreddys

    CQ5.5 Workflow Model doesn't load in http://localhost:4502/lib/cq/workflow/content/console.html

    pu_wip

      Hi,

       

      We noticed an unusual issue where in the models of the workflow doesn't gets loaded in (http://localhost:4502/lib/cq/workflow/content/console.html).

      Although the models exists as expected in /etc/workflow/model but doesn't show up or doesnt get loaded.

       

      I know most of people will immediately look into the users (permissions) but the concerned user is an admin and he has all the required permissions to view the workflow.

       

      We get the below error in the logs:

      *WARN* GET /libs/cq/workflow/content/console/instances.json HTTP/1.1] com.day.cq.workflow.impl.jcr.WorkflowManager Workflow cannot be loaded: Cannot create Workflow instance from node

      *ERROR* GET /libs/cq/workflow/content/console/instances.json HTTP/1.1] com.day.cq.workflow.impl.model.CQWorkflowModelCache cannot load model. id: /etc/workflow/models/{suppressed workflowname}/jcr:content/model vid: 1.61

      *ERROR* GET /libs/cq/workflow/content/console/instances.json HTTP/1.1] com.day.cq.workflow.impl.util.NodeReader Cannot create Workflow instance object from node javax.jcr.version.VersionException: Version 1.61 does not exist for /etc/workflow/models/{suppressed workflowname}/jcr:content/model

              at com.day.cq.workflow.impl.jcr.WorkflowModelManager.getWorkflowModel(WorkflowModelManager.j ava:90)

              at com.day.cq.workflow.impl.CQWorkflowSession.getModel(CQWorkflowSession.java:246)

              at com.day.cq.workflow.impl.util.NodeReader.createWorkflow(NodeReader.java:205)

              at com.day.cq.workflow.impl.jcr.WorkflowManager.getWorkflowInstances(WorkflowManager.java:74 9)

              at com.day.cq.workflow.impl.jcr.WorkflowManager.getAllWorkflowInstances(WorkflowManager.java :131)

              at com.day.cq.workflow.impl.CQWorkflowSession.getWorkflows(CQWorkflowSession.java:347)

              at org.apache.jsp.libs.cq.workflow.components.console.instances.json_jsp._jspService(json_js p.java:136)

              at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:497)

              at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:447)

              at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :235)

              at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

              at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:432)

              at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)

              at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)

              at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 63)

              at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500)

              at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

              at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:147)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

              at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:308 )

              at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:141)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

              at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:257)

              at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChai n.java:49)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

              at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:106)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

              at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:305)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

              at com.thehartford.thf.core.sessionmanagement.filter.ApplicationFilterServiceImpl.doFilter(A pplicationFilterServiceImpl.java:105)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

              at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgre ssTrackerLogFilter.java:59)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

              at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.j ava:220)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

              at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:76)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

              at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:89)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

              at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:83)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

              at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

              at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServle tStarterFilter.java:135)

              at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

              at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcess orImpl.java:153)

              at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:206)

              at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:9 6)

              at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)

              at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java: 42)

              at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:49)

              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

              at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117)

              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(InvocationFil terChain.java:47)

              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

              at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:238)

              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(InvocationFil terChain.java:47)

              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

              at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:179)

              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(InvocationFil terChain.java:47)

              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a: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(InvocationFil terChain.java:47)

              at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a: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.ja va: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:351)

              at com.day.j2ee.servletengine.HttpListener$Worker.run(HttpListener.java:625)

              at java.lang.Thread.run(Thread.java:662)

      *WARN* GET /libs/cq/workflow/content/console/instances.json HTTP/1.1] com.day.cq.workflow.impl.jcr.WorkflowManager Workflow cannot be loaded: Cannot create Workflow instance from node