4 Replies Latest reply on Mar 25, 2013 1:13 AM by fretar

    Stack trace when using translation workflow in CQ5.5

    fretar

      Hi!

       

      When we use the translation workflow in 5.5 we get an ugly stack trace in the log (even though everything seems to work fine). We also tried a clean installation with only Geometrixx site and got the same problem. Does anybody have a solution for this? We have installed CQ5.5 and the following packages:

      • cq-5.5-security-update-npr-1951.zip
      • cq-update-pkg-5.5-1-load5.zip
      • crx-hotfixpack-2.2.0.70-2.3.24.zip
      • crx-hotfixpack-2.2.0.71-2.3.24.zip

       

      Here is the stack trace:

       

      19.10.2012 10:00:44.510 *WARN* [127.0.0.1 [1350633642682] POST /libs/wcm/msm/content/commands/translate HTTP/1.1] com.adobe.granite.i18n.impl.PreferencesLocaleResolverService Error occur resolving locale. javax.jcr.RepositoryException: This session has been closed. See the chained exception for a trace of where the session was closed.

                at org.apache.jackrabbit.core.session.SessionState.checkAlive(SessionState.java:150)

                at org.apache.jackrabbit.core.SessionImpl.sanityCheck(SessionImpl.java:372)

                at org.apache.jackrabbit.core.SessionImpl.getNodeById(SessionImpl.java:533)

                at org.apache.jackrabbit.core.security.user.UserManagerImpl.internalGetAuthorizable(UserMana gerImpl.java:832)

                at org.apache.jackrabbit.core.security.user.UserManagerImpl.getAuthorizable(UserManagerImpl. java:415)

                at com.adobe.granite.i18n.impl.PreferencesLocaleResolverService.resolveLocale(PreferencesLoc aleResolverService.java:93)

                at org.apache.sling.i18n.impl.I18NFilter$I18NHttpServletRequest.getLocaleList(I18NFilter.jav a:202)

                at org.apache.sling.i18n.impl.I18NFilter$I18NHttpServletRequest.getLocale(I18NFilter.java:17 8)

                at javax.servlet.ServletRequestWrapper.getLocale(ServletRequestWrapper.java:318)

                at javax.servlet.ServletRequestWrapper.getLocale(ServletRequestWrapper.java:318)

                at javax.servlet.ServletRequestWrapper.getLocale(ServletRequestWrapper.java:318)

                at org.apache.sling.i18n.impl.I18NFilter$BaseI18NSlingHttpServletRequest.getResourceBundle(I 18NFilter.java:233)

                at org.apache.sling.i18n.impl.I18NFilter$BaseI18NSlingHttpServletRequest.getResourceBundle(I 18NFilter.java:226)

                at com.day.cq.i18n.I18n.getResourceBundle(I18n.java:89)

                at com.day.cq.i18n.I18n.getResourceBundle(I18n.java:79)

                at com.day.cq.i18n.I18n.getVar(I18n.java:182)

                at com.day.cq.wcm.core.impl.LinkCheckerSettingsProviderImpl$RewriteConfigs.localize(LinkChec kerSettingsProviderImpl.java:209)

                at com.day.cq.wcm.core.impl.LinkCheckerSettingsProviderImpl$RewriteConfigs.createSettings(Li nkCheckerSettingsProviderImpl.java:214)

                at com.day.cq.wcm.core.impl.LinkCheckerSettingsProviderImpl.createSettings(LinkCheckerSettin gsProviderImpl.java:89)

                at com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl.createSettings(LinkCheckerImpl.java: 366)

                at com.day.cq.rewriter.linkchecker.impl.LinkCheckerTransformer.init(LinkCheckerTransformer.j ava:155)

                at org.apache.sling.rewriter.impl.PipelineImpl.init(PipelineImpl.java:106)

                at org.apache.sling.rewriter.impl.ProcessorManagerImpl.getProcessor(ProcessorManagerImpl.jav a:445)

                at org.apache.sling.rewriter.impl.RewriterResponse.getProcessor(RewriterResponse.java:172)

                at org.apache.sling.rewriter.impl.RewriterResponse.getWriter(RewriterResponse.java:110)

                at org.apache.sling.scripting.core.impl.helper.OnDemandWriter.getWriter(OnDemandWriter.java: 38)

                at org.apache.sling.scripting.core.impl.helper.OnDemandWriter.write(OnDemandWriter.java:47)

                at java.io.PrintWriter.write(PrintWriter.java:361)

                at org.apache.sling.api.servlets.HtmlResponse.send(HtmlResponse.java:464)

                at org.apache.jsp.libs.wcm.msm.components.commands.translate.POST_jsp._jspService(POST_jsp.j ava:205)

                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:420)

                at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

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

                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:453)

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

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

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

                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 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 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.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 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:315)

                at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:334)

                at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:377)

                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)

      Caused by: java.lang.Exception: Stack trace of  where session-admin-465820 was originally closed

                at org.apache.jackrabbit.core.session.SessionState.close(SessionState.java:275)

                at org.apache.jackrabbit.core.SessionImpl.logout(SessionImpl.java:943)

                at org.apache.jackrabbit.core.XASessionImpl.logout(XASessionImpl.java:392)

                at com.day.crx.core.CRXSessionImpl.logout(CRXSessionImpl.java:116)

                at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                at java.lang.reflect.Method.invoke(Method.java:597)

                at org.apache.sling.jcr.base.SessionProxyHandler$SessionProxyInvocationHandler.invoke(Sessio nProxyHandler.java:109)

                at $Proxy9.logout(Unknown Source)

                at com.day.cq.workflow.impl.CQWorkflowSession.logout(CQWorkflowSession.java:615)

                at org.apache.jsp.libs.wcm.msm.components.commands.translate.POST_jsp._jspService(POST_jsp.j ava:201)

                ... 77 more