Highlighted

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

sai111

24-09-2018

During aem 6.3 server restart Service factory started returning null all of a sudden and server is throwing  500 internal server error cannot open any of the cq consoles

FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returning null. (Component: com.day.cq.xss.impl.XSSProtectionServiceImpl (820)))

org.osgi.framework.ServiceException: Service factory returned null. (Component: com.day.cq.xss.impl.XSSProtectionServiceImpl (820))

at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:380)

at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:247)

at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:344)

at org.apache.felix.framework.Felix.getService(Felix.java:3700)

at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:470)

at org.apache.felix.scr.impl.manager.SingleRefPair.getServiceObject(SingleRefPair.java:72)

Can someone please help this suddenly started happening in all the aem environments

Replies

Highlighted

sai111

25-09-2018

Hi upgrade happened during last December and not even code changes are made this time ...everything is working fine till last Sunday...yesterday morning when we opened cq instance  all of a sudden  siteadmin user admin damadmin consoles started showing up blank, since all bundles are up and no error shown up in logs restart is being asked thinking environment is unstable  and once restart is done this error started showing up in logs and 500 internal server error started showing up on login screen...and even Felix scr bundle is up to date updating the bundle even did not fix the issue