com.atlassian.plugin.PluginParseException: Cannot find ModuleDescriptor class for plugin of type 'component-import'.

Atlassian JIRA | Ashwin Srinivasan [Atlassian] | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    The following statement was introduced into the atlassian-plugin.xml file for studio-jira-host-components: <component-import key="studioImporterService" interface="com.atlassian.jira.studio.importer.StudioImporterService" /> See changeset https://studio.atlassian.com/source/browse/JST/trunk/studio-plugins/studio-host-components/studio-jira-host-components/src/main/resources/atlassian-plugin.xml?r1=109846&r2=113369 Since this is a plugins 1 plugin, this results in the following exception at startup. I think the resolution is to simply remove this statement from the atlassian-plugin.xml file. 2010-12-29 15:26:41,819 main ERROR [atlassian.plugin.parsers.XmlDescriptorParser] There were problems loading the module 'component-import' in plugin 'Studio Importer Actions'. The module has been disabled. 2010-12-29 15:26:41,820 main ERROR [atlassian.plugin.parsers.XmlDescriptorParser] Cannot find ModuleDescriptor class for plugin of type 'component-import'. com.atlassian.plugin.PluginParseException: Cannot find ModuleDescriptor class for plugin of type 'component-import'. at com.atlassian.jira.plugin.JiraModuleDescriptorFactory.getModuleDescriptor(JiraModuleDescriptorFactory.java:113) at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.jira.ProxyAdapter$ProxiedComponentInvocationHandler.invoke(ProxyAdapter.java:167) at $Proxy20.getModuleDescriptor(Unknown Source) at com.atlassian.plugin.parsers.XmlDescriptorParser.createModuleDescriptor(XmlDescriptorParser.java:189) at com.atlassian.plugin.parsers.XmlDescriptorParser.configurePlugin(XmlDescriptorParser.java:141) at com.atlassian.plugin.loaders.SinglePluginLoader.loadPlugin(SinglePluginLoader.java:135) at com.atlassian.plugin.loaders.SinglePluginLoader.loadAllPlugins(SinglePluginLoader.java:89) at com.atlassian.plugin.loaders.ClassPathPluginLoader.loadClassPathPlugins(ClassPathPluginLoader.java:59) at com.atlassian.plugin.loaders.ClassPathPluginLoader.loadAllPlugins(ClassPathPluginLoader.java:67) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:136) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:52) 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 com.atlassian.jira.ProxyAdapter$ProxiedComponentInvocationHandler.invoke(ProxyAdapter.java:167) at $Proxy23.start(Unknown Source) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1326) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:227) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:212) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:583) 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:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

    Atlassian JIRA | 6 years ago | Ashwin Srinivasan [Atlassian]
    com.atlassian.plugin.PluginParseException: Cannot find ModuleDescriptor class for plugin of type 'component-import'.
  2. 0

    The following statement was introduced into the atlassian-plugin.xml file for studio-jira-host-components: <component-import key="studioImporterService" interface="com.atlassian.jira.studio.importer.StudioImporterService" /> See changeset https://studio.atlassian.com/source/browse/JST/trunk/studio-plugins/studio-host-components/studio-jira-host-components/src/main/resources/atlassian-plugin.xml?r1=109846&r2=113369 Since this is a plugins 1 plugin, this results in the following exception at startup. I think the resolution is to simply remove this statement from the atlassian-plugin.xml file. 2010-12-29 15:26:41,819 main ERROR [atlassian.plugin.parsers.XmlDescriptorParser] There were problems loading the module 'component-import' in plugin 'Studio Importer Actions'. The module has been disabled. 2010-12-29 15:26:41,820 main ERROR [atlassian.plugin.parsers.XmlDescriptorParser] Cannot find ModuleDescriptor class for plugin of type 'component-import'. com.atlassian.plugin.PluginParseException: Cannot find ModuleDescriptor class for plugin of type 'component-import'. at com.atlassian.jira.plugin.JiraModuleDescriptorFactory.getModuleDescriptor(JiraModuleDescriptorFactory.java:113) at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.jira.ProxyAdapter$ProxiedComponentInvocationHandler.invoke(ProxyAdapter.java:167) at $Proxy20.getModuleDescriptor(Unknown Source) at com.atlassian.plugin.parsers.XmlDescriptorParser.createModuleDescriptor(XmlDescriptorParser.java:189) at com.atlassian.plugin.parsers.XmlDescriptorParser.configurePlugin(XmlDescriptorParser.java:141) at com.atlassian.plugin.loaders.SinglePluginLoader.loadPlugin(SinglePluginLoader.java:135) at com.atlassian.plugin.loaders.SinglePluginLoader.loadAllPlugins(SinglePluginLoader.java:89) at com.atlassian.plugin.loaders.ClassPathPluginLoader.loadClassPathPlugins(ClassPathPluginLoader.java:59) at com.atlassian.plugin.loaders.ClassPathPluginLoader.loadAllPlugins(ClassPathPluginLoader.java:67) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:136) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:52) 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 com.atlassian.jira.ProxyAdapter$ProxiedComponentInvocationHandler.invoke(ProxyAdapter.java:167) at $Proxy23.start(Unknown Source) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1326) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:227) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:212) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:583) 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:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

    Atlassian JIRA | 6 years ago | Ashwin Srinivasan [Atlassian]
    com.atlassian.plugin.PluginParseException: Cannot find ModuleDescriptor class for plugin of type 'component-import'.

    Root Cause Analysis

    1. com.atlassian.plugin.PluginParseException

      Cannot find ModuleDescriptor class for plugin of type 'component-import'.

      at com.atlassian.jira.plugin.JiraModuleDescriptorFactory.getModuleDescriptor()
    2. com.atlassian.jira
      JiraModuleDescriptorFactory.getModuleDescriptor
      1. com.atlassian.jira.plugin.JiraModuleDescriptorFactory.getModuleDescriptor(JiraModuleDescriptorFactory.java:113)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    4. com.atlassian.jira
      ProxyAdapter$ProxiedComponentInvocationHandler.invoke
      1. com.atlassian.jira.ProxyAdapter$ProxiedComponentInvocationHandler.invoke(ProxyAdapter.java:167)
      1 frame
    5. Unknown
      $Proxy20.getModuleDescriptor
      1. $Proxy20.getModuleDescriptor(Unknown Source)
      1 frame
    6. com.atlassian.plugin
      DefaultPluginManager.init
      1. com.atlassian.plugin.parsers.XmlDescriptorParser.createModuleDescriptor(XmlDescriptorParser.java:189)
      2. com.atlassian.plugin.parsers.XmlDescriptorParser.configurePlugin(XmlDescriptorParser.java:141)
      3. com.atlassian.plugin.loaders.SinglePluginLoader.loadPlugin(SinglePluginLoader.java:135)
      4. com.atlassian.plugin.loaders.SinglePluginLoader.loadAllPlugins(SinglePluginLoader.java:89)
      5. com.atlassian.plugin.loaders.ClassPathPluginLoader.loadClassPathPlugins(ClassPathPluginLoader.java:59)
      6. com.atlassian.plugin.loaders.ClassPathPluginLoader.loadAllPlugins(ClassPathPluginLoader.java:67)
      7. com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:136)
      7 frames
    7. com.atlassian.jira
      JiraPluginManager.start
      1. com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:52)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    9. com.atlassian.jira
      ProxyAdapter$ProxiedComponentInvocationHandler.invoke
      1. com.atlassian.jira.ProxyAdapter$ProxiedComponentInvocationHandler.invoke(ProxyAdapter.java:167)
      1 frame
    10. Unknown
      $Proxy23.start
      1. $Proxy23.start(Unknown Source)
      1 frame
    11. com.atlassian.jira
      ConsistencyLauncher.contextInitialized
      1. com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1326)
      2. com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:227)
      3. com.atlassian.jira.ComponentManager.start(ComponentManager.java:212)
      4. com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63)
      5. com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42)
      5 frames
    12. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
      3. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      4. org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
      5. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      6. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      7. org.apache.catalina.core.StandardService.start(StandardService.java:516)
      8. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      9. org.apache.catalina.startup.Catalina.start(Catalina.java:583)
      9 frames
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    14. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      2 frames