Bug 1161349

Summary: ISPN-4679: OsgiClassLoader needs null check when iterating bundles
Product: [JBoss] JBoss Data Grid 6 Reporter: dereed
Component: LibraryAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Gencur <mgencur>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: dberinde, jdg-bugs, slaskawi
Target Milestone: ER4   
Target Release: 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-28 13:27:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description dereed 2014-11-07 00:39:19 UTC
Description of problem:
org.infinispan.commons.util.OsgiClassLoader gets a NullPointerException when iterating through bundles if a bundle has been garbage collected.
It requires a null check when the bundle is retrieved from a WeakReference.

Comment 3 Dan Berindei 2014-11-07 10:11:15 UTC
PR: https://github.com/infinispan/jdg/pull/337