Fuse JDG example throws java.lang.NullPointerException.

Solution Verified - Updated -

Issue

  • JDG example fails to start and getting the attached exception.
  • Used below command to install the POC,
fabric:profile-create --parent default jdg-cacheservice
profile-edit --repositories mvn:org.infinispan/infinispan-embedded/6.4.0.Final-redhat-4/xml/features jdg-cacheservice
profile-edit --repositories  mvn:com.mycompany.testbundle/features/1.0.0/xml/features jdg-cacheservice
profile-edit --feature jdg-job-service jdg-cacheservice
fabric:container-create-child --profile jdg-cacheservice fuse1 fuse1_cacheservice
  • Error in logs
Caused by: java.lang.NullPointerException
  at org.osgi.util.tracker.ServiceTracker.(ServiceTracker.java:184)[karaf.jar:2.4.0.redhat-621107]
  at org.infinispan.commons.util.ServiceFinder.addOsgiServices(ServiceFinder.java:74)
  at org.infinispan.commons.util.ServiceFinder.load(ServiceFinder.java:49)
  at org.infinispan.configuration.parsing.ParserRegistry.(ParserRegistry.java:52)
  at org.infinispan.configuration.parsing.ParserRegistry.(ParserRegistry.java:46)
  at org.infinispan.manager.DefaultCacheManager.(DefaultCacheManager.java:270)

Environment

  • Red Hat JBoss Fuse
    • 6.2.1

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