org.osgi.framework.ServiceException: Service factory returned null.

GitHub | jhercher | 2 years ago
  1. 0

    geonames indexing

    stanbol-dev | 8 months ago | Pooja H Bavishi
    org.osgi.framework.ServiceException: Service factory returned null.
  2. 0

    GitHub comment 4604#243449433

    GitHub | 3 months ago | mhilbush
    org.osgi.framework.ServiceException: org.apache.felix.scr.impl.manager.SingleComponentManager.getService() returned a null service object
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 4604#243447882

    GitHub | 3 months ago | kaikreuzer
    org.osgi.framework.ServiceException: org.apache.felix.scr.impl.manager.SingleComponentManager.getService() returned a null service object
  5. 0

    GitHub comment 4604#242585793

    GitHub | 4 months ago | mhilbush
    org.osgi.framework.ServiceException: org.apache.felix.scr.impl.manager.SingleComponentManager.getService() returned a null service object

    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.ServiceException

      Service factory returned null.

      at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked()
    2. Apache Felix Framework
      ServiceRegistrationImpl$ServiceFactoryPrivileged.run
      1. org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:341)
      2. org.apache.felix.framework.ServiceRegistrationImpl.access$100(ServiceRegistrationImpl.java:35)
      3. org.apache.felix.framework.ServiceRegistrationImpl$ServiceFactoryPrivileged.run(ServiceRegistrationImpl.java:372)
      3 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    4. Apache Felix Framework
      BundleContextImpl.getService
      1. org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:214)
      2. org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:320)
      3. org.apache.felix.framework.Felix.getService(Felix.java:3556)
      4. org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:468)
      4 frames
    5. org.apache.stanbol
      NameBasedServiceTrackingState.addingService
      1. org.apache.stanbol.enhancer.servicesapi.impl.NameBasedServiceTrackingState.addingService(NameBasedServiceTrackingState.java:163)
      1 frame
    6. OSGi
      ServiceTracker.open
      1. org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)
      2. org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)
      3. org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
      4. org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)
      5. org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:317)
      6. org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)
      6 frames
    7. org.apache.stanbol
      EnhancementEngineManagerImpl.activate
      1. org.apache.stanbol.enhancer.servicesapi.impl.EnginesTracker.open(EnginesTracker.java:212)
      2. org.apache.stanbol.enhancer.enginemanager.impl.EnhancementEngineManagerImpl.activate(EnhancementEngineManagerImpl.java:45)
      2 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    9. Apache Felix Declarative Services
      Activator$ScrExtension.start
      1. org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:231)
      2. org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:39)
      3. org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:624)
      4. org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:508)
      5. org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:149)
      6. org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:315)
      7. org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:127)
      8. org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:871)
      9. org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:838)
      10. org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:850)
      11. org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:419)
      12. org.apache.felix.scr.impl.config.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:376)
      13. org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:172)
      14. org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:120)
      15. org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:258)
      16. org.apache.felix.scr.impl.Activator.access$000(Activator.java:45)
      17. org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:185)
      17 frames
    10. Apache Felix Bundle Repository
      AbstractExtender.modifiedBundle
      1. org.apache.felix.utils.extender.AbstractExtender.createExtension(AbstractExtender.java:259)
      2. org.apache.felix.utils.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:232)
      2 frames
    11. OSGi
      BundleTracker$Tracked.bundleChanged
      1. org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:479)
      2. org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:414)
      3. org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232)
      4. org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:443)
      4 frames
    12. Apache Felix Framework
      EventDispatcher$3.run
      1. org.apache.felix.framework.util.EventDispatcher$3.run(EventDispatcher.java:861)
      1 frame
    13. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    14. Apache Felix Framework
      FrameworkStartLevelImpl.run
      1. org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:858)
      2. org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)
      3. org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)
      4. org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4385)
      5. org.apache.felix.framework.Felix.startBundle(Felix.java:2080)
      6. org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1279)
      7. org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
      7 frames
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame