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.
PR: https://github.com/infinispan/jdg/pull/337