warlockza / full-hibernate-plugin-for-struts2

Automatically exported from code.google.com/p/full-hibernate-plugin-for-struts2
0 stars 0 forks source link

hibernatePlugin.closeSessionAfterInvoke=false return an exception #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Verion: 2.2 GA

If I use hibernatePlugin.closeSessionAfterInvoke=false I get:

java.lang.NullPointerException at
com.googlecode.s2hibernate.struts2.plugin.interceptors.SessionTransactionInjecto
rInterceptor.closeHibernateSession(SessionTransactionInjectorInterceptor.java:28
6)

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

request is null.

Original issue reported on code.google.com by mitridat...@gmail.com on 22 Mar 2010 at 3:40

GoogleCodeExporter commented 8 years ago

Original comment by jyoshiriro on 23 Mar 2010 at 10:16

GoogleCodeExporter commented 8 years ago

Original comment by jyoshiriro on 25 Jun 2010 at 10:40

GoogleCodeExporter commented 8 years ago
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.

Original comment by jyoshiriro on 8 Sep 2010 at 10:00