net.sf.hibernate.AssertionFailure: possible nonthreadsafe access to session

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • net.sf.hibernate.AssertionFailure: possible nonthreadsafe access to session at net.sf.hibernate.impl.SessionImpl.postInsert(SessionImpl.java:2407) at net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.java:38) at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2449) at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2435) at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2392) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2261) at net.sf.hibernate.transaction.JTATransaction.commit(JTATransaction.java:52) at ru.runa.commons.hibernate.HibernateSessionFactory.closeSession(HibernateSessionFactory.java:105) at ru.runa.af.dao.impl.HibernateSessionFactory.closeSession(HibernateSessionFactory.java:54) at ru.runa.af.dao.impl.DAOHibernateImpl.close(DAOHibernateImpl.java:56) at ru.runa.af.dao.impl.DAOHelper.close(DAOHelper.java:37) at ru.runa.af.logic.InitializerLogic.init(InitializerLogic.java:61) at ru.runa.af.service.impl.ejb.InitializerServiceBean.init(InitializerServiceBean.java:68) 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:324) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
No Bugmate found.