java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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.
    via by Tim Pettersen [Atlassian],
  • 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.
    via by Tim Pettersen,
  • Can not remove the modifier of final class
    via Stack Overflow by xuongrong
    ,
  • Redchilliplus's Blog | little extra..
    via by Unknown author,
  • GitHub comment 35#155794417
    via GitHub by clay227
    ,
  • Can't mock member class enums
    via GitHub by johanhaleby
    ,
    • java.lang.IllegalArgumentException: Cannot subclass final class class com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor at net.sf.cglib.proxy.Enhancer.generateClass(Enhancer.java:446) at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25) at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216) at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377) at net.sf.cglib.proxy.Enhancer.createClass(Enhancer.java:317) at com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory.getModuleDescriptor(MultiTenantModuleDescriptorFactory.java:87) at com.atlassian.plugin.descriptors.ChainModuleDescriptorFactory.getModuleDescriptor(ChainModuleDescriptorFactory.java:26) at com.atlassian.plugin.parsers.XmlDescriptorParser.createModuleDescriptor(XmlDescriptorParser.java:189) at com.atlassian.plugin.osgi.factory.OsgiPluginXmlDescriptorParser.createModuleDescriptor(OsgiPluginXmlDescriptorParser.java:46) at com.atlassian.plugin.parsers.XmlDescriptorParser.configurePlugin(XmlDescriptorParser.java:141) at com.atlassian.plugin.osgi.factory.OsgiPluginFactory.create(OsgiPluginFactory.java:253) at com.atlassian.plugin.loaders.ScanningPluginLoader.deployPluginFromUnit(ScanningPluginLoader.java:116) at com.atlassian.plugin.loaders.ScanningPluginLoader.loadAllPlugins(ScanningPluginLoader.java:89) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:150) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:52) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1386) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:254) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:237) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:61) at com.atlassian.jira.upgrade.ConsistencyLauncher.start(ConsistencyLauncher.java:39) at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:36) at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:50) at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:45) at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:121) at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.onTenantStart(MultiTenantComponentMapImpl.java:165) at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:134) at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:131) at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForEachListener(DefaultMultiTenantManager.java:256) at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startTenant(DefaultMultiTenantManager.java:130) at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startAll(DefaultMultiTenantManager.java:203) at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:77) 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)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    tvrmsmithtvrmsmith
    32 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    6 more bugmates