Thomas Andraschko created OWB-853:
-------------------------------------

             Summary: CLONE - "Could NOT lazily initialize session context 
because of null RequestContext" always occur on session expire
                 Key: OWB-853
                 URL: https://issues.apache.org/jira/browse/OWB-853
             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, 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

Reply via email to