grails-plugins/grails-blazeds — pull request #1 by damogallagher (2012-09-06 09:33:22+00:00)
Title: Updated bug in BlazedsOpenSessionInViewFilter class

Fixed issue in finally block where sessionHolder was null
Code was
if (!FlushMode.MANUAL.equals(sessionHolder.getSession().getFlushMode())) {
sessionHolder.getSession().flush();
}

Now it is
if (null != sessionHolder && !FlushMode.MANUAL.equals(sessionHolder.getSession().getFlushMode())) {
sessionHolder.getSession().flush();
}