Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-853

CLONE - "Could NOT lazily initialize session context because of null RequestContext" always occur on session expire

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.7
    • 1.5.0
    • Context and Scopes, Core
    • None
    • OWB 1.1.7, CODI, jetty-naven-plugin 9.0.0.M5, MyFaces 2.1.10, BVal 0.5

    Description

      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.

      Attachments

        1. OWB-841.patch
          11 kB
          Thomas Andraschko
        2. OWB-841.patch
          2 kB
          Thomas Andraschko

        Issue Links

          Activity

            People

              tandraschko Thomas Andraschko
              tandraschko Thomas Andraschko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: