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

WebContextService may throw NPE in tiered classloading environmemt

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • M4
    • 1.0.0-alpha-1
    • Context and Scopes
    • None

    Description

      WebContextService sets the static context variables (which are ThreadLocals) to null during a call to destroy. For example requestContext.

      In a classloading environment where the same WebContextService would be shared between webapps, this could lead to a NullPointerException in another application as the static variable has been set to null and that static would be shared.

      Attachments

        Activity

          People

            gerdogdu Gurkan Erdogdu
            bergmark Joseph E Bergmark
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: