Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Sling Models OSGi Service Disposal Job

Avatar

Level 3

We're seeing the following error message on our AEM publisher server. We're running AEM 6.5.10 in the cloud. Is anyone familiar with this error? Thanks.

 

03.03.2022 16:06:33.358 *ERROR* [sling-default-2-Sling Models OSGi Service Disposal Job] org.apache.sling.commons.scheduler.impl.QuartzScheduler Exception during job execution of job 'org.apache.sling.models.impl.ModelAdapterFactory@36b22feb' with name 'Sling Models OSGi Service Disposal Job' : Invalid BundleContext.
java.lang.IllegalStateException: Invalid BundleContext.
        at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:491)
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Can you try these following steps:

 

- Check if all the bundles are in active state.

- Restart bundles once to see if the error goes away.

- Make sure you have included (Immediate=true) in your OSGi services.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Can you try these following steps:

 

- Check if all the bundles are in active state.

- Restart bundles once to see if the error goes away.

- Make sure you have included (Immediate=true) in your OSGi services.