org.hibernate.SessionException

Session is closed\!

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web154

  • via Hibernate JIRA by Markus Junginger, 1 year ago
    Session is closed!
  • via JIRA by Damian Jansen, 7 months ago
    Session is closed!
  • via XWiki.org JIRA by Sergiu Dumitriu, 1 year ago
    Session is closed!
  • Stack trace

    • org.hibernate.SessionException: Session is closed\! at org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:72) at org.hibernate.impl.SessionImpl.getBatcher(SessionImpl.java:305) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2411) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2874) at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184) 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:1216) at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:795) at org.openxava.jpa.impl.EntityManagerDecorator.flush(EntityManagerDecorator.java:164) at org.openxava.model.impl.JPAPersistenceProvider.flush(JPAPersistenceProvider.java:72) at org.openxava.model.impl.MapFacadeBean.commitTransaction(MapFacadeBean.java:76) at org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:45) at org.openxava.model.MapFacade.create(MapFacade.java:111) at net.grupobit.fenix.actions.GuardarAction.execute(GuardarAction.java:23) at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:403) at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:320) at org.openxava.controller.ModuleManager.execute(ModuleManager.java:280)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.