WebContextService may throw NPE in tiered classloading environmemt
------------------------------------------------------------------
Key: OWB-354
URL: https://issues.apache.org/jira/browse/OWB-354
Project: OpenWebBeans
Issue Type: Bug
Components: Context and Scopes
Affects Versions: M4
Reporter: Joe Bergmark
Assignee: Joe Bergmark
Fix For: 1.0.0
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira