Export to GitHub

full-hibernate-plugin-for-struts2 - issue #19

hibernatePlugin.closeSessionAfterInvoke=false return an exception


Posted on Mar 22, 2010 by Happy Rhino

Verion: 2.2 GA

If I use hibernatePlugin.closeSessionAfterInvoke=false I get:

java.lang.NullPointerException at com.googlecode.s2hibernate.struts2.plugin.interceptors.SessionTransactionInjectorInterceptor.closeHibernateSession(SessionTransactionInjectorInterceptor.java:286)

at line 286: SessionInfo info = new SessionInfo(hibernateSession,new Date(),request.getSession());

request is null.

Comment #1

Posted on Mar 23, 2010 by Grumpy Rabbit

(No comment was entered for this change.)

Comment #2

Posted on Jun 25, 2010 by Grumpy Rabbit

(No comment was entered for this change.)

Comment #3

Posted on Sep 8, 2010 by Grumpy Rabbit

The 2.2.1 GA version is the last release of this project. The new project called "Persistence Plugin" will not have this feature anymore.

Status: WontFix

Labels:
Type-Defect Priority-Medium