Info Macro - no metadata - Default Macro metadata disabled

When trying to add a info macro via "Insert" -> "Info" or when trying to edit an existing info macro we're getting the following error:

"No Macro Metadata

There is no metadata configured for this macro which means no configuration screen can be presented here.

If this is a user macro then you can add metadata to the template using the User Macro Administration console."

I tried disabling all user plugins (safe mode) and even in safe mode it was still occuring. Any idea why this might be occuring or how to fix it?

Edit 1:
On looking further, this seems to also be happening with:

Table of contents macro
Status Macro
Team Calendars Macro

So it's quite a few macros (but not all as some of them are working properly)

Edit 2:
So I looked around a few others are having this issue:
https://answers.atlassian.com/questions/216979/default-macro-metadata-provider-is-disable-after-upgrade-to-5-2-3
https://confluence.atlassian.com/display/CONFKB/Default+Macro+Metadata+Provider+Plugin+Disabled+After+Upgrade

I also tried to remove the plugins caches and restarting confluence, but that completely broke the site so I had to reenable it (instructions are found here: https://confluence.atlassian.com/display/CONFKB/How+to+Clear+Confluence+Plugins+Cache)

None of the issues above helped solve my problem. The default macro metadata seems to be disabled still with no hope of getting it up and running

Edit 3:
As requested, here is the 4 locations that 'macroMetadataProvider' appeas in the atlassian-confluence.log file with 20 lines shown before and after (lemme know if more is needed)

12635-  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:977)
12636-  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:329)
12637-  at com.atlassian.spring.container.SpringContainerContext.autowireComponent(SpringContainerContext.java:102)
12638-  at com.atlassian.spring.container.ContainerManager.autowireComponent(ContainerManager.java:58)
12639-  at com.niclabs.confluence.mobile.ConfluenceMobileService.<init>(ConfluenceMobileService.java:86)
12640-  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
12641-  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
12642-  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
12643-  at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
12644-  at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
12645-  ... 38 more
12646-Caused by: java.lang.ClassNotFoundException: bucket.core.persistence.hibernate.AnyTypeHibernateObjectDao
12647-  at java.lang.ClassLoader.findClass(ClassLoader.java:518)
12648-  at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
12649-  at com.atlassian.plugin.classloader.PluginClassLoader.loadClass(PluginClassLoader.java:192)
12650-  at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
12651-  ... 62 more
12652-2014-01-11 04:18:31,978 WARN [active-objects-ddl-0] [java.ao.schema.SchemaGenerator] validateOneToManyAnnotation public abstract com.atlassian.mywork.host.dao.ao.AOUserApplicationLink[] com.atlassian.mywork.host.dao.ao.AOUser.getUserApplicationLinks() does not have a value specified for the reverse element of its OneToMany annotation. A value will be required by a future version of ActiveObjects.
12653-2014-01-11 04:18:31,984 WARN [active-objects-ddl-0] [java.ao.schema.SchemaGenerator] validateOneToManyAnnotation public abstract com.atlassian.mywork.host.dao.ao.AOUserApplicationLink[] com.atlassian.mywork.host.dao.ao.AOUser.getUserApplicationLinks() does not have a value specified for the reverse element of its OneToMany annotation. A value will be required by a future version of ActiveObjects.
12654-2014-01-11 04:18:33,406 ERROR [main] [atlassian.plugin.manager.DefaultPluginManager] enableConfiguredPluginModule There was an error loading the descriptor 'null' of plugin 'confluence.macro.metadata.provider'. Disabling.
12655:com.atlassian.spring.container.ComponentNotFoundException: Failed to find component: Error creating bean with name 'macroMetadataProviders' defined in class path resource [x]: Cannot create inner bean 'com.atlassian.confluence.macro.browser.DefaultMacroMetadataProvider#6b7660a2' of type [com.atlassian.confluence.macro.browser.DefaultMacroMetadataProvider] while setting bean property 'sourceList' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.confluence.macro.browser.DefaultMacroMetadataProvider#6b7660a2' defined in class path resource [x]: Cannot create inner bean 'com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory#6ef263cd' of type [com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory#6ef263cd' defined in class path resource [x]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class,com.atlassian.plugin.predicate.ModuleDescriptorPredicate)] threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/lucene/search/ConstantScoreRangeQuery
12656-  at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:79)
12657-  at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)
12658-  at com.atlassian.confluence.plugin.descriptor.SpringComponentModuleDescriptor.enabled(SpringComponentModuleDescriptor.java:122)
12659-  at com.atlassian.plugin.manager.DefaultPluginManager.notifyModuleEnabled(DefaultPluginManager.java:1661)
12660-  at com.atlassian.confluence.plugin.ConfluencePluginManager.notifyModuleEnabled(ConfluencePluginManager.java:135)
12661-  at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModule(DefaultPluginManager.java:1453)
12662-  at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModules(DefaultPluginManager.java:1420)
12663-  at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:875)
12664-  at com.atlassian.confluence.plugin.ConfluencePluginManager.addPlugins(ConfluencePluginManager.java:236)
12665-  at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:258)
12666-  at com.atlassian.confluence.plugin.ConfluencePluginManager.init(ConfluencePluginManager.java:207)
12667-  at com.atlassian.confluence.plugin.PluginFrameworkContextListener.contextInitialized(PluginFrameworkContextListener.java:54)
12668-  at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
12669-  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
12670-  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
12671-  at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
12672-  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
12673-  at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
12674-  at org.apache.catalina.core.StandardService.start(StandardService.java:525)
12675-  at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
12676-  at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
12677-  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
12678-  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
12679-  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
12680-  at java.lang.reflect.Method.invoke(Method.java:601)
12681-  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
12682-  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
12683:Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'macroMetadataProviders' defined in class path resource [x]: Cannot create inner bean 'com.atlassian.confluence.macro.browser.DefaultMacroMetadataProvider#6b7660a2' of type [com.atlassian.confluence.macro.browser.DefaultMacroMetadataProvider] while setting bean property 'sourceList' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.confluence.macro.browser.DefaultMacroMetadataProvider#6b7660a2' defined in class path resource [x]: Cannot create inner bean 'com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory#6ef263cd' of type [com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory#6ef263cd' defined in class path resource [x]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class,com.atlassian.plugin.predicate.ModuleDescriptorPredicate)] threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/lucene/search/ConstantScoreRangeQuery
12684-  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)
12685-  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)
12686-  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:287)
12687-  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126)
12688-  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
12689-  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
12690-  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
12691-  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
12692-  at java.security.AccessController.doPrivileged(Native Method)
12693-  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
12694-  at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
12695-  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
12696-  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
12697-  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
12698-  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:168)
12699-  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:238)
12700-  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
12701-  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
12702-  at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:75)
12703-  ... 26 more
--
14819-2014-01-11 04:36:17,180 WARN [active-objects-ddl-0] [java.ao.schema.SchemaGenerator] validateOneToManyAnnotation public abstract com.gliffy.plugin.confluence.api.v1.ao.CustomLibraryEntity[] com.gliffy.plugin.confluence.api.v1.ao.UserEntity.getCustomLibraryEntities() does not have a value specified for the reverse element of its OneToMany annotation. A value will be required by a future version of ActiveObjects.
14820-2014-01-11 04:36:17,186 WARN [active-objects-ddl-0] [java.ao.schema.SchemaGenerator] validateManyToManyAnnotation public abstract com.gliffy.plugin.confluence.api.v1.ao.CustomLibraryEntity[] com.gliffy.plugin.confluence.api.v1.ao.UserEntity.getFavoriteLibraries() does not have a value specified for the reverse element of its ManyToMany annotation. A value will be required by a future version of ActiveObjects.
14821-2014-01-11 04:36:17,186 WARN [active-objects-ddl-0] [java.ao.schema.SchemaGenerator] validateManyToManyAnnotation public abstract com.gliffy.plugin.confluence.api.v1.ao.CustomLibraryEntity[] com.gliffy.plugin.confluence.api.v1.ao.UserEntity.getFavoriteLibraries() does not have a value specified for the through element of its ManyToMany annotation. A value will be required by a future version of ActiveObjects.
14822-2014-01-11 04:36:17,187 WARN [active-objects-ddl-0] [java.ao.schema.SchemaGenerator] validateManyToManyAnnotation public abstract com.gliffy.plugin.confluence.api.v1.ao.UserEntity[] com.gliffy.plugin.confluence.api.v1.ao.CustomLibraryEntity.getFavoriteUsers() does not have a value specified for the reverse element of its ManyToMany annotation. A value will be required by a future version of ActiveObjects.
14823-2014-01-11 04:36:17,187 WARN [active-objects-ddl-0] [java.ao.schema.SchemaGenerator] validateManyToManyAnnotation public abstract com.gliffy.plugin.confluence.api.v1.ao.UserEntity[] com.gliffy.plugin.confluence.api.v1.ao.CustomLibraryEntity.getFavoriteUsers() does not have a value specified for the through element of its ManyToMany annotation. A value will be required by a future version of ActiveObjects.
14824-2014-01-11 04:36:17,188 WARN [active-objects-ddl-0] [java.ao.schema.SchemaGenerator] validateOneToManyAnnotation public abstract com.gliffy.plugin.confluence.api.v1.ao.CustomShapeEntity[] com.gliffy.plugin.confluence.api.v1.ao.CustomLibraryEntity.getShapes() does not have a value specified for the reverse element of its OneToMany annotation. A value will be required by a future version of ActiveObjects.
14825-2014-01-11 04:36:17,188 WARN [active-objects-ddl-0] [java.ao.schema.SchemaGenerator] validateOneToManyAnnotation public abstract com.gliffy.plugin.confluence.api.v1.ao.CustomLibraryEntity[] com.gliffy.plugin.confluence.api.v1.ao.UserEntity.getCustomLibraryEntities() does not have a value specified for the reverse element of its OneToMany annotation. A value will be required by a future version of ActiveObjects.
14826-2014-01-11 04:36:17,189 WARN [active-objects-ddl-0] [java.ao.schema.SchemaGenerator] validateManyToManyAnnotation public abstract com.gliffy.plugin.confluence.api.v1.ao.CustomLibraryEntity[] com.gliffy.plugin.confluence.api.v1.ao.UserEntity.getFavoriteLibraries() does not have a value specified for the reverse element of its ManyToMany annotation. A value will be required by a future version of ActiveObjects.
14827-2014-01-11 04:36:17,189 WARN [active-objects-ddl-0] [java.ao.schema.SchemaGenerator] validateManyToManyAnnotation public abstract com.gliffy.plugin.confluence.api.v1.ao.CustomLibraryEntity[] com.gliffy.plugin.confluence.api.v1.ao.UserEntity.getFavoriteLibraries() does not have a value specified for the through element of its ManyToMany annotation. A value will be required by a future version of ActiveObjects.
14828-2014-01-11 04:36:17,190 WARN [active-objects-ddl-0] [java.ao.schema.SchemaGenerator] validateOneToManyAnnotation public abstract com.gliffy.plugin.confluence.api.v1.ao.CustomLibraryEntity[] com.gliffy.plugin.confluence.api.v1.ao.UserEntity.getCustomLibraryEntities() does not have a value specified for the reverse element of its OneToMany annotation. A value will be required by a future version of ActiveObjects.
14829-2014-01-11 04:36:17,190 WARN [active-objects-ddl-0] [java.ao.schema.SchemaGenerator] validateManyToManyAnnotation public abstract com.gliffy.plugin.confluence.api.v1.ao.CustomLibraryEntity[] com.gliffy.plugin.confluence.api.v1.ao.UserEntity.getFavoriteLibraries() does not have a value specified for the reverse element of its ManyToMany annotation. A value will be required by a future version of ActiveObjects.
14830-2014-01-11 04:36:17,191 WARN [active-objects-ddl-0] [java.ao.schema.SchemaGenerator] validateManyToManyAnnotation public abstract com.gliffy.plugin.confluence.api.v1.ao.CustomLibraryEntity[] com.gliffy.plugin.confluence.api.v1.ao.UserEntity.getFavoriteLibraries() does not have a value specified for the through element of its ManyToMany annotation. A value will be required by a future version of ActiveObjects.
14831-2014-01-11 04:36:17,294 WARN [main] [descriptor.web.conditions.SystemAdministratorOrSuperUserCondition] <init> SystemAdministratorOrSuperUserCondition has been deprecated since Confluence 3.5. Please use com.atlassian.confluence.plugin.descriptor.web.conditions.SystemAdministratorCondition instead.
14832-2014-01-11 04:36:17,309 WARN [main] [descriptor.web.conditions.SystemAdministratorOrSuperUserCondition] <init> SystemAdministratorOrSuperUserCondition has been deprecated since Confluence 3.5. Please use com.atlassian.confluence.plugin.descriptor.web.conditions.SystemAdministratorCondition instead.
14833-2014-01-11 04:36:17,310 WARN [main] [descriptor.web.conditions.SystemAdministratorOrSuperUserCondition] <init> SystemAdministratorOrSuperUserCondition has been deprecated since Confluence 3.5. Please use com.atlassian.confluence.plugin.descriptor.web.conditions.SystemAdministratorCondition instead.
14834-2014-01-11 04:36:17,311 WARN [main] [descriptor.web.conditions.SystemAdministratorOrSuperUserCondition] <init> SystemAdministratorOrSuperUserCondition has been deprecated since Confluence 3.5. Please use com.atlassian.confluence.plugin.descriptor.web.conditions.SystemAdministratorCondition instead.
14835-2014-01-11 04:36:17,317 WARN [main] [descriptor.web.conditions.SystemAdministratorOrSuperUserCondition] <init> SystemAdministratorOrSuperUserCondition has been deprecated since Confluence 3.5. Please use com.atlassian.confluence.plugin.descriptor.web.conditions.SystemAdministratorCondition instead.
14836-2014-01-11 04:36:17,502 WARN [active-objects-ddl-0] [java.ao.schema.SchemaGenerator] validateOneToManyAnnotation public abstract com.atlassian.mywork.host.dao.ao.AOUserApplicationLink[] com.atlassian.mywork.host.dao.ao.AOUser.getUserApplicationLinks() does not have a value specified for the reverse element of its OneToMany annotation. A value will be required by a future version of ActiveObjects.
14837-2014-01-11 04:36:17,504 WARN [active-objects-ddl-0] [java.ao.schema.SchemaGenerator] validateOneToManyAnnotation public abstract com.atlassian.mywork.host.dao.ao.AOUserApplicationLink[] com.atlassian.mywork.host.dao.ao.AOUser.getUserApplicationLinks() does not have a value specified for the reverse element of its OneToMany annotation. A value will be required by a future version of ActiveObjects.
14838-2014-01-11 04:36:18,819 ERROR [main] [atlassian.plugin.manager.DefaultPluginManager] enableConfiguredPluginModule There was an error loading the descriptor 'null' of plugin 'confluence.macro.metadata.provider'. Disabling.
14839:com.atlassian.spring.container.ComponentNotFoundException: Failed to find component: Error creating bean with name 'macroMetadataProviders' defined in class path resource [x]: Cannot create inner bean 'com.atlassian.confluence.macro.browser.DefaultMacroMetadataProvider#37612ebc' of type [com.atlassian.confluence.macro.browser.DefaultMacroMetadataProvider] while setting bean property 'sourceList' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.confluence.macro.browser.DefaultMacroMetadataProvider#37612ebc' defined in class path resource [x]: Cannot create inner bean 'com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory#1e160402' of type [com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory#1e160402' defined in class path resource [x]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class,com.atlassian.plugin.predicate.ModuleDescriptorPredicate)] threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/lucene/search/ConstantScoreRangeQuery
14840-  at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:79)
14841-  at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)
14842-  at com.atlassian.confluence.plugin.descriptor.SpringComponentModuleDescriptor.enabled(SpringComponentModuleDescriptor.java:122)
14843-  at com.atlassian.plugin.manager.DefaultPluginManager.notifyModuleEnabled(DefaultPluginManager.java:1661)
14844-  at com.atlassian.confluence.plugin.ConfluencePluginManager.notifyModuleEnabled(ConfluencePluginManager.java:135)
14845-  at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModule(DefaultPluginManager.java:1453)
14846-  at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModules(DefaultPluginManager.java:1420)
14847-  at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:875)
14848-  at com.atlassian.confluence.plugin.ConfluencePluginManager.addPlugins(ConfluencePluginManager.java:236)
14849-  at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:258)
14850-  at com.atlassian.confluence.plugin.ConfluencePluginManager.init(ConfluencePluginManager.java:207)
14851-  at com.atlassian.confluence.plugin.PluginFrameworkContextListener.contextInitialized(PluginFrameworkContextListener.java:54)
14852-  at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
14853-  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
14854-  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
14855-  at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
14856-  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
14857-  at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
14858-  at org.apache.catalina.core.StandardService.start(StandardService.java:525)
14859-  at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
14860-  at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
14861-  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
14862-  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
14863-  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
14864-  at java.lang.reflect.Method.invoke(Method.java:601)
14865-  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
14866-  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
14867:Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'macroMetadataProviders' defined in class path resource [x]: Cannot create inner bean 'com.atlassian.confluence.macro.browser.DefaultMacroMetadataProvider#37612ebc' of type [com.atlassian.confluence.macro.browser.DefaultMacroMetadataProvider] while setting bean property 'sourceList' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.confluence.macro.browser.DefaultMacroMetadataProvider#37612ebc' defined in class path resource [x]: Cannot create inner bean 'com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory#1e160402' of type [com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory#1e160402' defined in class path resource [x]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class,com.atlassian.plugin.predicate.ModuleDescriptorPredicate)] threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/lucene/search/ConstantScoreRangeQuery
14868-  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)
14869-  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)
14870-  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:287)
14871-  at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126)
14872-  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
14873-  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
14874-  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
14875-  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
14876-  at java.security.AccessController.doPrivileged(Native Method)
14877-  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
14878-  at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
14879-  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
14880-  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
14881-  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
14882-  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:168)
14883-  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:238)
14884-  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
14885-  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
14886-  at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:75)
14887-  ... 26 more

Edit 4:

Here are the (second) atlassian log file and the system info. (Was slightly confused earlier as to what you wanted with system info, but now I understand lol) They're located here:
https://www.dropbox.com/sh/ysahge4qw26mge5/PB9qqmUI8T

Oddly, this second time round when I pulled the plugin cache away it seemed to loadup confluence significantly better than last time (most of the plugins are working, but some aren't, like before the 'html' module from 'confluence html macros' was working, but now it's not. But most of the other plugins seem to be working.

I did a grep of the log file and am not seeing 'Outofmemory' issues anywhere, but I did see quite a few of (as you can see):

133233:2014-01-12 04:11:42,238 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar 'confluence-sal-plugin-5.4.jar' isn't set for a 300 second timeout waiting for  dependencies.  Please add ';timeout:=300'
133234:2014-01-12 04:11:42,739 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar 'confluence-tdm-merger-5.4.jar' isn't set for a 300 second timeout waiting for  dependencies.  Please add ';timeout:=300'
133235:2014-01-12 04:11:45,812 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar 'streams-aggregator-plugin-5.3.6.jar' isn't set for a 300 second timeout waiting for  dependencies.  Please add ';timeout:=300'
133236:2014-01-12 04:11:46,145 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar 'streams-confluence-plugin-5.3.6.jar' isn't set for a 300 second timeout waiting for  dependencies.  Please add ';timeout:=300'
133237:2014-01-12 04:11:46,262 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar 'streams-core-plugin-5.3.6.jar' isn't set for a 300 second timeout waiting for  dependencies.  Please add ';timeout:=300'
133238:2014-01-12 04:11:48,198 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar '1389428722000viewtracker-3.0.6.jar' isn't set for a 300 second timeout waiting for  dependencies.  Please add ';timeout:=300'
133239:2014-01-12 04:11:51,893 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar '1370185360000filtering-confluence-1.2.4.jar' isn't set for a 300 second timeout waiting for  dependencies.  Please add ';timeout:=300'
133240:2014-01-12 04:11:52,589 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar '1370636387000plugin.869705289140841403.google-calendar-plugin-2.1.0.jar' isn't set for a 300 second timeout waiting for  dependencies.  Please add ';timeout:=300'
133241:2014-01-12 04:11:52,968 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar '1370185622000supplier-confluence-1.0.8.jar' isn't set for a 300 second timeout waiting for  dependencies.  Please add ';timeout:=300'

Couldn't figure out where to add the ';timeout:=300', but that seems like it's for a plugin anyway. so I'll just leave it as is until I hear back from you.

9 answers

1 accepted

The issue turned out to be because we were using OpenJDK instead of Oracle's JDK directly. After switching to the latest version of Oracle's JDK all issues disappeared. Here is the support ticket with more information:

https://support.atlassian.com/browse/CSP-115960

1 vote

It seem like your plugin is unable to startup due to timeout. This should be the reason why your Confluence break after clearing the plugin cache.

Here the instruction to solve this problem.

I think you didn't notice that I had already set the timeout to 300 in the JVM arguments... So the above solution didn't change anything...

I tried to increase it to 600 seconds in my JVM figured I'd try a longer timeout, and now those warnings have turned into:

2014-01-13 04:18:57,078 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar 'activeobjects-confluence-spi-0.24-m5-confluence.jar' isn't set for a 600 second timeout waiting for  dependencies.  Please add ';timeout:=600'
2014-01-13 04:18:58,193 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar 'applinks-plugin-4.0.10.jar' isn't set for a 600 second timeout waiting for  dependencies.  Please add ';timeout:=600'
2014-01-13 04:18:58,535 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar 'atlassian-failure-cache-plugin-0.6.jar' isn't set for a 600 second timeout waiting for  dependencies.  Please add ';timeout:=600'
2014-01-13 04:19:01,312 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar 'atlassian-pretty-urls-plugin-1.5.jar' isn't set for a 600 second timeout waiting for  dependencies.  Please add ';timeout:=600'
2014-01-13 04:19:01,564 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar 'atlassian-rest-module-2.8.0-m7.jar' isn't set for a 600 second timeout waiting for  dependencies.  Please add ';timeout:=600'
2014-01-13 04:19:01,817 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar 'atlassian-template-renderer-api-1.4.3.jar' isn't set for a 600 second timeout waiting for  dependencies.  Please add ';timeout:=600'

So it looks like it's likely not a timeout thing... =/

Which version of Confluence are you using? Do you mind to provide me your jvmInputArguments from your System Information as well?

Hey Jing, we ended up finding what was wrong. I updated it above. Also, I had already provided the whole system information in the dropbox link up under edit 4 as I had previously mentioned. Thanks for all your help btw! It was of great help =)

Aiks, We should have checked the supported platform before we actually dwell deeper. Lesson learnt, always do the basic check before investigating it further.

0 vote

Hi Aram,


Can you check the stacktrace in <confluence-home>/logs/atlassian-confluence.log? It will give us more insight on this problem.



0 vote

The error looks very similar to the one describe in this KB https://confluence.atlassian.com/display/CONFKB/Default+Macro+Metadata+Provider+Plugin+Disabled+After+Upgradeyou've previously found. Just to clarify, have you check for incompatible plugin in your Confluence?

You've mentioned:

I also tried to remove the plugins caches and restarting confluence, but that completely broke the site so I had to reenable it

But removing the plugin cache should not disable your plugin. Cache will be rebuild during startup if they are removed. What did you renable?

Could you provide your System Information from your logs as well. That will give us more information on the system that you used to run the Confluence. There might be other know issue for specific system.

I had to reenable the folders (bad choice of terminology...) basically I put the folders aside (renamed them) and then restarted confluence. When I did that confluence didn't start properly (half the pluins wouldn't load, and no pages were visible). I turned off confluence, moved the folders back and restarted and it went back go normal. So one of the issues was that cache was not being rebuilt properly. [sorry for not writing more clearly earlier]

We're using Ubuntu 12.04 LTS (on a AWS machine: m2.xlarge (Memory Optimized), Heavy Utilization) Would there be any additional information you need from system info?

0 vote

So you plugin cache din't rebuilt properly, that is strange. It is possible that some of your cache is corrupted which caused the no macro medata problem but you couldn't rebuilt them properly. I believe we should investigate from here.

Do you see any particular error like Outofmemory or timeout during the startup after clearing the cache? Maybe you can try to clear the cache again then check the stack trace in the logs. That might lead us to the right directorion.

I will need your jvmInputArguments from your System Information as well.

Here are the atlassian log file and the system info. (Was slightly confused earlier as to what you wanted with system info, but now I understand lol) They're located here:
https://www.dropbox.com/sh/ysahge4qw26mge5/PB9qqmUI8T

Oddly, this second time round when I pulled the plugin cache away it seemed to loadup confluence significantly better than last time (most of the plugins are working, but some aren't, like before the 'html' module from 'confluence html macros' was working, but now it's not. But most of the other plugins seem to be working.

I did a grep of the log file and am not seeing 'Outofmemory' issues anywhere, but I did see quite a few of (as you can see):

133233:2014-01-12 04:11:42,238 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar 'confluence-sal-plugin-5.4.jar' isn't set for a 300 second timeout waiting for  dependencies.  Please add ';timeout:=300'
133234:2014-01-12 04:11:42,739 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar 'confluence-tdm-merger-5.4.jar' isn't set for a 300 second timeout waiting for  dependencies.  Please add ';timeout:=300'
133235:2014-01-12 04:11:45,812 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar 'streams-aggregator-plugin-5.3.6.jar' isn't set for a 300 second timeout waiting for  dependencies.  Please add ';timeout:=300'
133236:2014-01-12 04:11:46,145 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar 'streams-confluence-plugin-5.3.6.jar' isn't set for a 300 second timeout waiting for  dependencies.  Please add ';timeout:=300'
133237:2014-01-12 04:11:46,262 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar 'streams-core-plugin-5.3.6.jar' isn't set for a 300 second timeout waiting for  dependencies.  Please add ';timeout:=300'
133238:2014-01-12 04:11:48,198 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar '1389428722000viewtracker-3.0.6.jar' isn't set for a 300 second timeout waiting for  dependencies.  Please add ';timeout:=300'
133239:2014-01-12 04:11:51,893 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar '1370185360000filtering-confluence-1.2.4.jar' isn't set for a 300 second timeout waiting for  dependencies.  Please add ';timeout:=300'
133240:2014-01-12 04:11:52,589 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar '1370636387000plugin.869705289140841403.google-calendar-plugin-2.1.0.jar' isn't set for a 300 second timeout waiting for  dependencies.  Please add ';timeout:=300'
133241:2014-01-12 04:11:52,968 WARN [main] [factory.transform.stage.GenerateManifestStage] assertSpringAvailableIfRequired The Spring Manifest header in jar '1370185622000supplier-confluence-1.0.8.jar' isn't set for a 300 second timeout waiting for  dependencies.  Please add ';timeout:=300'

Couldn't figure out where to add the ';timeout:=300', but that seems like it's for a plugin anyway. so I'll just leave it as is until I hear back from you.

Just added more information above under 'edit 4' with the information you wanted.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,891 views 25 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you