I am using def liferay_portlet_private_session_attributes = false
in grails portlet for liferay .
This i was using to share session values with other portlet .
session.getAttribute("orgid", PortletSession.APPLICATION_SCOPE)
I was getting this error when build,deployed each time refresh the url.
Caused by: java.lang.ClassCastException: org.codehaus.groovy.grails.web.servlet.GrailsFlashScope cannot be cast to org.codehaus.groovy.grails.web.servlet.FlashScope
If i logout and login it works good . But i am unable to understand how to fix it keeping the same settings.
Could any one please tell me is there any fix .