org.springframework.orm.hibernate3.HibernateSystemException: a different object with the same identifier value was already associated with the session: [org.jahia.hibernate.model.JahiaCtnStruct#org.jahia.hibernate.model.JahiaCtnStructPKctnsubdefid=org.jahia.hibernate.model.JahiaCtnDefPropertyidJahiaCtnDefProperties=56objType=1objDefId=142]; nested exception is org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.jahia.hibernate.model.JahiaCtnStruct#org.jahia.hibernate.model.JahiaCtnStructPKctnsubdefid=org.jahia.hibernate.model.JahiaCtnDefPropertyidJahiaCtnDefProperties=56objType=1objDefId=142] org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.jahia.hibernate.model.JahiaCtnStruct#org.jahia.hibernate.model.JahiaCtnStructPKctnsubdefid=org.jahia.hibernate.model.JahiaCtnDefPropertyidJahiaCtnDefProperties=56objType=1objDefId=142]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by checht, 10 months ago
=org.jahia.hibernate.model.JahiaCtnDefPropertyidJahiaCtnDefProperties=56objType=1objDefId=142]; nested exception is org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.jahia.hibernate.model.JahiaCtnStruct
org.springframework.orm.hibernate3.HibernateSystemException: a different object with the same identifier value was already associated with the session: [org.jahia.hibernate.model.JahiaCtnStruct#org.jahia.hibernate.model.JahiaCtnStructPKctnsubdefid=org.jahia.hibernate.model.JahiaCtnDefPropertyidJahiaCtnDefProperties=56objType=1objDefId=142]; nested exception is org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.jahia.hibernate.model.JahiaCtnStruct#org.jahia.hibernate.model.JahiaCtnStructPKctnsubdefid=org.jahia.hibernate.model.JahiaCtnDefPropertyidJahiaCtnDefProperties=56objType=1objDefId=142] org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.jahia.hibernate.model.JahiaCtnStruct#org.jahia.hibernate.model.JahiaCtnStructPKctnsubdefid=org.jahia.hibernate.model.JahiaCtnDefPropertyidJahiaCtnDefProperties=56objType=1objDefId=142]
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performUpdate(DefaultSaveOrUpdateEventListener.java:254)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsDetached(DefaultSaveOrUpdateEventListener.java:214)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:91)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:69)
at org.hibernate.engine.Cascades$5.cascade(Cascades.java:154)
at org.hibernate.engine.Cascades.cascadeAssociation(Cascades.java:771)
at org.hibernate.engine.Cascades.cascade(Cascades.java:720)
at org.hibernate.engine.Cascades.cascadeCollection(Cascades.java:895)
at org.hibernate.engine.Cascades.cascadeAssociation(Cascades.java:792)
at org.hibernate.engine.Cascades.cascade(Cascades.java:720)
at org.hibernate.event.def.AbstractFlushingEventListener.cascadeOnFlush(AbstractFlushingEventListener.java:121)
at org.hibernate.event.def.AbstractFlushingEventListener.prepareEntityFlushes(AbstractFlushingEventListener.java:112)
at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:59)
at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:39)
at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:711)
at org.hibernate.impl.SessionImpl.prepareQueries(SessionImpl.java:895)
at org.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:885)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:834)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
at org.springframework.orm.hibernate3.HibernateTemplate$29.doInHibernate(HibernateTemplate.java:751)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:312)
at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:742)
at org.jahia.hibernate.dao.JahiaSiteDAO.findById(JahiaSiteDAO.java:127)
at org.jahia.hibernate.manager.JahiaContainerDefinitionManager.updateContainerDefinition(JahiaContainerDefinitionManager.java:223)
at org.jahia.hibernate.manager.JahiaContainerDefinitionManager$$FastClassByCGLIB$$6aab2556.invoke()
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:144)
at org.jahia.hibernate.manager.JahiaContainerDefinitionManager$$EnhancerByCGLIB$$92050a7b.updateContainerDefinition()
at org.jahia.services.containers.JahiaContainersBaseService.saveContainerDefinition(JahiaContainersBaseService.java:2014)
at org.jahia.services.containers.JahiaContainersBaseService$$FastClassByCGLIB$$bd246c24.invoke()
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:144)
at org.jahia.services.containers.JahiaContainersBaseService$$EnhancerByCGLIB$$6d858439.saveContainerDefinition()
at org.jahia.registries.JahiaContainerDefinitionsRegistry.setDefinition(JahiaContainerDefinitionsRegistry.java:216)
at org.jahia.data.containers.JahiaContainerSet.declareContainer(JahiaContainerSet.java:569)
at org.jahia.taglibs.declarations.DeclareContainerListTag.checkDeclaration(DeclareContainerListTag.java:336)
at org.jahia.taglibs.declarations.DeclareContainerListTag.doAfterBody(DeclareContainerListTag.java:304)
at org.apache.jsp.jsp.jahia.templates.monsite.templates_005fintranet.include.alize_005fliens_005fliste_jsp._jspService(org.apache.jsp.jsp.jahia.templates.monsite.templates_005fintranet.include.alize_005fliens_005fliste_jsp:856)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at org.apache.jsp.jsp.jahia.templates.monsite.templates_005fintranet.template_005falize_005faccueil_jsp._jspService(org.apache.jsp.jsp.jahia.templates.monsite.templates_005fintranet.template_005falize_005faccueil_jsp:4989)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.jahia.engines.EngineRenderer.renderCore(EngineRenderer.java:192)
at org.jahia.engines.EngineRenderer.render(EngineRenderer.java:74)
at org.jahia.engines.core.Core_Engine.processCore(Core_Engine.java:175)
at org.jahia.engines.core.Core_Engine.handleActions(Core_Engine.java:106)
at org.jahia.operations.valves.EngineValve.invoke(EngineValve.java:62)
at org.jahia.pipelines.impl.GenericPipeline.invokeNext(GenericPipeline.java:192)
at org.jahia.operations.valves.J2ProcessActionValve.invoke(J2ProcessActionValve.java:102)
at org.jahia.pipelines.impl.GenericPipeline.invokeNext(GenericPipeline.java:192)
at org.jahia.operations.valves.CacheReadValve.invoke(CacheReadValve.java:159)
at org.jahia.pipelines.impl.GenericPipeline.invokeNext(GenericPipeline.java:192)
at org.jahia.operations.valves.PageAccessCheckValve.invoke(PageAccessCheckValve.java:48)
at org.jahia.pipelines.impl.GenericPipeline.invokeNext(GenericPipeline.java:192)
at org.jahia.operations.valves.OperationModeCheckValve.invoke(OperationModeCheckValve.java:67)
at org.jahia.pipelines.impl.GenericPipeline.invokeNext(GenericPipeline.java:192)
at org.jahia.operations.valves.SiteCheckValve.invoke(SiteCheckValve.java:62)
at org.jahia.pipelines.impl.GenericPipeline.invokeNext(GenericPipeline.java:192)
at org.jahia.pipelines.impl.GenericPipeline.invoke(GenericPipeline.java:179)
at org.jahia.operations.OperationManager.handleOperations(OperationManager.java:95)
at org.jahia.bin.JahiaAction.execute(JahiaAction.java:51)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.jahia.bin.Jahia.process(Jahia.java:1525)
at org.jahia.bin.Jahia.service(Jahia.java:767)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.jahia.bin.filters.ntlm.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:135)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.jahia.bin.filters.esi.ESIFilter.doFilter(ESIFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at java.lang.Thread.run(Thread.java:534)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.