Application bundle is not able to consume OSGI service exposed by other bundle which is in active state in Fabric environment.
Issue
- Osgi service is showing as exposed through ‘ls’ command but client bundle is getting error Runtime Exception Occured.
java.lang.IllegalStateException: getService() returned null for [com.mycompany.package]
Environment
- Red Hat JBoss Fuse
- 6.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
