[
https://issues.apache.org/jira/browse/OWB-740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Andraschko resolved OWB-740.
-----------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.1.8)
1.2.0
> NPE while removing dependent beans
> ----------------------------------
>
> Key: OWB-740
> URL: https://issues.apache.org/jira/browse/OWB-740
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Context and Scopes
> Affects Versions: 1.1.6, 1.1.7
> Reporter: Thomas Andraschko
> Assignee: Thomas Andraschko
> Fix For: 1.2.0
>
> Attachments: OWB-736.patch, OWB-736.patch
>
>
> CreationalContextImpl#removeAllDependents on line 281:
> Collection<List<DependentCreationalContext<?>>> values =
> dependentObjects.values();
> dependentObjects can be null.
> We should do a second null check inside the synchronized block.
> There are other synchronized blocks in this class, maybe we should check them
> too.
--
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