Tips
From Touchbase
Knopflerfish 2.0
- I've discovered that when using a Declarative Services Component Factory in a bundle you must import org.osgi.service.component in order for it to work correctly (even though there is no direct reference to this package). This is because Knopflerfish uses the bundle classloader to load classes from this package. Knopflerfish is also implemented to swallow the resulting exception leading to a cryptic NullPointerException in ServiceReferenceImpl, making this very hard to track down.
