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 11:39:17 UTC

[jira] [Updated] (OWB-841) "Could NOT lazily initialize session context because of null RequestContext" always occur on session expire

     [ https://issues.apache.org/jira/browse/OWB-841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Andraschko updated OWB-841:
----------------------------------

    Attachment: OWB-841.patch

Patch for 1.1 branch.
I also fixed this for passivation.

A short review would be great :)
                
> "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
>            Assignee: Thomas Andraschko
>         Attachments: OWB-841.patch
>
>
> 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