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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content