org.osgi.framework.BundleException: org.springframework.osgi.service.exporter.support.internal.support.PublishingServiceFactory.getService() returned a null service object

Google Groups | Marcus Ilgner | 8 years ago
  1. 0

    Intermittent "PublishingServiceFactory.getService() returned a null service object" errors

    Google Groups | 8 years ago | Marcus Ilgner
    org.osgi.framework.BundleException: org.springframework.osgi.service.exporter.support.internal.support.PublishingServiceFactory.getService() returned a null service object
  2. 0

    Hi, I have created using pax exam a unit test for my project. Unfortunately, one of my bundle requires this dependency org.osgi.framework.BundleException: Unresolved constraint in bundle 43: package; (&(package=org.osgi.framework)(version>=1.5.0)(!(version>=2.0.0)))ERROR: Error starting file:bundles/blueprint-bundle_1.0.0.SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle 43: package; (&(package=org.osgi.framework)(version>=1.5.0)(!(version>=2.0.0)))) [SpringOsgiExtenderThread-4] INFO org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext - Refreshing org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@1ba94d: display name [OsgiBundleXmlApplicationContext(bundle=com.xpectis.x3s.x3s-service, config=osgibundle:/META-INF/spring/*.xml)]; startup date [Mon Sep 14 16:57:35 CEST 2009]; root of context hierarchy [SpringOsgiExtenderThread-4] INFO org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext - Unpublishing application context OSGi service for bundle x3s-service (com.xpectis.x3s.x3s-service) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3097) at org.apache.felix.framework.Felix.startBundle(Felix.java:1439) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263) at java.lang.Thread.run(Thread.java:619) which is not supported if I add in the configuration options (mavenBundle). mavenBundle("org.osgi","org.osgi").version("2.0.0"), Is there any workaround ?

    JIRA | 7 years ago | Charles Moulliard
    org.osgi.framework.BundleException: Unresolved constraint in bundle 43: package; (&(package=org.osgi.framework)(version>=1.5.0)(!(version>=2.0.0)))ERROR: Error starting file:bundles/blueprint-bundle_1.0.0.SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle 43: package; (&(package=org.osgi.framework)(version>=1.5.0)(!(version>=2.0.0)))) [SpringOsgiExtenderThread-4] INFO org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext - Refreshing org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@1ba94d: display name [OsgiBundleXmlApplicationContext(bundle=com.xpectis.x3s.x3s-service, config=osgibundle:/META-INF/spring/*.xml)]; startup date [Mon Sep 14 16:57:35 CEST 2009]; root of context hierarchy [SpringOsgiExtenderThread-4] INFO org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext - Unpublishing application context OSGi service for bundle x3s-service (com.xpectis.x3s.x3s-service)
  3. 0

    ServiceMix - User - ServiceMix4.4 Custom RollingFileAppender and Layout help

    nabble.com | 1 year ago
    org.osgi.framework.BundleException: A > ctivator start error in bundle org.ops4j.pax.logging.pax-logging-service > [3].) > java.lang.NoClassDefFoundError: > org/ops4j/pax/logging/service/internal/AppenderBridgeImpl at > org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl.configureDefaults(PaxLoggingServiceImpl.java:251) at > org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl.<init>(PaxLoggingServiceImpl.java:61) at > org.ops4j.pax.logging.service.internal.Activator.start(Activator.java:108) at > org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Bundle-NativeCode, how to...

    felix-users | 9 years ago | Karl Pauls
    org.osgi.framework.BundleException: Unable to select a native library clause.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.osgi.framework.BundleException

      org.springframework.osgi.service.exporter.support.internal.support.PublishingServiceFactory.getService() returned a null service object

      at org.eclipse.osgi.framework.internal.core.ServiceUse.getService()
    2. Eclipse OSGi
      BundleContextImpl.getService
      1. org.eclipse.osgi.framework.internal.core.ServiceUse.getService(ServiceUse.java:137)
      2. org.eclipse.osgi.framework.internal.core.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:430)
      3. org.eclipse.osgi.framework.internal.core.BundleContextImpl.getService(BundleContextImpl.java:894)
      3 frames
    3. OSGi
      ServiceTracker.open
      1. org.osgi.util.tracker.ServiceTracker.addingService(ServiceTracker.java:419)
      2. org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
      3. org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)
      4. org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
      5. org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
      5 frames
    4. com.gerig.app
      QuickNavHandler.<init>
      1. com.gerig.app.client.copyright.archive.QuickNavHandler.<init>(QuickNavHandler.java:23)
      1 frame