org.apache.felix.log.LogException: org.osgi.framework.ServiceException: Service factory returned null.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Alan Stewart, 1 year ago
org.osgi.framework.ServiceException: Service factory returned null.
via Spring JIRA by Alan Stewart, 1 year ago
org.osgi.framework.ServiceException: Service factory returned null.
via Spring JIRA by yc_mr, 1 year ago
org.osgi.framework.ServiceException: Service factory returned null.
via Spring JIRA by MiB, 1 year ago
org.osgi.framework.ServiceException: Service factory exception: Bad version number in .class file
via Spring JIRA by MiB, 1 year ago
org.osgi.framework.ServiceException: Service factory exception: Bad version number in .class file
via Spring JIRA by yc_mr, 1 year ago
org.osgi.framework.ServiceException: Service factory returned null.
org.apache.felix.log.LogException: org.osgi.framework.ServiceException: Service factory returned null.
at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:338)
at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:220)
at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:322)
at org.apache.felix.framework.Felix.getService(Felix.java:2913)
at org.apache.felix.scr.impl.manager.DependencyManager.getService(DependencyManager.java:761)
at org.apache.felix.scr.impl.manager.DependencyManager$1.getInstance(DependencyManager.java:1003)
at org.apache.felix.scr.impl.helper.BindMethod.getParameters(BindMethod.java:436)
at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:212)
at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38)
at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:542)
at org.apache.felix.scr.impl.helper.BaseMethod$NotResolved.invoke(BaseMethod.java:500)
at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:434)
at org.apache.felix.scr.impl.manager.DependencyManager.invokeBindMethod(DependencyManager.java:991)
at org.apache.felix.scr.impl.manager.DependencyManager.bind(DependencyManager.java:895)
at org.apache.felix.scr.impl.manager.DependencyManager.open(DependencyManager.java:831)
at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:200)
at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118)
at org.apache.felix.scr.impl.manager.DelayedComponentManager.createRealComponent(DelayedComponentManager.java:91)
at org.apache.felix.scr.impl.manager.AbstractComponentManager$Registered.getService(AbstractComponentManager.java:1139)
at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:306)
at org.apache.felix.framework.Felix.getService(Felix.java:2913)
at org.apache.felix.scr.impl.manager.DependencyManager.getService(DependencyManager.java:761)
at org.apache.felix.scr.impl.manager.DependencyManager$1.getInstance(DependencyManager.java:1003)
at org.apache.felix.scr.impl.helper.BindMethod.getParameters(BindMethod.java:436)
at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:212)
at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38)
at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:542)
at org.apache.felix.scr.impl.helper.BaseMethod$NotResolved.invoke(BaseMethod.java:500)
at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:434)
at org.apache.felix.scr.impl.manager.DependencyManager.invokeBindMethod(DependencyManager.java:991)
at org.apache.felix.scr.impl.manager.DependencyManager.bind(DependencyManager.java:907)
at org.apache.felix.scr.impl.manager.DependencyManager.open(DependencyManager.java:831)
at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:200)
at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118)
at org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:991)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:298)
at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.doRun(AbstractComponentManager.java:505)
at org.apache.felix.scr.impl.ComponentActivatorTask.run(ComponentActivatorTask.java:67)
at org.apache.felix.scr.impl.ComponentActorThread.run(ComponentActorThread.java:96)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.