Osgi service is showing as exposed through ‘ls’ command but client bundle is getting error- Runtime Exception Occured

Solution Verified - Updated -

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.some.package.name].
  • Patch used is R4P3.

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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.