[
https://issues.apache.org/jira/browse/OWB-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gurkan Erdogdu closed OWB-354.
------------------------------
Assignee: Gurkan Erdogdu (was: Joe Bergmark)
Resolution: Fixed
> 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: Gurkan Erdogdu
> Fix For: 1.0.0-CR1
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.