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 liferay.com by Unknown author, 2 years ago
illegally attempted to associate a proxy with two open Sessions
via liferay.com by Unknown author, 1 year ago
illegally attempted to associate a proxy with two open Sessions
via Stack Overflow by Cratylus
, 1 year ago
illegally attempted to associate a proxy with two open Sessions
via Stack Overflow by czetsuya
, 2 years ago
illegally attempted to associate a proxy with two open Sessions
via Stack Overflow by Ibrahim Alsaman
, 2 years ago
illegally attempted to associate a proxy with two open Sessions
via Stack Overflow by Unknown author, 2 years ago
illegally attempted to associate a proxy with two open Sessions
org.hibernate.HibernateException: illegally attempted to associate a proxy with two open Sessions	at org.hibernate.proxy.AbstractLazyInitializer.setSession(AbstractLazyInitializer.java:126)	at org.hibernate.engine.StatefulPersistenceContext.reassociateProxy(StatefulPersistenceContext.java:573)	at org.hibernate.engine.StatefulPersistenceContext.unproxyAndReassociate(StatefulPersistenceContext.java:618)	at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:89)	at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:685)	at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:677)	at org.hibernate.engine.CascadingAction$5.cascade(CascadingAction.java:252)	at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:392)	at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:335)	at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:204)	at org.hibernate.engine.Cascade.cascade(Cascade.java:161)	at org.hibernate.event.def.AbstractFlushingEventListener.cascadeOnFlush(AbstractFlushingEventListener.java:154)	at org.hibernate.event.def.AbstractFlushingEventListener.prepareEntityFlushes(AbstractFlushingEventListener.java:145)	at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:88)	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)	at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:144)	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.flush(ClassLoaderSession.java:237)	at com.liferay.portal.dao.orm.hibernate.PortletSessionFactoryImpl.closeSession(PortletSessionFactoryImpl.java:57)	at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.closeSession(BasePersistenceImpl.java:83)