"Application context timed out" on plugin installation

Hi,

one of our customers is reporting an error upon installation of our data center app. The log states:

2023-07-11 14:59:32,972 ERROR [Spring DM Context Creation Timer] [extender.internal.support.ExtenderConfiguration] onOsgiApplicationEvent Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.yworks.plugins.confluence.graphity, config=osgibundle:/META-INF/spring/*.xml))
org.springframework.context.ApplicationContextException: Application context initialization for 'com.yworks.plugins.confluence.graphity' has timed out waiting for (&(objectClass=com.atlassian.mywork.service.LocalNotificationService)(objectClass=com.atlassian.mywork.service.LocalNotificationService))

2023-07-11 15:36:12,489 ERROR [Spring DM Context Creation Timer] [extender.internal.support.ExtenderConfiguration] onOsgiApplicationEvent Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.yworks.plugins.confluence.graphity, config=osgibundle:/META-INF/spring/*.xml))

Unfortunately, I’m absolutely at a loss where even to start looking - is this an incompatibility between our app and confluence? Something we need to do differently? A recent change in confluence? Spring weirdness?

Customer has no problem getting this up and running on a test instance, so it’s not a general problem with our app.

Can someone give me some pointers?

Thank you so much!
Jasmine

are you fixed this?

We haven’t gotten any more feedback from our customer, unfortunately…

1 Like

Hi @JasmineMller :- Can you please share if the fix done for the above error, i was also facing similar to like below when doing spring scanner changes for Platform 7 changes for Jira 10.x. Please share your suggestions on this.

2024-09-03 20:15:41,765+0530 Spring DM Context Creation Timer ERROR      [c.a.p.osgi.factory.OsgiPlugin] Plugin 'datacollector' never resolved service '&condition' with filter '(&(objectClass=com.atlassian.plugin.web.Condition)(objectClass=com.atlassian.plugin.web.Condition))'
2024-09-03 20:15:41,765+0530 Spring DM Context Creation Timer ERROR      [c.a.p.osgi.factory.OsgiPlugin] Unable to start the plugin container for plugin 'ru.andreymarkelov.atlas.plugins.datacollector'
org.springframework.context.ApplicationContextException: Application context initialization for 'datacollector' has timed out waiting for (&(objectClass=com.atlassian.plugin.web.Condition)(objectClass=com.atlassian.plugin.web.Condition))

2024-09-03 20:15:41,781+0530 Spring DM Context Creation Timer ERROR      [o.e.g.b.e.internal.support.ExtenderConfiguration] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=datacollector, config=osgibundle:/META-INF/spring/*.xml))
org.springframework.context.ApplicationContextException: Application context initialization for 'datacollector' has timed out waiting for (&(objectClass=com.atlassian.plugin.web.Condition)(objectClass=com.atlassian.plugin.web.Condition))