Confluence Tabular Metadata Plugin 2.11.3 - Error Initialising
Asked by Gavin Fowler:

Hi

I have recently updated the Tabular Metadata plugin to the latest version (2.11.3) via the Universal Plugin Manager (UPM). I now notice the plugin shows errors in the plugins console (shows as disabled) and throws errors in the log during startup. There error occurs during the plugin system initialisation, there are no other warnings, errors prior to this one. The ERROR in the log reads:

```
2012-04-13 10:39:50,499 ERROR [main] [atlassian.plugin.manager.DefaultPluginManager] enableConfiguredPluginModule There was an error loading the descriptor 'details' of plugin 'confluence.extra.masterdetail'. Disabling.com.atlassian.plugin.PluginParseException: Error retrieving dependency of class: com.atlassian.confluence.extra.masterdetail.DetailsMacro. Missing class: com/atlassian/confluence/labels/EditableLabelable        at com.atlassian.plugin.module.LegacyModuleFactory.getModuleClass(LegacyModuleFactory.java:50)        at com.atlassian.plugin.descriptors.AbstractModuleDescriptor.loadClass(AbstractModuleDescriptor.java:175)        at com.atlassian.plugin.descriptors.AbstractModuleDescriptor.enabled(AbstractModuleDescriptor.java:436)        at com.atlassian.confluence.plugin.descriptor.CustomMacroModuleDescriptor.enabled(CustomMacroModuleDescriptor.java:95)        at com.atlassian.plugin.manager.DefaultPluginManager.notifyModuleEnabled(DefaultPluginManager.java:1451)        at com.atlassian.confluence.plugin.ConfluencePluginManager.notifyModuleEnabled(ConfluencePluginManager.java:119)        at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModule(DefaultPluginManager.java:1258)        at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModules(DefaultPluginManager.java:1224)        at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:721)        at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:166)        at com.atlassian.confluence.plugin.ConfluencePluginManager.init(ConfluencePluginManager.java:192)        at com.atlassian.confluence.plugin.PluginFrameworkContextListener.contextInitialized(PluginFrameworkContextListener.java:52)        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)        at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)        at org.apache.catalina.core.StandardService.start(StandardService.java:525)        at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:597)        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)Caused by: java.lang.NoClassDefFoundError: com/atlassian/confluence/labels/EditableLabelable        at java.lang.Class.getDeclaredConstructors0(Native Method)        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)        at java.lang.Class.getConstructor0(Class.java:2699)        at java.lang.Class.getConstructor(Class.java:1657)        at com.atlassian.plugin.module.LegacyModuleFactory.getModuleClass(LegacyModuleFactory.java:32)        ... 26 moreCaused by: java.lang.ClassNotFoundException: com.atlassian.confluence.labels.EditableLabelable        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)        at org.apache.felix.framework.ExtensionManager$ExtensionManagerModule.getClassByDelegation(ExtensionManager.java:672)        at org.apache.felix.framework.resolver.WireImpl.getClass(WireImpl.java:99)        at org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1345)        at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:711)        at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)        at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690)        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)        ... 31 more
```

I'm using Confluence 4.1.9. Does anyone else see similar errors, or have a resolve??

Many thanks

Gavin.


Answers:
author: Gavin Fowler
body: just closing out this question with an answer. I'm not sure what the resolve was (some 12 months later), but i suspect a version upgrade to confluence 4.2 or plugin upghrade resolved this issue.


author: Chris Johnson
body: Tried to update to 2.1.5 and it's now enabled but I get this error

2012-07-19 08:31:22,357 INFO \[pool-4-thread-1\] \[atlassian.plugin.manager.DefaultPluginManager\] disableDependentPlugins Found dependent enabled plugins for uninstalled plugin 'confluence.extra.masterdetail': \[\]. Disabling...

2012-07-19 08:31:22,358 INFO \[pool-4-thread-1\] \[atlassian.plugin.manager.DefaultPluginManager\] updatePlugin Updating plugin 'confluence.extra.masterdetail:2.11.3 There was a problem loading the descriptor for module 'details' in plugin 'Tabular Metadata'.

Error retrieving dependency of class: com.atlassian.confluence.extra.masterdetail.DetailsMacro. Missing class: com/atlassian/confluence/labels/EditableLabelable' to 'confluence.extra.masterdetail'

2012-07-19 08:31:22,487 WARN \[Spring executor 12\] \[plugin.osgi.factory.OsgiPlugin\] onSpringContextRefresh Ignoring the Spring context that was just created for plugin confluence.extra.masterdetail. The plugin is in an invalid state, DISABLED, that doesn't support a transition to enabled. Most likely, it was disabled due to a timeout.


author: Chris Johnson
body: I got the same error, any ideas what the fix is?


author: Chris Johnson
body: I'm running 4.1.4

-- referer: <http://pwprap75e:8080/confluence/plugins/servlet/upm> \| url: /confluence/rest/plugins/1.0/ \| userName: admin

2012-07-19 07:57:25,546 ERROR \[pool-4-thread-3\] \[atlassian.plugin.manager.DefaultPluginManager\] enableConfiguredPluginModule There was an error loading the descriptor 'details' of plugin 'confluence.extra.masterdetail'. Disabling.

-- referer: <http://pwprap75e:8080/confluence/plugins/servlet/upm> \| url: /confluence/rest/plugins/1.0/ \| userName: admin

com.atlassian.plugin.PluginParseException: Error retrieving dependency of class: com.atlassian.confluence.extra.masterdetail.DetailsMacro. Missing class: com/atlassian/confluence/labels/EditableLabelable

at com.atlassian.plugin.module.LegacyModuleFactory.getModuleClass(LegacyModuleFactory.java:50)

at com.atlassian.plugin.descriptors.AbstractModuleDescriptor.loadClass(AbstractModuleDescriptor.java:175)

at com.atlassian.plugin.descriptors.AbstractModuleDescriptor.enabled(AbstractModuleDescriptor.java:436)

at com.atlassian.confluence.plugin.descriptor.CustomMacroModuleDescriptor.enabled(CustomMacroModuleDescriptor.java:95)

at com.atlassian.plugin.manager.DefaultPluginManager.notifyModuleEnabled(DefaultPluginManager.java:1451)

at com.atlassian.confluence.plugin.ConfluencePluginManager.notifyModuleEnabled(ConfluencePluginManager.java:119)

at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModule(DefaultPluginManager.java:1258)

at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModules(DefaultPluginManager.java:1224)

at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:721)

at com.atlassian.plugin.manager.DefaultPluginManager.scanForNewPlugins(DefaultPluginManager.java:445)

at com.atlassian.plugin.manager.DefaultPluginManager.installPlugins(DefaultPluginManager.java:348)

at com.atlassian.confluence.plugin.EventDispatchingPluginController.installPlugins(EventDispatchingPluginController.java:85)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)

at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)

at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

at $Proxy58.installPlugins(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25


author: Gavin Fowler
body: Further to the above: I can confirm that there is \*no\* issue with this plugin when used with Confluence 4.2.0. I'm suspecting that perhaps there is an issue with the plugin version and specifically Confluence 4.1.9.