Expand my Community achievements bar.

Service factory returned null | ServiceFactory.getService() resulted in a cycle.

Avatar

Level 2

Hi All,

 

I am getting below error in AEM logs on all instances of author and publish, please suggest the solution to resolve the same.

 

*INFO* [FelixFrameworkWiring] com.adobe.acs.acs-aem-commons-bundle Service [com.adobe.acs.commons.oak.impl.EnsureOakIndexServlet,139925, [javax.servlet.Servlet]] ServiceEvent UNREGISTERING
*WARN* [FelixFrameworkWiring] com.adobe.acs.acs-aem-commons-bundle bundle com.adobe.acs.acs-aem-commons-bundle:5.2.0 (478)[com.adobe.acs.commons.oak.impl.EnsureOakIndexManagerImpl(522245)] : Could not get service from ref [com.adobe.acs.commons.oak.impl.AppliableEnsureOakIndex]
*WARN* [FelixFrameworkWiring] com.adobe.acs.acs-aem-commons-bundle bundle com.adobe.acs.acs-aem-commons-bundle:5.2.0 (478)[com.adobe.acs.commons.oak.impl.EnsureOakIndexManagerImpl(522245)] : DependencyManager : invokeUnbindMethod : Service not available from service registry for ServiceReference [com.adobe.acs.commons.oak.impl.AppliableEnsureOakIndex] for reference ensureIndexes
*ERROR* [FelixDispatchQueue] com.adobe.acs.acs-aem-commons-bundle FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null. (Component: com.adobe.acs.commons.oak.impl.EnsureOakIndex (522203)))
org.osgi.framework.ServiceException: Service factory returned null. (Component: com.adobe.acs.commons.oak.impl.EnsureOakIndex (522203))

 

*WARN* [FelixFrameworkWiring] com.adobe.acs.acs-aem-commons-bundle bundle com.adobe.acs.acs-aem-commons-bundle:5.2.0 (478)[com.adobe.acs.commons.oak.impl.EnsureOakIndex(556104)] : Could not get service from ref [javax.management.DynamicMBean, com.adobe.acs.commons.oak.EnsureOakIndexManager]
*ERROR* [FelixDispatchQueue] com.adobe.acs.acs-aem-commons-bundle FrameworkEvent ERROR (org.osgi.framework.ServiceException: ServiceFactory.getService() resulted in a cycle.)
org.osgi.framework.ServiceException: ServiceFactory.getService() resulted in a cycle.

3 Replies

Avatar

Community Advisor

Hi @saurabhkaushik 

Can you please check if all bundles are up and running properly?
Also, can you confirm if you have done upgrade for the AEM in recent past?

Avatar

Level 2

Hi @TarunKumar, All bundles are up and running.

Yes, we upgraded few months back.

Avatar

Level 1

Hi, How do you fix this issue?