Service factory returned null | ServiceFactory.getService() resulted in a cycle. | Community
Skip to main content
Level 2
December 27, 2022

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

  • December 27, 2022
  • 2 replies
  • 1243 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

TarunKumar
Community Advisor
Community Advisor
December 27, 2022

Hi @saurabh_kaushik 

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?

Level 2
December 28, 2022

Hi @tarunkumar, All bundles are up and running.

Yes, we upgraded few months back.

New Member
March 27, 2023

Hi, How do you fix this issue?