Details
-
Bug
-
Resolution: Done
-
Minor
-
xCM 6.0
-
None
-
23802
Description
I have imported the online prepackage demo (2 lang). With root, I modified a main_content (en version only) and did 3 versions of it (v1; v2 and v3).
When trying to restore such a main_content (versioning sub-engine at ctn level) and when clicking on the version number, this opens a pop-up (normally with the preview of the page or of the ctn at that time) with the following NPE:
[GC 394712K->341503K(468096K), 0.0139949 secs]
2008-12-11 11:51:03,312: INFO [org.jahia.views.engines.versioning.actions.ContentVersioningAction] - Logged in User :root
2008-12-11 11:51:03,516: ERROR [org.jahia.bin.errors.ErrorLoggingFilter] - org.hibernate.ObjectNotFoundException: No row with the given identifier exists: org.jahia.hibernate.model.JahiaCtnDef#0. Error message: No row with the given identifier exists: org.jahia.hibernate.model.JahiaCtnDef#0
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: org.jahia.hibernate.model.JahiaCtnDef#0
at org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:377)
at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:79)
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:72)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111)
at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:150)
at org.jahia.hibernate.model.JahiaCtnDef$$EnhancerByCGLIB$$bf78283.getSubDefinitions(<generated>)
at org.jahia.hibernate.manager.JahiaContainerDefinitionManager.convertToJahiaContainerDefinition(JahiaContainerDefinitionManager.java:274)
at org.jahia.hibernate.manager.JahiaContainerDefinitionManager.loadContainerDefinition(JahiaContainerDefinitionManager.java:152)
at org.jahia.hibernate.manager.JahiaContainerDefinitionManager$$FastClassByCGLIB$$6aab2556.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:113)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:582)
at org.jahia.hibernate.manager.JahiaContainerDefinitionManager$$EnhancerByCGLIB$$931b2541.loadContainerDefinition(<generated>)
at org.jahia.services.containers.JahiaContainersBaseService.loadContainerDefinition(JahiaContainersBaseService.java:1652)
at org.jahia.services.containers.JahiaContainersBaseService$$FastClassByCGLIB$$bd246c24.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:113)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
at org.jahia.services.containers.JahiaContainersBaseService$$EnhancerByCGLIB$$48149679.loadContainerDefinition(<generated>)
at org.jahia.registries.JahiaContainerDefinitionsRegistry.loadDefinitionByID(JahiaContainerDefinitionsRegistry.java:120)
at org.jahia.registries.JahiaContainerDefinitionsRegistry.getDefinition(JahiaContainerDefinitionsRegistry.java:157)
at org.jahia.data.containers.JahiaContainer.getDefinition(JahiaContainer.java:362)
at org.jahia.engines.JahiaEngineTools.getCtnListVisibleFields(JahiaEngineTools.java:205)
at org.jahia.views.engines.versioning.ContainerCompareBean.getInstance(ContainerCompareBean.java:273)
at org.jahia.views.engines.versioning.ContainerVersioningViewHelper.handlebuilFieldVersionCompares(ContainerVersioningViewHelper.java:46)
at org.jahia.views.engines.versioning.actions.ContentVersioningAction.containerVersionCompare(ContentVersioningAction.java:1548)
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.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.jahia.bin.JahiaRequestProcessor.process(JahiaRequestProcessor.java:82)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.jahia.bin.Jahia.process(Jahia.java:1557)
at org.jahia.bin.Jahia.service(Jahia.java:851)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jahia.bin.filters.jcr.JcrSessionFilter.doFilter(JcrSessionFilter.java:23)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jahia.bin.filters.ResponseCacheControlFilter.doFilter(ResponseCacheControlFilter.java:94)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
TestRail: Results
Attachments
Issue Links
- duplicates
-
JAHIA-3922 org.hibernate.ObjectNotFoundException raised after clicking on the page title listed in versioning engine of the content object
- Closed