Sounds like a bug unless you meant to ask about the BundleEvent being null.  The BundleEvent can be null when opening the tracker and there exists a set of bundles whose current state matches the state mask of the tracker.  In this case there would be no event available for the current bundle's state.

Tom
 
 
 
----- Original message -----
From: Scott Lewis via osgi-dev <[email protected]>
Sent by: [email protected]
To: OSGi Developer Mail List <[email protected]>
Cc:
Subject: [osgi-dev] BundleTracker.addingBundle
Date: Fri, Aug 31, 2018 11:31 AM
 
BundleTracker.addingBundle has arguments Bundle and BundleEvent...i.e.
addingBundle(Bundle,BundleEvent);

What conditions would lead to the Bundle argument being null?

Thanksindvance.


_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

 
 

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to