Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-12989

BeanCreationException / TypeMismatchException when loading plugin right after installing Confluence 2.9 and loading a full backup

XMLWordPrintable

      • Installed Confluence 2.9
      • Loaded a full backup
      • Managed to install the Metadata plugin
      • When I tried to install the Approvals Workflow Plugin got the exception.

      After restarting the server, the plugin loaded without any problem...

      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'workflowsInitializer': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [com.comalatech.confluence.workflow.WorkflowConfigurationManager] to required type [com.comalatech.confluence.workflow.WorkflowConfigurationManager] for property 'workflowConfigurationManager'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [com.comalatech.confluence.workflow.WorkflowConfigurationManager] to required type [com.comalatech.confluence.workflow.WorkflowConfigurationManager] for property 'workflowConfigurationManager': no matching editors or conversion strategy found
      Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [com.comalatech.confluence.workflow.WorkflowConfigurationManager] to required type [com.comalatech.confluence.workflow.WorkflowConfigurationManager] for property 'workflowConfigurationManager'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [com.comalatech.confluence.workflow.WorkflowConfigurationManager] to required type [com.comalatech.confluence.workflow.WorkflowConfigurationManager] for property 'workflowConfigurationManager': no matching editors or conversion strategy found
      Caused by: java.lang.IllegalArgumentException: Cannot convert value of type [com.comalatech.confluence.workflow.WorkflowConfigurationManager] to required type [com.comalatech.confluence.workflow.WorkflowConfigurationManager] for property 'workflowConfigurationManager': no matching editors or conversion strategy found
      	at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:231)
      	at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138)
      	at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:380)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1106)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
      	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
      	at com.atlassian.confluence.plugin.descriptor.ComponentModuleDescriptor.enabled(ComponentModuleDescriptor.java:84)
      	at com.atlassian.plugin.DefaultPluginManager.enablePluginModules(DefaultPluginManager.java:697)
      	at com.atlassian.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:314)
      	at com.atlassian.plugin.DefaultPluginManager.scanForNewPlugins(DefaultPluginManager.java:181)
      	at com.atlassian.plugin.DefaultPluginManager.installPlugin(DefaultPluginManager.java:126)
      	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:585)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      

      The offending module is a component:

      public class WorkflowsInitializer implements StateAware {
      ...
      

              Unassigned Unassigned
              cab5e2ae7e1f Roberto Dominguez
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: