java.lang.IllegalArgumentException: Cannot subclass final class class com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor

Atlassian JIRA | Tim Pettersen | 6 years ago
  1. 0

    My plain ol' vanilla web panel descriptor is failing to load on startup: {code:xml} <web-panel key="issue-context-panel" location="atl.jira.view.issue.info.context" class="com.atlassian.featurette.ContentIssueWebPanel"/> {code} {noformat} [INFO] [talledLocalContainer] 2011-02-17 14:06:14,191 main ERROR [atlassian.plugin.parsers.XmlDescriptorParser] There were problems loading the module 'web-panel' in plugin 'featurette'. The module has been disabled. [INFO] [talledLocalContainer] 2011-02-17 14:06:14,193 main ERROR [atlassian.plugin.parsers.XmlDescriptorParser] Cannot subclass final class class com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor [INFO] [talledLocalContainer] java.lang.IllegalArgumentException: Cannot subclass final class class com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor [INFO] [talledLocalContainer] at net.sf.cglib.proxy.Enhancer.generateClass(Enhancer.java:446) [INFO] [talledLocalContainer] at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25) [INFO] [talledLocalContainer] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216) [INFO] [talledLocalContainer] at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377) [INFO] [talledLocalContainer] at net.sf.cglib.proxy.Enhancer.createClass(Enhancer.java:317) [INFO] [talledLocalContainer] at com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory.getModuleDescriptor(MultiTenantModuleDescriptorFactory.java:87) [INFO] [talledLocalContainer] at com.atlassian.plugin.descriptors.ChainModuleDescriptorFactory.getModuleDescriptor(ChainModuleDescriptorFactory.java:26) [INFO] [talledLocalContainer] at com.atlassian.plugin.parsers.XmlDescriptorParser.createModuleDescriptor(XmlDescriptorParser.java:189) [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.factory.OsgiPluginXmlDescriptorParser.createModuleDescriptor(OsgiPluginXmlDescriptorParser.java:46) [INFO] [talledLocalContainer] at com.atlassian.plugin.parsers.XmlDescriptorParser.configurePlugin(XmlDescriptorParser.java:141) [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.factory.OsgiPluginFactory.create(OsgiPluginFactory.java:253) [INFO] [talledLocalContainer] at com.atlassian.plugin.loaders.ScanningPluginLoader.deployPluginFromUnit(ScanningPluginLoader.java:116) [INFO] [talledLocalContainer] at com.atlassian.plugin.loaders.ScanningPluginLoader.loadAllPlugins(ScanningPluginLoader.java:89) [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:150) [INFO] [talledLocalContainer] at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:52) [INFO] [talledLocalContainer] at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1386) [INFO] [talledLocalContainer] at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:254) [INFO] [talledLocalContainer] at com.atlassian.jira.ComponentManager.start(ComponentManager.java:237) [INFO] [talledLocalContainer] at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:61) [INFO] [talledLocalContainer] at com.atlassian.jira.upgrade.ConsistencyLauncher.start(ConsistencyLauncher.java:39) [INFO] [talledLocalContainer] at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:36) [INFO] [talledLocalContainer] at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:50) [INFO] [talledLocalContainer] at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:45) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:121) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.onTenantStart(MultiTenantComponentMapImpl.java:165) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:134) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:131) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForEachListener(DefaultMultiTenantManager.java:256) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startTenant(DefaultMultiTenantManager.java:130) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startAll(DefaultMultiTenantManager.java:203) [INFO] [talledLocalContainer] at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:77) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429) [INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) [INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardService.start(StandardService.java:516) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Catalina.start(Catalina.java:583) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) {noformat} This may not be a big deal at the moment as there are no published web panel locations in JIRA as far as I'm aware, but it's breaking my 'Featurette' plugin installed on JAC.

    Atlassian JIRA | 6 years ago | Tim Pettersen [Atlassian]
    java.lang.IllegalArgumentException: Cannot subclass final class class com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor
  2. 0

    My plain ol' vanilla web panel descriptor is failing to load on startup: {code:xml} <web-panel key="issue-context-panel" location="atl.jira.view.issue.info.context" class="com.atlassian.featurette.ContentIssueWebPanel"/> {code} {noformat} [INFO] [talledLocalContainer] 2011-02-17 14:06:14,191 main ERROR [atlassian.plugin.parsers.XmlDescriptorParser] There were problems loading the module 'web-panel' in plugin 'featurette'. The module has been disabled. [INFO] [talledLocalContainer] 2011-02-17 14:06:14,193 main ERROR [atlassian.plugin.parsers.XmlDescriptorParser] Cannot subclass final class class com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor [INFO] [talledLocalContainer] java.lang.IllegalArgumentException: Cannot subclass final class class com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor [INFO] [talledLocalContainer] at net.sf.cglib.proxy.Enhancer.generateClass(Enhancer.java:446) [INFO] [talledLocalContainer] at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25) [INFO] [talledLocalContainer] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216) [INFO] [talledLocalContainer] at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377) [INFO] [talledLocalContainer] at net.sf.cglib.proxy.Enhancer.createClass(Enhancer.java:317) [INFO] [talledLocalContainer] at com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory.getModuleDescriptor(MultiTenantModuleDescriptorFactory.java:87) [INFO] [talledLocalContainer] at com.atlassian.plugin.descriptors.ChainModuleDescriptorFactory.getModuleDescriptor(ChainModuleDescriptorFactory.java:26) [INFO] [talledLocalContainer] at com.atlassian.plugin.parsers.XmlDescriptorParser.createModuleDescriptor(XmlDescriptorParser.java:189) [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.factory.OsgiPluginXmlDescriptorParser.createModuleDescriptor(OsgiPluginXmlDescriptorParser.java:46) [INFO] [talledLocalContainer] at com.atlassian.plugin.parsers.XmlDescriptorParser.configurePlugin(XmlDescriptorParser.java:141) [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.factory.OsgiPluginFactory.create(OsgiPluginFactory.java:253) [INFO] [talledLocalContainer] at com.atlassian.plugin.loaders.ScanningPluginLoader.deployPluginFromUnit(ScanningPluginLoader.java:116) [INFO] [talledLocalContainer] at com.atlassian.plugin.loaders.ScanningPluginLoader.loadAllPlugins(ScanningPluginLoader.java:89) [INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:150) [INFO] [talledLocalContainer] at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:52) [INFO] [talledLocalContainer] at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1386) [INFO] [talledLocalContainer] at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:254) [INFO] [talledLocalContainer] at com.atlassian.jira.ComponentManager.start(ComponentManager.java:237) [INFO] [talledLocalContainer] at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:61) [INFO] [talledLocalContainer] at com.atlassian.jira.upgrade.ConsistencyLauncher.start(ConsistencyLauncher.java:39) [INFO] [talledLocalContainer] at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:36) [INFO] [talledLocalContainer] at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:50) [INFO] [talledLocalContainer] at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:45) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:121) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.onTenantStart(MultiTenantComponentMapImpl.java:165) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:134) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:131) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForEachListener(DefaultMultiTenantManager.java:256) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startTenant(DefaultMultiTenantManager.java:130) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startAll(DefaultMultiTenantManager.java:203) [INFO] [talledLocalContainer] at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:77) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429) [INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) [INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardService.start(StandardService.java:516) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Catalina.start(Catalina.java:583) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) {noformat} This may not be a big deal at the moment as there are no published web panel locations in JIRA as far as I'm aware, but it's breaking my 'Featurette' plugin installed on JAC.

    Atlassian JIRA | 6 years ago | Tim Pettersen
    java.lang.IllegalArgumentException: Cannot subclass final class class com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor
  3. 0

    Can not remove the modifier of final class

    Stack Overflow | 4 years ago | xuongrong
    java.lang.IllegalArgumentException: Cannot subclass final class class mediatheque.document.Livre
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error mocking final class with static method with JUnit 4.x and EasyMock

    Google Groups | 6 years ago | Kartik Kumar
    java.lang.IllegalArgumentException: Cannot subclass final class class com.teracent.partnerfetch.common.Partner*
  6. 0

    Redchilliplus's Blog | little extra..

    wordpress.com | 1 year ago
    java.lang.IllegalArgumentException: Cannot subclass final class class com.unittest.FinalClass

    9 unregistered visitors
    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. java.lang.IllegalArgumentException

      Cannot subclass final class class com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor

      at net.sf.cglib.proxy.Enhancer.generateClass()
    2. IDEA
      Enhancer.generateClass
      1. net.sf.cglib.proxy.Enhancer.generateClass(Enhancer.java:446)
      1 frame
    3. Code Generation Library
      AbstractClassGenerator.create
      1. net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
      2. net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
      2 frames
    4. IDEA
      Enhancer.createClass
      1. net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)
      2. net.sf.cglib.proxy.Enhancer.createClass(Enhancer.java:317)
      2 frames
    5. com.atlassian.multitenant
      MultiTenantModuleDescriptorFactory.getModuleDescriptor
      1. com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory.getModuleDescriptor(MultiTenantModuleDescriptorFactory.java:87)
      1 frame
    6. com.atlassian.plugin
      DefaultPluginManager.init
      1. com.atlassian.plugin.descriptors.ChainModuleDescriptorFactory.getModuleDescriptor(ChainModuleDescriptorFactory.java:26)
      2. com.atlassian.plugin.parsers.XmlDescriptorParser.createModuleDescriptor(XmlDescriptorParser.java:189)
      3. com.atlassian.plugin.osgi.factory.OsgiPluginXmlDescriptorParser.createModuleDescriptor(OsgiPluginXmlDescriptorParser.java:46)
      4. com.atlassian.plugin.parsers.XmlDescriptorParser.configurePlugin(XmlDescriptorParser.java:141)
      5. com.atlassian.plugin.osgi.factory.OsgiPluginFactory.create(OsgiPluginFactory.java:253)
      6. com.atlassian.plugin.loaders.ScanningPluginLoader.deployPluginFromUnit(ScanningPluginLoader.java:116)
      7. com.atlassian.plugin.loaders.ScanningPluginLoader.loadAllPlugins(ScanningPluginLoader.java:89)
      8. com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:150)
      8 frames
    7. com.atlassian.jira
      LauncherContextListener$1.create
      1. com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:52)
      2. com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1386)
      3. com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:254)
      4. com.atlassian.jira.ComponentManager.start(ComponentManager.java:237)
      5. com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:61)
      6. com.atlassian.jira.upgrade.ConsistencyLauncher.start(ConsistencyLauncher.java:39)
      7. com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:36)
      8. com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:50)
      9. com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:45)
      9 frames
    8. com.atlassian.multitenant
      DefaultMultiTenantManager.startAll
      1. com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:121)
      2. com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.onTenantStart(MultiTenantComponentMapImpl.java:165)
      3. com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:134)
      4. com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:131)
      5. com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForEachListener(DefaultMultiTenantManager.java:256)
      6. com.atlassian.multitenant.impl.DefaultMultiTenantManager.startTenant(DefaultMultiTenantManager.java:130)
      7. com.atlassian.multitenant.impl.DefaultMultiTenantManager.startAll(DefaultMultiTenantManager.java:203)
      7 frames
    9. com.atlassian.jira
      LauncherContextListener.contextInitialized
      1. com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:77)
      1 frame
    10. 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
    11. 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
    12. 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