com.atlassian.plugin.PluginParseException: Class version is incompatible with current JVM: com.metova.confluence.ThemeHelper

Atlassian JIRA | Matt Ryall | 8 years ago
  1. 0

    *Problem description*: When you install a plugin compiled with Java 5 in a Confluence application running with Java 1.4, you get the following error: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isModuleEnabled' in class com.atlassian.confluence.admin.actions.plugins.ManagePluginsAction threw exception java.lang.IllegalArgumentException: Invalid complete key specified: null @ /admin/plugins.vm[109,42] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286) caused by: java.lang.IllegalArgumentException: Invalid complete key specified: null at com.atlassian.plugin.ModuleCompleteKey.(ModuleCompleteKey.java:17) You cannot view the plugin in the plugin manager to uninstall it. See the workaround below. *Desired behaviour*: Confluence should disable the plugin and show a meaningful error to the user. *Cause*: This occurs when uploading a plugin into Confluence running an older version of Java than the plugin was compiled with. *Workaround*: Run Confluence with the same version of Java as the plugin or, if you are the plugin author, recompile the plugin to Java 1.4 to support all Confluence instances. The first option is the way to uninstall a plugin with this problem in affected versions of Confluence. *Technical notes*: The causal exception is shown further up in the logs: 2008-06-23 10:40:31,005 ERROR [http-8080-Processor3] [atlassian.plugin.parsers.XmlDescriptorParser] createModuleDescriptor There was a problem loading the descriptor for module 'velocity-context-item' in plugin 'Metova Theme'. Class version is incompatible with current JVM: com.metova.confluence.ThemeHelper - url: /admin/uploadplugin.action | userName: admin | action: uploadplugin com.atlassian.plugin.PluginParseException: Class version is incompatible with current JVM: com.metova.confluence.ThemeHelper at com.atlassian.plugin.descriptors.AbstractModuleDescriptor.init(AbstractModuleDescriptor.java:75) at com.atlassian.confluence.plugin.descriptor.VelocityContextItemModuleDescriptor.init(VelocityContextItemModuleDescriptor.java:24) at com.atlassian.plugin.parsers.XmlDescriptorParser.createModuleDescriptor(XmlDescriptorParser.java:147) at com.atlassian.plugin.parsers.XmlDescriptorParser.configurePlugin(XmlDescriptorParser.java:85) at com.atlassian.plugin.loaders.ClassLoadingPluginLoader.deployPluginFromUnit(ClassLoadingPluginLoader.java:99) at com.atlassian.plugin.loaders.ClassLoadingPluginLoader.addFoundPlugins(ClassLoadingPluginLoader.java:151) at com.atlassian.confluence.plugin.DatabaseClassLoadingPluginLoader.addFoundPlugins(DatabaseClassLoadingPluginLoader.java:116) This problem was also reported on the forum here: http://forums.atlassian.com/thread.jspa?threadID=25904&tstart=-1

    Atlassian JIRA | 8 years ago | Matt Ryall
    com.atlassian.plugin.PluginParseException: Class version is incompatible with current JVM: com.metova.confluence.ThemeHelper
  2. 0

    *Problem description*: When you install a plugin compiled with Java 5 in a Confluence application running with Java 1.4, you get the following error: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isModuleEnabled' in class com.atlassian.confluence.admin.actions.plugins.ManagePluginsAction threw exception java.lang.IllegalArgumentException: Invalid complete key specified: null @ /admin/plugins.vm[109,42] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286) caused by: java.lang.IllegalArgumentException: Invalid complete key specified: null at com.atlassian.plugin.ModuleCompleteKey.(ModuleCompleteKey.java:17) You cannot view the plugin in the plugin manager to uninstall it. See the workaround below. *Desired behaviour*: Confluence should disable the plugin and show a meaningful error to the user. *Cause*: This occurs when uploading a plugin into Confluence running an older version of Java than the plugin was compiled with. *Workaround*: Run Confluence with the same version of Java as the plugin or, if you are the plugin author, recompile the plugin to Java 1.4 to support all Confluence instances. The first option is the way to uninstall a plugin with this problem in affected versions of Confluence. *Technical notes*: The causal exception is shown further up in the logs: 2008-06-23 10:40:31,005 ERROR [http-8080-Processor3] [atlassian.plugin.parsers.XmlDescriptorParser] createModuleDescriptor There was a problem loading the descriptor for module 'velocity-context-item' in plugin 'Metova Theme'. Class version is incompatible with current JVM: com.metova.confluence.ThemeHelper - url: /admin/uploadplugin.action | userName: admin | action: uploadplugin com.atlassian.plugin.PluginParseException: Class version is incompatible with current JVM: com.metova.confluence.ThemeHelper at com.atlassian.plugin.descriptors.AbstractModuleDescriptor.init(AbstractModuleDescriptor.java:75) at com.atlassian.confluence.plugin.descriptor.VelocityContextItemModuleDescriptor.init(VelocityContextItemModuleDescriptor.java:24) at com.atlassian.plugin.parsers.XmlDescriptorParser.createModuleDescriptor(XmlDescriptorParser.java:147) at com.atlassian.plugin.parsers.XmlDescriptorParser.configurePlugin(XmlDescriptorParser.java:85) at com.atlassian.plugin.loaders.ClassLoadingPluginLoader.deployPluginFromUnit(ClassLoadingPluginLoader.java:99) at com.atlassian.plugin.loaders.ClassLoadingPluginLoader.addFoundPlugins(ClassLoadingPluginLoader.java:151) at com.atlassian.confluence.plugin.DatabaseClassLoadingPluginLoader.addFoundPlugins(DatabaseClassLoadingPluginLoader.java:116) This problem was also reported on the forum here: http://forums.atlassian.com/thread.jspa?threadID=25904&tstart=-1

    Atlassian JIRA | 8 years ago | Matt Ryall
    com.atlassian.plugin.PluginParseException: Class version is incompatible with current JVM: com.metova.confluence.ThemeHelper
  3. 0

    {noformat} ****************************************************************************************************** JIRA starting... Enterprise Edition, Version: 3.12.3-#302 ****************************************************************************************************** 2009-04-14 15:02:26,397 main ERROR [atlassian.plugin.parsers.XmlDescriptorParser] There were problems loading the module 'component'. The module and its plugin have been disabled. 2009-04-14 15:02:26,421 main ERROR [atlassian.plugin.parsers.XmlDescriptorParser] There was a problem loading the descriptor for module 'component' in plugin 'Shared Application Access Layer JIRA Plugin'. Error retrieving dependency of class: com.atlassian.sal.jira.search.JiraSearchProvider. Missing class: com/atlassian/jira/issue/search/SearchRequestFactory com.atlassian.plugin.PluginParseException: Error retrieving dependency of class: com.atlassian.sal.jira.search.JiraSearchProvider. Missing class: com/atlassian/jira/issue/search/SearchRequestFactory at com.atlassian.plugin.descriptors.AbstractModuleDescriptor.init(AbstractModuleDescriptor.java:69) at com.atlassian.jira.plugin.component.ComponentModuleDescriptor.init(ComponentModuleDescriptor.java:22) at com.atlassian.plugin.parsers.XmlDescriptorParser.createModuleDescriptor(XmlDescriptorParser.java:147) at com.atlassian.plugin.parsers.XmlDescriptorParser.configurePlugin(XmlDescriptorParser.java:85) at com.atlassian.plugin.loaders.SinglePluginLoader.loadPlugin(SinglePluginLoader.java:86) at com.atlassian.plugin.loaders.SinglePluginLoader.loadAllPlugins(SinglePluginLoader.java:50) at com.atlassian.plugin.loaders.ClassPathPluginLoader.loadClassPathPlugins(ClassPathPluginLoader.java:50) at com.atlassian.plugin.loaders.ClassPathPluginLoader.loadAllPlugins(ClassPathPluginLoader.java:63) at com.atlassian.plugin.DefaultPluginManager.init(DefaultPluginManager.java:70) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:28) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:369) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:347) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) 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:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) 2009-04-14 15:02:26,428 main ERROR [atlassian.plugin.parsers.XmlDescriptorParser] There were errors loading the plugin 'Shared Application Access Layer JIRA Plugin'. The plugin has been disabled. {noformat} FYI 1.1.2 deploys correctly on JIRA 3.12.3

    Ecosystem JIRA | 8 years ago | Bogdan Dziedzic
    com.atlassian.plugin.PluginParseException: Error retrieving dependency of class: com.atlassian.sal.jira.search.JiraSearchProvider. Missing class: com/atlassian/jira/issue/search/SearchRequestFactory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Its likely the plugin is not working correctly. {noformat} 2011-09-08 11:44:16,212 ERROR [main] [XmlDescriptorParser] There were problems loading the module 'commandDecorator' in plugin 'Maven Artifact Sharing'. The module has been disabled. 2011-09-08 11:44:16,213 ERROR [main] [XmlDescriptorParser] Cannot find ModuleDescriptor class for plugin of type 'commandDecorator'. com.atlassian.plugin.PluginParseException: Cannot find ModuleDescriptor class for plugin of type 'commandDecorator'. at com.atlassian.plugin.DefaultModuleDescriptorFactory.getModuleDescriptor(DefaultModuleDescriptorFactory.java:75) at com.atlassian.plugin.parsers.XmlDescriptorParser.createModuleDescriptor(XmlDescriptorParser.java:190) at com.atlassian.plugin.parsers.XmlDescriptorParser.configurePlugin(XmlDescriptorParser.java:142) 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.bamboo.container.BambooContainer.init(BambooContainer.java:171) at com.atlassian.bamboo.container.BambooContainer.initialise(BambooContainer.java:135) at com.atlassian.bamboo.upgrade.UpgradeLauncher.initialiseBambooContainer(UpgradeLauncher.java:176) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:92) at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:39) at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:633) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1160) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:576) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:93) at org.eclipse.jetty.server.Server.doStart(Server.java:243) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at com.atlassian.bamboo.server.Server.main(Server.java:75) {noformat}

    Atlassian JIRA | 5 years ago | James Dumay [Atlassian]
    com.atlassian.plugin.PluginParseException: Cannot find ModuleDescriptor class for plugin of type 'commandDecorator'.
  6. 0

    The component plugin module documentation has been reported to error out with Crowd 1.5 (but 1.6 works): {code} 2009-01-29 16:28:41,983 main ERROR [atlassian.plugin.parsers.XmlDescriptorParser] There were problems loading the module 'component' in plugin 'Palm x Manager Plugin'. The module has been disabled. 2009-01-29 16:28:41,985 main ERROR [atlassian.plugin.parsers.XmlDescriptorParser] Cannot find ModuleDescriptor class for plugin of type 'component'. com.atlassian.plugin.PluginParseException: Cannot find ModuleDescriptor class for plugin of type 'component'. at com.atlassian.crowd.plugin.descriptors.CrowdModuleDescriptorFactory.getModuleDescriptor(CrowdModuleDescriptorFactory.java:32) at com.atlassian.plugin.parsers.XmlDescriptorParser.createModuleDescriptor(XmlDescriptorParser.java:129) at com.atlassian.plugin.parsers.XmlDescriptorParser.configurePlugin(XmlDescriptorParser.java:90) at com.atlassian.plugin.loaders.SinglePluginLoader.loadPlugin(SinglePluginLoader.java:81) at com.atlassian.plugin.loaders.SinglePluginLoader.loadAllPlugins(SinglePluginLoader.java:47) at com.atlassian.plugin.loaders.ClassPathPluginLoader.loadClassPathPlugins(ClassPathPluginLoader.java:53) at com.atlassian.plugin.loaders.ClassPathPluginLoader.loadAllPlugins(ClassPathPluginLoader.java:70) at com.atlassian.plugin.DefaultPluginManager.init(DefaultPluginManager.java:95) etc. {code} Reference: http://forums.atlassian.com/thread.jspa?threadID=31671&tstart=0

    Atlassian JIRA | 8 years ago | David Yu
    com.atlassian.plugin.PluginParseException: Cannot find ModuleDescriptor class for plugin of type 'component'.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.atlassian.plugin.PluginParseException

      Class version is incompatible with current JVM: com.metova.confluence.ThemeHelper

      at com.atlassian.plugin.descriptors.AbstractModuleDescriptor.init()
    2. com.atlassian.plugin
      AbstractModuleDescriptor.init
      1. com.atlassian.plugin.descriptors.AbstractModuleDescriptor.init(AbstractModuleDescriptor.java:75)
      1 frame
    3. com.atlassian.confluence
      VelocityContextItemModuleDescriptor.init
      1. com.atlassian.confluence.plugin.descriptor.VelocityContextItemModuleDescriptor.init(VelocityContextItemModuleDescriptor.java:24)
      1 frame
    4. com.atlassian.plugin
      ClassLoadingPluginLoader.addFoundPlugins
      1. com.atlassian.plugin.parsers.XmlDescriptorParser.createModuleDescriptor(XmlDescriptorParser.java:147)
      2. com.atlassian.plugin.parsers.XmlDescriptorParser.configurePlugin(XmlDescriptorParser.java:85)
      3. com.atlassian.plugin.loaders.ClassLoadingPluginLoader.deployPluginFromUnit(ClassLoadingPluginLoader.java:99)
      4. com.atlassian.plugin.loaders.ClassLoadingPluginLoader.addFoundPlugins(ClassLoadingPluginLoader.java:151)
      4 frames
    5. com.atlassian.confluence
      DatabaseClassLoadingPluginLoader.addFoundPlugins
      1. com.atlassian.confluence.plugin.DatabaseClassLoadingPluginLoader.addFoundPlugins(DatabaseClassLoadingPluginLoader.java:116)
      1 frame