You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Thomas Andraschko (JIRA)" <ji...@apache.org> on 2013/04/16 10:11:16 UTC
[jira] [Created] (OWB-841) "Could NOT lazily initialize session
context because of null RequestContext" always occur on session expire
Thomas Andraschko created OWB-841:
-------------------------------------
Summary: "Could NOT lazily initialize session context because of null RequestContext" always occur on session expire
Key: OWB-841
URL: https://issues.apache.org/jira/browse/OWB-841
Project: OpenWebBeans
Issue Type: Bug
Components: Context and Scopes, Core
Affects Versions: 1.1.7
Environment: OWB 1.1.7, CODI, jetty-naven-plugin 9.0.0.M5, MyFaces 2.1.10, BVal 0.5
Reporter: Thomas Andraschko
WARNING: Could NOT lazily initialize session context because of null RequestContext
occurs on every session timeout.
I think the logic in WebContextsService#lazyStartSessionContext is wrong as it will never set the #sessionContexts, as there is not request.
-> The SessionContext never gets a real cleanup as #getSessionContext will always return null in this case.
I will also check it but other commiters has more knowhow about this context stuff, so any help is appreciated.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira