org.hibernate.AssertionFailure: possible nonthreadsafe access to session[/b]

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via liferay.com by Unknown author, 1 year ago
possible nonthreadsafe access to session[/b]
via liferay.com by Unknown author, 1 year ago
via liferay.com by Unknown author, 1 year ago
possible nonthreadsafe access to session[/b]
via Liferay Issues by Ricardo Vieira, 1 year ago
possible nonthreadsafe access to session
via hivmr.com by Unknown author, 1 year ago
org.hibernate.AssertionFailure: possible nonthreadsafe access to session[/b]
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:83)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:268)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:260)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1206)
at sun.reflect.GeneratedMethodAccessor481.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at undefined.$Proxy250.flush(Unknown Source)
at com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceImpl.removeImpl(AssetEntryPersistenceImpl.java:315)
at com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceImpl.removeImpl(AssetEntryPersistenceImpl.java:1)
at com.liferay.portlet.asset.service.impl.AssetEntryLocalServiceImpl.deleteEntry(AssetEntryLocalServiceImpl.java:89)
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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor.invoke(DynamicDataSourceTransactionInterceptor.java:44)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

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.

Write tip

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