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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Spring JIRA by Ken Rimple, 1 year ago
org.osgi.framework.ServiceException: Service factory returned null.
via Spring JIRA by Scott Murphy, 1 year ago
org.osgi.framework.ServiceException: Service factory returned null.
via Spring JIRA by Scott Murphy, 1 year ago
org.osgi.framework.ServiceException: Service factory returned null.
via Spring JIRA by Ken Rimple, 1 year ago
org.osgi.framework.ServiceException: Service factory returned null.
via Spring JIRA by Mario Martínez Sánchez - gvNIX - DISID, 1 year ago
org.osgi.framework.ServiceException: Service factory returned null.
via Spring JIRA by Mario Martínez Sánchez - gvNIX - DISID, 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.springframework.roo.startlevel.Activator.getClassName(Activator.java:128)
at org.springframework.roo.startlevel.Activator.access$000(Activator.java:43)
at org.springframework.roo.startlevel.Activator$1.serviceChanged(Activator.java:67)
at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:864)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:732)
at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662)
at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3619)
at org.apache.felix.framework.Felix.access$000(Felix.java:39)
at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:667)
at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:124)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.unregisterComponentService(AbstractComponentManager.java:429)
at org.apache.felix.scr.impl.manager.AbstractComponentManager$Satisfied.deactivate(AbstractComponentManager.java:1065)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.disposeInternal(AbstractComponentManager.java:322)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.dispose(AbstractComponentManager.java:185)
at org.apache.felix.scr.impl.config.ConfiguredComponentHolder.disposeComponents(ConfiguredComponentHolder.java:275)
at org.apache.felix.scr.impl.BundleComponentActivator.dispose(BundleComponentActivator.java:319)
at org.apache.felix.scr.impl.Activator.disposeComponents(Activator.java:277)
at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:800)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:728)
at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3608)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2114)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1148)
at java.lang.Thread.run(Thread.java:680)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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