Discussion:
Jahia 5 SP4 - issues with languagestates_17918.groovy patch
Bojana Lalic
2008-10-24 00:59:28 UTC
Permalink
Hi all

We are in the process of upgrading from Jahia release 5.0.0, Community Edition, Build 16138 to Jahia release 5.0.4, Community Edition, Build 21181.

languagestates_17918.groovy patch couldn't be installed successfully.

It throws out the following error message:

2008-10-24 11:26:05,463: INFO [org.jahia.version.GroovyPatcher] - absolutePath = /usr/local/jahia5_scw5/tomcat/webapps/jahia/WEB-INF/var/patches/groovy/languagestates_17918.groovy
2008-10-24 11:26:05,464: INFO [org.jahia.version.GroovyPatcher] - patchesPath = /usr/local/jahia5_scw5/tomcat/webapps/jahia/WEB-INF/var/patches
2008-10-24 11:26:05,465: INFO [org.jahia.version.GroovyPatcher] - path = groovy/languagestates_17918.groovy
2008-10-24 11:26:05,686: ERROR [org.jahia.version.GroovyPatcher] - Exception when executing script
org.jahia.exceptions.JahiaPageNotFoundException: User message=404 Not found - Page:199, System message=404 error - page [199] could not be found in the database or is no longer accessible.


By the way, the following query does not return anything:
SELECT j.id_jahia_pages_data FROM jahia_pages_data j where j.id_jahia_pages_data = 199




at org.jahia.services.pages.JahiaPageBaseService.lookupContentPage(JahiaPageBaseService.java:1723)
at org.jahia.services.pages.JahiaPageBaseService.lookupContentPage(JahiaPageBaseService.java:1639)
at org.jahia.services.pages.JahiaPageBaseService$$FastClassByCGLIB$$e7c6d2f7.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
at org.jahia.services.pages.JahiaPageBaseService$$EnhancerByCGLIB$$1d1a8f86.lookupContentPage(<generated>)
at org.jahia.services.pages.ContentPage.getPage(ContentPage.java:809)
at org.jahia.services.pages.ContentPage.getPage(ContentPage.java:819)
at org.jahia.services.workflow.WorkflowService.getPageType(WorkflowService.java:169)
at org.jahia.services.workflow.WorkflowService.evalWorkflowMode(WorkflowService.java:240)
at org.jahia.services.workflow.WorkflowService.getWorkflowMode(WorkflowService.java:222)
at org.jahia.services.workflow.WorkflowService.getWorkflowMode(WorkflowService.java:196)
at org.jahia.services.workflow.WorkflowService.getWorkflowMode(WorkflowService.java:208)
at org.jahia.services.workflow.WorkflowService.getMainLinkObject(WorkflowService.java:685)
at org.jahia.services.workflow.WorkflowService.getLinkedContentObjects(WorkflowService.java:875)
at org.jahia.services.workflow.WorkflowService.getLinkedContentObjects(WorkflowService.java:876)
at org.jahia.services.workflow.WorkflowService.getLinkedContentObjects(WorkflowService.java:876)
at org.jahia.services.workflow.WorkflowService.getLinkedContentObjects(WorkflowService.java:876)
at org.jahia.services.workflow.WorkflowService.getLinkedContentObjects(WorkflowService.java:802)
at org.jahia.services.workflow.WorkflowService.getLinkedContentObjects(WorkflowService.java:740)
at org.jahia.services.workflow.WorkflowService.evalLanguagesStates(WorkflowService.java:986)
at org.jahia.services.workflow.WorkflowService.storeLanguageState(WorkflowService.java:1477)
at org.jahia.services.workflow.WorkflowService.getLanguagesStates(WorkflowService.java:973)
at org.jahia.services.workflow.WorkflowService.getStagingLanguages(WorkflowService.java:551)
at gjdk.org.jahia.services.workflow.WorkflowService_GroovyReflector.invoke(Unknown Source)
at groovy.lang.MetaMethod.invoke(MetaMethod.java:111)
at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:636)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:345)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:144)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod(ScriptBytecodeAdapter.java:85)
at languagestates_17918.parseObject(languagestates_17918.groovy:17)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.runtime.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:67)
at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:636)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:345)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:156)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod(ScriptBytecodeAdapter.java:85)
at languagestates_17918.run(languagestates_17918.groovy:47)
at groovy.util.GroovyScriptEngine.run(GroovyScriptEngine.java:428)
at org.jahia.version.GroovyPatcher.execute(GroovyPatcher.java:51)
at org.jahia.version.VersionService.installAllPatches(VersionService.java:105)
at org.jahia.admin.patches.ManagePatches.execute(ManagePatches.java:49)
at org.jahia.bin.JahiaAdministration.userRequestDispatcher(JahiaAdministration.java:450)
at org.jahia.bin.JahiaAdministration.service(JahiaAdministration.java:269)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.jahia.bin.filters.esi.ESIFilter.doFilter(ESIFilter.java:110)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
2008-10-24 11:26:10,554: INFO [org.jahia.services.cache.CacheFactory] - Flushed all caches.

Look forward to reading your advice.

Kindest regards

Bojana

________________________________
IMPORTANT: This e-mail, including any attachments, may contain private or confidential information. If you think you may not be the intended recipient, or if you have received this e-mail in error, please contact the sender immediately and delete all copies of this e-mail. If you are not the intended recipient, you must not reproduce any part of this e-mail or disclose its contents to any other party. This email represents the views of the individual sender, which do not necessarily reflect those of Education.au except where the sender expressly states otherwise. It is your responsibility to scan this email and any files transmitted with it for viruses or any other defects. education.au limited will not be liable for any loss, damage or consequence caused directly or indirectly by this email.
Loading...