net.sf.cglib.core.CodeGenerationException

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.

  • I just upgraded from the 2.1 rc1 to 2.1 final and I am having the following problem. If I restore the cglib2.jar from rc1 everything works. 2003-12-12 17:51:50,059 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/User.hbm.xml 2003-12-12 17:51:50,900 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.User -> KMS_USER 2003-12-12 17:51:51,481 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.User.roles -> KMS_USER_ROLE 2003-12-12 17:51:51,521 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.User.proficiencies -> KMS_USER_SKILL 2003-12-12 17:51:51,541 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.User.subscription -> KMS_SUBSCRIPTION 2003-12-12 17:51:51,541 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.User.readings -> KMS_USER_DOCUMENT 2003-12-12 17:51:51,551 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.User.settings -> KMS_USER_VIEW 2003-12-12 17:51:51,551 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/Role.hbm.xml 2003-12-12 17:51:51,711 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.Role -> KMS_ROLE 2003-12-12 17:51:51,721 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/Skill.hbm.xml 2003-12-12 17:51:51,851 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.Skill -> KMS_SKILL 2003-12-12 17:51:51,851 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/Department.hbm.xml 2003-12-12 17:51:51,971 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.Department -> KMS_DEPARTMENT 2003-12-12 17:51:51,982 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/View.hbm.xml 2003-12-12 17:51:52,132 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.View -> KMS_VIEW 2003-12-12 17:51:52,142 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.View.fields -> KMS_DISPLAY 2003-12-12 17:51:52,152 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.View.filters -> KMS_FILTER 2003-12-12 17:51:52,182 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/UserSession.hbm.xml 2003-12-12 17:51:52,302 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.UserSession -> KMS_SESSION 2003-12-12 17:51:52,312 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/Document.hbm.xml 2003-12-12 17:51:52,432 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.Document -> KMS_DOCUMENT 2003-12-12 17:51:52,482 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.Document.permissions -> KMS_PERMISSION 2003-12-12 17:51:52,642 INFO [net.sf.hibernate.cfg.Binder] Mapping subclass: system.FileDocument -> KMS_DOCUMENT 2003-12-12 17:51:52,662 INFO [net.sf.hibernate.cfg.Binder] Mapping subclass: system.Link -> KMS_DOCUMENT 2003-12-12 17:51:52,672 INFO [net.sf.hibernate.cfg.Binder] Mapping subclass: system.Message -> KMS_DOCUMENT 2003-12-12 17:51:52,733 INFO [net.sf.hibernate.cfg.Binder] Mapping subclass: system.Topic -> KMS_DOCUMENT 2003-12-12 17:51:52,743 INFO [net.sf.hibernate.cfg.Binder] Mapping subclass: system.Folder -> KMS_DOCUMENT 2003-12-12 17:51:52,743 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/Version.hbm.xml 2003-12-12 17:51:52,883 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.Version -> KMS_VERSION 2003-12-12 17:51:52,893 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/MessageDetail.hbm.xml 2003-12-12 17:51:53,013 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.MessageDetail -> KMS_MESSAGE 2003-12-12 17:51:53,013 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: cch/Employee.hbm.xml 2003-12-12 17:51:53,133 INFO [net.sf.hibernate.cfg.Binder] Mapping class: cch.Employee -> CCH_EMPLOYEE 2003-12-12 17:51:53,183 INFO [net.sf.hibernate.cfg.Configuration] processing one-to-many association mappings 2003-12-12 17:51:55,166 INFO [net.sf.hibernate.util.ReflectHelper] reflection optimizer disabled for: system.Filter, IllegalArgumentException: Cannot find matching method/constructor 2003-12-12 17:51:55,166 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.FileDocument.versions -> KMS_VERSION 2003-12-12 17:51:55,166 INFO [net.sf.hibernate.cfg.Configuration] processing one-to-one association property references 2003-12-12 17:51:55,166 INFO [net.sf.hibernate.cfg.Configuration] processing foreign key constraints 2003-12-12 17:51:55,316 INFO [net.sf.hibernate.dialect.Dialect] Using dialect: net.sf.hibernate.dialect.SAPDBDialect 2003-12-12 17:51:55,316 INFO [net.sf.hibernate.cfg.SettingsFactory] Use outer join fetching: true 2003-12-12 17:51:55,336 INFO [net.sf.hibernate.connection.ConnectionProviderFactory] Initializing connection provider: com.proinsight.objects.ConnectionProvider 2003-12-12 17:51:55,376 INFO [net.sf.hibernate.transaction.TransactionManagerLookupFactory] instantiating TransactionManagerLookup: net.sf.hibernate.transaction.JBossTransactionManagerLookup 2003-12-12 17:51:55,406 INFO [net.sf.hibernate.transaction.TransactionManagerLookupFactory] instantiated TransactionManagerLookup 2003-12-12 17:51:55,406 INFO [net.sf.hibernate.cfg.SettingsFactory] Use scrollable result sets: true 2003-12-12 17:51:55,406 INFO [net.sf.hibernate.cfg.SettingsFactory] JDBC 2 max batch size: 15 2003-12-12 17:51:55,406 INFO [net.sf.hibernate.cfg.SettingsFactory] Query language substitutions: {} 2003-12-12 17:51:55,406 INFO [net.sf.hibernate.cfg.SettingsFactory] cache provider: net.sf.hibernate.cache.HashtableCacheProvider 2003-12-12 17:51:55,426 INFO [net.sf.hibernate.cfg.Configuration] instantiating and configuring caches 2003-12-12 17:51:55,557 INFO [net.sf.hibernate.impl.SessionFactoryImpl] building session factory 2003-12-12 17:51:55,767 INFO [net.sf.hibernate.util.ReflectHelper] reflection optimizer disabled for: system.Folder, BulkBeanException: Property is private (property setCreatedById) 2003-12-12 17:51:56,478 INFO [net.sf.hibernate.util.ReflectHelper] reflection optimizer disabled for: system.View, BulkBeanException: Property is private (property setCreatedById) 2003-12-12 17:51:56,588 ERROR [net.sf.hibernate.proxy.LazyInitializer] CGLIB Enhancement failed net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:192) at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:330) at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:246) at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:406) at net.sf.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:74) at net.sf.hibernate.persister.AbstractEntityPersister.<init>(AbstractEntityPersister.java:801) at net.sf.hibernate.persister.EntityPersister.<init>(EntityPersister.java:741) at net.sf.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:41) at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:136) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:726) at com.proinsight.objects.ObjectDataSource.getSessionFactory(ObjectDataSource.java:173) at com.proinsight.objects.ObjectDataSource.<clinit>(ObjectDataSource.java:42) at com.proinsight.servlets.KMSProInsightServlet.init(KMSProInsightServlet.java:43) at javax.servlet.GenericServlet.init(GenericServlet.java:256) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3609) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579) at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(EmbeddedTomcatService.java:530) at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(EmbeddedTomcatService.java:309) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589) 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:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291) at org.jboss.Main.boot(Main.java:150) at org.jboss.Main$1.run(Main.java:395) at java.lang.Thread.run(Thread.java:534) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:373) at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:181) ... 72 more Caused by: java.lang.ClassFormatError: Illegal Field name "CGLIB$load_class$ARRAY0$_Ljava_lang_String;" at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.lang.ClassLoader.defineClass(ClassLoader.java:382) ... 77 more
    via by Benoit Menendez,
  • I just upgraded from the 2.1 rc1 to 2.1 final and I am having the following problem. If I restore the cglib2.jar from rc1 everything works. 2003-12-12 17:51:50,059 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/User.hbm.xml 2003-12-12 17:51:50,900 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.User -> KMS_USER 2003-12-12 17:51:51,481 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.User.roles -> KMS_USER_ROLE 2003-12-12 17:51:51,521 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.User.proficiencies -> KMS_USER_SKILL 2003-12-12 17:51:51,541 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.User.subscription -> KMS_SUBSCRIPTION 2003-12-12 17:51:51,541 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.User.readings -> KMS_USER_DOCUMENT 2003-12-12 17:51:51,551 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.User.settings -> KMS_USER_VIEW 2003-12-12 17:51:51,551 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/Role.hbm.xml 2003-12-12 17:51:51,711 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.Role -> KMS_ROLE 2003-12-12 17:51:51,721 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/Skill.hbm.xml 2003-12-12 17:51:51,851 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.Skill -> KMS_SKILL 2003-12-12 17:51:51,851 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/Department.hbm.xml 2003-12-12 17:51:51,971 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.Department -> KMS_DEPARTMENT 2003-12-12 17:51:51,982 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/View.hbm.xml 2003-12-12 17:51:52,132 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.View -> KMS_VIEW 2003-12-12 17:51:52,142 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.View.fields -> KMS_DISPLAY 2003-12-12 17:51:52,152 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.View.filters -> KMS_FILTER 2003-12-12 17:51:52,182 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/UserSession.hbm.xml 2003-12-12 17:51:52,302 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.UserSession -> KMS_SESSION 2003-12-12 17:51:52,312 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/Document.hbm.xml 2003-12-12 17:51:52,432 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.Document -> KMS_DOCUMENT 2003-12-12 17:51:52,482 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.Document.permissions -> KMS_PERMISSION 2003-12-12 17:51:52,642 INFO [net.sf.hibernate.cfg.Binder] Mapping subclass: system.FileDocument -> KMS_DOCUMENT 2003-12-12 17:51:52,662 INFO [net.sf.hibernate.cfg.Binder] Mapping subclass: system.Link -> KMS_DOCUMENT 2003-12-12 17:51:52,672 INFO [net.sf.hibernate.cfg.Binder] Mapping subclass: system.Message -> KMS_DOCUMENT 2003-12-12 17:51:52,733 INFO [net.sf.hibernate.cfg.Binder] Mapping subclass: system.Topic -> KMS_DOCUMENT 2003-12-12 17:51:52,743 INFO [net.sf.hibernate.cfg.Binder] Mapping subclass: system.Folder -> KMS_DOCUMENT 2003-12-12 17:51:52,743 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/Version.hbm.xml 2003-12-12 17:51:52,883 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.Version -> KMS_VERSION 2003-12-12 17:51:52,893 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: system/MessageDetail.hbm.xml 2003-12-12 17:51:53,013 INFO [net.sf.hibernate.cfg.Binder] Mapping class: system.MessageDetail -> KMS_MESSAGE 2003-12-12 17:51:53,013 INFO [net.sf.hibernate.cfg.Configuration] Mapping resource: cch/Employee.hbm.xml 2003-12-12 17:51:53,133 INFO [net.sf.hibernate.cfg.Binder] Mapping class: cch.Employee -> CCH_EMPLOYEE 2003-12-12 17:51:53,183 INFO [net.sf.hibernate.cfg.Configuration] processing one-to-many association mappings 2003-12-12 17:51:55,166 INFO [net.sf.hibernate.util.ReflectHelper] reflection optimizer disabled for: system.Filter, IllegalArgumentException: Cannot find matching method/constructor 2003-12-12 17:51:55,166 INFO [net.sf.hibernate.cfg.Binder] Mapping collection: system.FileDocument.versions -> KMS_VERSION 2003-12-12 17:51:55,166 INFO [net.sf.hibernate.cfg.Configuration] processing one-to-one association property references 2003-12-12 17:51:55,166 INFO [net.sf.hibernate.cfg.Configuration] processing foreign key constraints 2003-12-12 17:51:55,316 INFO [net.sf.hibernate.dialect.Dialect] Using dialect: net.sf.hibernate.dialect.SAPDBDialect 2003-12-12 17:51:55,316 INFO [net.sf.hibernate.cfg.SettingsFactory] Use outer join fetching: true 2003-12-12 17:51:55,336 INFO [net.sf.hibernate.connection.ConnectionProviderFactory] Initializing connection provider: com.proinsight.objects.ConnectionProvider 2003-12-12 17:51:55,376 INFO [net.sf.hibernate.transaction.TransactionManagerLookupFactory] instantiating TransactionManagerLookup: net.sf.hibernate.transaction.JBossTransactionManagerLookup 2003-12-12 17:51:55,406 INFO [net.sf.hibernate.transaction.TransactionManagerLookupFactory] instantiated TransactionManagerLookup 2003-12-12 17:51:55,406 INFO [net.sf.hibernate.cfg.SettingsFactory] Use scrollable result sets: true 2003-12-12 17:51:55,406 INFO [net.sf.hibernate.cfg.SettingsFactory] JDBC 2 max batch size: 15 2003-12-12 17:51:55,406 INFO [net.sf.hibernate.cfg.SettingsFactory] Query language substitutions: {} 2003-12-12 17:51:55,406 INFO [net.sf.hibernate.cfg.SettingsFactory] cache provider: net.sf.hibernate.cache.HashtableCacheProvider 2003-12-12 17:51:55,426 INFO [net.sf.hibernate.cfg.Configuration] instantiating and configuring caches 2003-12-12 17:51:55,557 INFO [net.sf.hibernate.impl.SessionFactoryImpl] building session factory 2003-12-12 17:51:55,767 INFO [net.sf.hibernate.util.ReflectHelper] reflection optimizer disabled for: system.Folder, BulkBeanException: Property is private (property setCreatedById) 2003-12-12 17:51:56,478 INFO [net.sf.hibernate.util.ReflectHelper] reflection optimizer disabled for: system.View, BulkBeanException: Property is private (property setCreatedById) 2003-12-12 17:51:56,588 ERROR [net.sf.hibernate.proxy.LazyInitializer] CGLIB Enhancement failed net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:192) at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:330) at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:246) at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:406) at net.sf.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:74) at net.sf.hibernate.persister.AbstractEntityPersister.<init>(AbstractEntityPersister.java:801) at net.sf.hibernate.persister.EntityPersister.<init>(EntityPersister.java:741) at net.sf.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:41) at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:136) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:726) at com.proinsight.objects.ObjectDataSource.getSessionFactory(ObjectDataSource.java:173) at com.proinsight.objects.ObjectDataSource.<clinit>(ObjectDataSource.java:42) at com.proinsight.servlets.KMSProInsightServlet.init(KMSProInsightServlet.java:43) at javax.servlet.GenericServlet.init(GenericServlet.java:256) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3609) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579) at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(EmbeddedTomcatService.java:530) at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(EmbeddedTomcatService.java:309) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589) 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:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291) at org.jboss.Main.boot(Main.java:150) at org.jboss.Main$1.run(Main.java:395) at java.lang.Thread.run(Thread.java:534) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:373) at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:181) ... 72 more Caused by: java.lang.ClassFormatError: Illegal Field name "CGLIB$load_class$ARRAY0$_Ljava_lang_String;" at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.lang.ClassLoader.defineClass(ClassLoader.java:382) ... 77 more
    via by Benoit Menendez,
  • I've decided to turn on Proxool connection pool and it throws the following exception on startup: [19:20:56.899] Proxool Provider using delegate JDBC Driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost/boxlife [19:20:56.930] Proxool Provider Connection URL: proxool.hibernate-1:com.mysql.jdbc.Driver:jdbc:mysql://localhost/boxlife [19:20:57.128] Proxool 0.8.2-bh-1+ [19:20:57.434] Transaction strategy: net.sf.hibernate.transaction.JDBCTransactionFactory [19:20:57.582] No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended) [19:20:59.164] Prototype [19:20:59.164] net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null [19:20:59.164] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:192) [19:20:59.164] at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:330) [19:20:59.164] at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:246) [19:20:59.164] at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:406) [19:20:59.164] at org.logicalcobwebs.proxool.ProxyFactory.buildProxyConnection(ProxyFactory.java:44) [19:20:59.164] at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:150) [19:20:59.164] at org.logicalcobwebs.proxool.Prototyper.sweep(Prototyper.java:95) [19:20:59.164] at org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.java:42) [19:20:59.164] Caused by: java.lang.reflect.InvocationTargetException [19:20:59.164] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [19:20:59.164] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [19:20:59.164] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [19:20:59.164] at java.lang.reflect.Method.invoke(Method.java:324) [19:20:59.164] at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:373) [19:20:59.164] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:181) [19:20:59.164] ... 7 more [19:20:59.164] Caused by: java.lang.ClassFormatError: Illegal Class name "java/sql/Connection$$EnhancerByCGLIB$$f39e9d85-2" [19:20:59.164] at java.lang.ClassLoader.defineClass0(Native Method) [19:20:59.164] at java.lang.ClassLoader.defineClass(ClassLoader.java:537) [19:20:59.164] at java.lang.ClassLoader.defineClass(ClassLoader.java:382) [19:20:59.164] ... 13 more [19:20:59.174] Couldn't get connection [19:20:59.174] net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null [19:20:59.174] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:192) [19:20:59.174] at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:330) [19:20:59.174] at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:246) [19:20:59.174] at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:406) [19:20:59.174] at org.logicalcobwebs.proxool.ProxyFactory.buildProxyConnection(ProxyFactory.java:44) [19:20:59.174] at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:150) [19:20:59.174] at org.logicalcobwebs.proxool.PrototyperController.buildConnection(PrototyperController.java:88) [19:20:59.174] at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:222) [19:20:59.174] at org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89) [19:20:59.174] at java.sql.DriverManager.getConnection(DriverManager.java:512) [19:20:59.174] at java.sql.DriverManager.getConnection(DriverManager.java:193) [19:20:59.174] at net.sf.hibernate.connection.ProxoolConnectionProvider.getConnection(ProxoolConnectionProvider.java:46) [19:20:59.174] at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71) [19:20:59.174] at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1078) [19:20:59.174] at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724) [19:20:59.174] at pl.elysium.hibernate.struts.util.HibernatePlugIn.initHibernate(HibernatePlugIn.java:113) [19:20:59.174] at pl.elysium.hibernate.struts.util.HibernatePlugIn.init(HibernatePlugIn.java:90) [19:20:59.174] at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158) [19:20:59.174] at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) [19:20:59.174] at javax.servlet.GenericServlet.init(GenericServlet.java:82) [19:20:59.174] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:511) [19:20:59.174] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:153) [19:20:59.174] at com.caucho.server.webapp.Application.start(Application.java:1318) [19:20:59.174] at com.caucho.server.webapp.WebAppEntry.createApplicationInt(WebAppEntry.java:656) [19:20:59.174] at com.caucho.server.webapp.WebAppEntry.createApplication(WebAppEntry.java:460) [19:20:59.174] at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:541) [19:20:59.174] at com.caucho.server.host.Host.start(Host.java:433) [19:20:59.174] at com.caucho.server.host.HostEntry.createHostInt(HostEntry.java:520) [19:20:59.174] at com.caucho.server.host.HostEntry.createHost(HostEntry.java:298) [19:20:59.174] at com.caucho.server.host.HostContainer.start(HostContainer.java:504) [19:20:59.174] at com.caucho.server.resin.ServletServer.start(ServletServer.java:727) [19:20:59.174] at com.caucho.server.resin.ResinServer.start(ResinServer.java:363) [19:20:59.174] at com.caucho.server.resin.Resin.init(Resin.java:284) [19:20:59.174] at com.caucho.server.resin.Resin.main(Resin.java:490) [19:20:59.174] Caused by: java.lang.reflect.InvocationTargetException [19:20:59.174] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [19:20:59.174] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [19:20:59.174] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [19:20:59.174] at java.lang.reflect.Method.invoke(Method.java:324) [19:20:59.174] at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:373) [19:20:59.174] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:181) [19:20:59.174] ... 33 more [19:20:59.174] Caused by: java.lang.ClassFormatError: Illegal Field name "CGLIB$load_class$ARRAY0$_Ljava_lang_String;" [19:20:59.174] at java.lang.ClassLoader.defineClass0(Native Method) [19:20:59.174] at java.lang.ClassLoader.defineClass(ClassLoader.java:537) [19:20:59.174] at java.lang.ClassLoader.defineClass(ClassLoader.java:382) [19:20:59.174] ... 39 more [19:20:59.222] Problem [19:20:59.222] java.sql.SQLException: net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null [19:20:59.222] at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:238) [19:20:59.222] at org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89) [19:20:59.222] at java.sql.DriverManager.getConnection(DriverManager.java:512) [19:20:59.222] at java.sql.DriverManager.getConnection(DriverManager.java:193) [19:20:59.222] at net.sf.hibernate.connection.ProxoolConnectionProvider.getConnection(ProxoolConnectionProvider.java:46) [19:20:59.222] at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71) [19:20:59.222] at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1078) [19:20:59.222] at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724) [19:20:59.222] at pl.elysium.hibernate.struts.util.HibernatePlugIn.initHibernate(HibernatePlugIn.java:113) [19:20:59.222] at pl.elysium.hibernate.struts.util.HibernatePlugIn.init(HibernatePlugIn.java:90) [19:20:59.222] at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158) [19:20:59.222] at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) [19:20:59.222] at javax.servlet.GenericServlet.init(GenericServlet.java:82) [19:20:59.222] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:511) [19:20:59.222] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:153) [19:20:59.222] at com.caucho.server.webapp.Application.start(Application.java:1318) [19:20:59.222] at com.caucho.server.webapp.WebAppEntry.createApplicationInt(WebAppEntry.java:656) [19:20:59.222] at com.caucho.server.webapp.WebAppEntry.createApplication(WebAppEntry.java:460) [19:20:59.222] at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:541) [19:20:59.222] at com.caucho.server.host.Host.start(Host.java:433) [19:20:59.222] at com.caucho.server.host.HostEntry.createHostInt(HostEntry.java:520) [19:20:59.222] at com.caucho.server.host.HostEntry.createHost(HostEntry.java:298) [19:20:59.222] at com.caucho.server.host.HostContainer.start(HostContainer.java:504) [19:20:59.222] at com.caucho.server.resin.ServletServer.start(ServletServer.java:727) [19:20:59.222] at com.caucho.server.resin.ResinServer.start(ResinServer.java:363) [19:20:59.222] at com.caucho.server.resin.Resin.init(Resin.java:284) [19:20:59.222] at com.caucho.server.resin.Resin.main(Resin.java:490) [19:20:59.251] Could not obtain connection metadata [19:20:59.251] java.sql.SQLException: net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null [19:20:59.251] at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:238) [19:20:59.251] at org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89) [19:20:59.251] at java.sql.DriverManager.getConnection(DriverManager.java:512) [19:20:59.251] at java.sql.DriverManager.getConnection(DriverManager.java:193) [19:20:59.251] at net.sf.hibernate.connection.ProxoolConnectionProvider.getConnection(ProxoolConnectionProvider.java:46) [19:20:59.251] at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71) [19:20:59.251] at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1078) [19:20:59.251] at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724) [19:20:59.251] at pl.elysium.hibernate.struts.util.HibernatePlugIn.initHibernate(HibernatePlugIn.java:113) [19:20:59.251] at pl.elysium.hibernate.struts.util.HibernatePlugIn.init(HibernatePlugIn.java:90) [19:20:59.251] at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158) [19:20:59.251] at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) [19:20:59.251] at javax.servlet.GenericServlet.init(GenericServlet.java:82) [19:20:59.251] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:511) [19:20:59.251] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:153) [19:20:59.251] at com.caucho.server.webapp.Application.start(Application.java:1318) [19:20:59.251] at com.caucho.server.webapp.WebAppEntry.createApplicationInt(WebAppEntry.java:656) [19:20:59.251] at com.caucho.server.webapp.WebAppEntry.createApplication(WebAppEntry.java:460) [19:20:59.251] at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:541) [19:20:59.251] at com.caucho.server.host.Host.start(Host.java:433) [19:20:59.251] at com.caucho.server.host.HostEntry.createHostInt(HostEntry.java:520) [19:20:59.251] at com.caucho.server.host.HostEntry.createHost(HostEntry.java:298) [19:20:59.251] at com.caucho.server.host.HostContainer.start(HostContainer.java:504) [19:20:59.251] at com.caucho.server.resin.ServletServer.start(ServletServer.java:727) [19:20:59.251] at com.caucho.server.resin.ResinServer.start(ResinServer.java:363) [19:20:59.251] at com.caucho.server.resin.Resin.init(Resin.java:284) [19:20:59.251] at com.caucho.server.resin.Resin.main(Resin.java:490) Upgrading to latest (0.8.3) proxool fixes it: [19:23:27.696] Proxool 0.8.3 (14-Dec-2003 16:06) [19:23:27.982] Transaction strategy: net.sf.hibernate.transaction.JDBCTransactionFactory [19:23:28.055] No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended) so please update the proxool jar in cvs.
    via by Krzysztof Dabrowski,
  • I've decided to turn on Proxool connection pool and it throws the following exception on startup: [19:20:56.899] Proxool Provider using delegate JDBC Driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost/boxlife [19:20:56.930] Proxool Provider Connection URL: proxool.hibernate-1:com.mysql.jdbc.Driver:jdbc:mysql://localhost/boxlife [19:20:57.128] Proxool 0.8.2-bh-1+ [19:20:57.434] Transaction strategy: net.sf.hibernate.transaction.JDBCTransactionFactory [19:20:57.582] No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended) [19:20:59.164] Prototype [19:20:59.164] net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null [19:20:59.164] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:192) [19:20:59.164] at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:330) [19:20:59.164] at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:246) [19:20:59.164] at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:406) [19:20:59.164] at org.logicalcobwebs.proxool.ProxyFactory.buildProxyConnection(ProxyFactory.java:44) [19:20:59.164] at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:150) [19:20:59.164] at org.logicalcobwebs.proxool.Prototyper.sweep(Prototyper.java:95) [19:20:59.164] at org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.java:42) [19:20:59.164] Caused by: java.lang.reflect.InvocationTargetException [19:20:59.164] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [19:20:59.164] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [19:20:59.164] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [19:20:59.164] at java.lang.reflect.Method.invoke(Method.java:324) [19:20:59.164] at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:373) [19:20:59.164] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:181) [19:20:59.164] ... 7 more [19:20:59.164] Caused by: java.lang.ClassFormatError: Illegal Class name "java/sql/Connection$$EnhancerByCGLIB$$f39e9d85-2" [19:20:59.164] at java.lang.ClassLoader.defineClass0(Native Method) [19:20:59.164] at java.lang.ClassLoader.defineClass(ClassLoader.java:537) [19:20:59.164] at java.lang.ClassLoader.defineClass(ClassLoader.java:382) [19:20:59.164] ... 13 more [19:20:59.174] Couldn't get connection [19:20:59.174] net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null [19:20:59.174] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:192) [19:20:59.174] at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:330) [19:20:59.174] at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:246) [19:20:59.174] at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:406) [19:20:59.174] at org.logicalcobwebs.proxool.ProxyFactory.buildProxyConnection(ProxyFactory.java:44) [19:20:59.174] at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:150) [19:20:59.174] at org.logicalcobwebs.proxool.PrototyperController.buildConnection(PrototyperController.java:88) [19:20:59.174] at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:222) [19:20:59.174] at org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89) [19:20:59.174] at java.sql.DriverManager.getConnection(DriverManager.java:512) [19:20:59.174] at java.sql.DriverManager.getConnection(DriverManager.java:193) [19:20:59.174] at net.sf.hibernate.connection.ProxoolConnectionProvider.getConnection(ProxoolConnectionProvider.java:46) [19:20:59.174] at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71) [19:20:59.174] at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1078) [19:20:59.174] at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724) [19:20:59.174] at pl.elysium.hibernate.struts.util.HibernatePlugIn.initHibernate(HibernatePlugIn.java:113) [19:20:59.174] at pl.elysium.hibernate.struts.util.HibernatePlugIn.init(HibernatePlugIn.java:90) [19:20:59.174] at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158) [19:20:59.174] at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) [19:20:59.174] at javax.servlet.GenericServlet.init(GenericServlet.java:82) [19:20:59.174] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:511) [19:20:59.174] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:153) [19:20:59.174] at com.caucho.server.webapp.Application.start(Application.java:1318) [19:20:59.174] at com.caucho.server.webapp.WebAppEntry.createApplicationInt(WebAppEntry.java:656) [19:20:59.174] at com.caucho.server.webapp.WebAppEntry.createApplication(WebAppEntry.java:460) [19:20:59.174] at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:541) [19:20:59.174] at com.caucho.server.host.Host.start(Host.java:433) [19:20:59.174] at com.caucho.server.host.HostEntry.createHostInt(HostEntry.java:520) [19:20:59.174] at com.caucho.server.host.HostEntry.createHost(HostEntry.java:298) [19:20:59.174] at com.caucho.server.host.HostContainer.start(HostContainer.java:504) [19:20:59.174] at com.caucho.server.resin.ServletServer.start(ServletServer.java:727) [19:20:59.174] at com.caucho.server.resin.ResinServer.start(ResinServer.java:363) [19:20:59.174] at com.caucho.server.resin.Resin.init(Resin.java:284) [19:20:59.174] at com.caucho.server.resin.Resin.main(Resin.java:490) [19:20:59.174] Caused by: java.lang.reflect.InvocationTargetException [19:20:59.174] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [19:20:59.174] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [19:20:59.174] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [19:20:59.174] at java.lang.reflect.Method.invoke(Method.java:324) [19:20:59.174] at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:373) [19:20:59.174] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:181) [19:20:59.174] ... 33 more [19:20:59.174] Caused by: java.lang.ClassFormatError: Illegal Field name "CGLIB$load_class$ARRAY0$_Ljava_lang_String;" [19:20:59.174] at java.lang.ClassLoader.defineClass0(Native Method) [19:20:59.174] at java.lang.ClassLoader.defineClass(ClassLoader.java:537) [19:20:59.174] at java.lang.ClassLoader.defineClass(ClassLoader.java:382) [19:20:59.174] ... 39 more [19:20:59.222] Problem [19:20:59.222] java.sql.SQLException: net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null [19:20:59.222] at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:238) [19:20:59.222] at org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89) [19:20:59.222] at java.sql.DriverManager.getConnection(DriverManager.java:512) [19:20:59.222] at java.sql.DriverManager.getConnection(DriverManager.java:193) [19:20:59.222] at net.sf.hibernate.connection.ProxoolConnectionProvider.getConnection(ProxoolConnectionProvider.java:46) [19:20:59.222] at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71) [19:20:59.222] at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1078) [19:20:59.222] at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724) [19:20:59.222] at pl.elysium.hibernate.struts.util.HibernatePlugIn.initHibernate(HibernatePlugIn.java:113) [19:20:59.222] at pl.elysium.hibernate.struts.util.HibernatePlugIn.init(HibernatePlugIn.java:90) [19:20:59.222] at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158) [19:20:59.222] at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) [19:20:59.222] at javax.servlet.GenericServlet.init(GenericServlet.java:82) [19:20:59.222] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:511) [19:20:59.222] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:153) [19:20:59.222] at com.caucho.server.webapp.Application.start(Application.java:1318) [19:20:59.222] at com.caucho.server.webapp.WebAppEntry.createApplicationInt(WebAppEntry.java:656) [19:20:59.222] at com.caucho.server.webapp.WebAppEntry.createApplication(WebAppEntry.java:460) [19:20:59.222] at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:541) [19:20:59.222] at com.caucho.server.host.Host.start(Host.java:433) [19:20:59.222] at com.caucho.server.host.HostEntry.createHostInt(HostEntry.java:520) [19:20:59.222] at com.caucho.server.host.HostEntry.createHost(HostEntry.java:298) [19:20:59.222] at com.caucho.server.host.HostContainer.start(HostContainer.java:504) [19:20:59.222] at com.caucho.server.resin.ServletServer.start(ServletServer.java:727) [19:20:59.222] at com.caucho.server.resin.ResinServer.start(ResinServer.java:363) [19:20:59.222] at com.caucho.server.resin.Resin.init(Resin.java:284) [19:20:59.222] at com.caucho.server.resin.Resin.main(Resin.java:490) [19:20:59.251] Could not obtain connection metadata [19:20:59.251] java.sql.SQLException: net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null [19:20:59.251] at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:238) [19:20:59.251] at org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89) [19:20:59.251] at java.sql.DriverManager.getConnection(DriverManager.java:512) [19:20:59.251] at java.sql.DriverManager.getConnection(DriverManager.java:193) [19:20:59.251] at net.sf.hibernate.connection.ProxoolConnectionProvider.getConnection(ProxoolConnectionProvider.java:46) [19:20:59.251] at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71) [19:20:59.251] at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1078) [19:20:59.251] at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724) [19:20:59.251] at pl.elysium.hibernate.struts.util.HibernatePlugIn.initHibernate(HibernatePlugIn.java:113) [19:20:59.251] at pl.elysium.hibernate.struts.util.HibernatePlugIn.init(HibernatePlugIn.java:90) [19:20:59.251] at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158) [19:20:59.251] at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) [19:20:59.251] at javax.servlet.GenericServlet.init(GenericServlet.java:82) [19:20:59.251] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:511) [19:20:59.251] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:153) [19:20:59.251] at com.caucho.server.webapp.Application.start(Application.java:1318) [19:20:59.251] at com.caucho.server.webapp.WebAppEntry.createApplicationInt(WebAppEntry.java:656) [19:20:59.251] at com.caucho.server.webapp.WebAppEntry.createApplication(WebAppEntry.java:460) [19:20:59.251] at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:541) [19:20:59.251] at com.caucho.server.host.Host.start(Host.java:433) [19:20:59.251] at com.caucho.server.host.HostEntry.createHostInt(HostEntry.java:520) [19:20:59.251] at com.caucho.server.host.HostEntry.createHost(HostEntry.java:298) [19:20:59.251] at com.caucho.server.host.HostContainer.start(HostContainer.java:504) [19:20:59.251] at com.caucho.server.resin.ServletServer.start(ServletServer.java:727) [19:20:59.251] at com.caucho.server.resin.ResinServer.start(ResinServer.java:363) [19:20:59.251] at com.caucho.server.resin.Resin.init(Resin.java:284) [19:20:59.251] at com.caucho.server.resin.Resin.main(Resin.java:490) Upgrading to latest (0.8.3) proxool fixes it: [19:23:27.696] Proxool 0.8.3 (14-Dec-2003 16:06) [19:23:27.982] Transaction strategy: net.sf.hibernate.transaction.JDBCTransactionFactory [19:23:28.055] No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended) so please update the proxool jar in cvs.
    via by Krzysztof Dabrowski,
  • First you have to run this test with your mobile, or you could simply switch the user agent of your browser. On Firefox, I'm using this one http://chrispederick.com/work/user-agent-switcher/. To reproduce the issue below you have to change the user agent of your browser to mobile! I tried to create a more complexe (but still simple) configuration of the mobile variation. I want to disabled the promo area on mobile device. See screenshot. And then when I render the page http://localhost:8080/magnolia-empty-webapp/demo-project.html, nothing is rendered and i have this huge error {code} 2012-01-24 15:39:10,591 ERROR info.magnolia.beanmerger.ProxyBasedBeanMerger : net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:237) at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377) at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:285) at org.apache.commons.proxy.factory.cglib.CglibProxyFactory.createInvokerProxy(CglibProxyFactory.java:90) at org.apache.commons.proxy.ProxyFactory.createInvokerProxy(ProxyFactory.java:145) at info.magnolia.beanmerger.ProxyBasedBeanMerger.mergeBean(ProxyBasedBeanMerger.java:79) at info.magnolia.beanmerger.BeanMergerBase.merge(BeanMergerBase.java:79) at info.magnolia.beanmerger.BeanMergerBase.mergeMaps(BeanMergerBase.java:97) at info.magnolia.beanmerger.BeanMergerBase.merge(BeanMergerBase.java:76) at info.magnolia.beanmerger.ProxyBasedBeanMerger$MergeInvoker.invoke(ProxyBasedBeanMerger.java:114) at org.apache.commons.proxy.factory.cglib.CglibProxyFactory$InvokerBridge.invoke(CglibProxyFactory.java:116) at info.magnolia.module.templatingkit.templates.pages.STKPage$$EnhancerByCGLIB$$78237509.getAreas(<generated>) at info.magnolia.templating.elements.AreaElement.resolveAreaDefinition(AreaElement.java:271) at info.magnolia.templating.elements.AreaElement.begin(AreaElement.java:109) at info.magnolia.templating.freemarker.AbstractDirective.execute(AbstractDirective.java:93) at freemarker.core.Environment.visit(Environment.java:274) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:126) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.Environment.process(Environment.java:199) at freemarker.template.Template.process(Template.java:237) at info.magnolia.freemarker.FreemarkerHelper.render(FreemarkerHelper.java:156) at info.magnolia.rendering.renderer.FreemarkerRenderer.onRender(FreemarkerRenderer.java:89) at info.magnolia.rendering.renderer.AbstractRenderer.render(AbstractRenderer.java:128) at info.magnolia.module.templatingkit.renderers.STKRenderer.render(STKRenderer.java:74) at info.magnolia.rendering.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:97) at info.magnolia.rendering.engine.DefaultRenderingEngine$$EnhancerByCGLIB$$24b4a6ea.render(<generated>) at info.magnolia.rendering.engine.RenderingFilter.render(RenderingFilter.java:147) at info.magnolia.rendering.engine.RenderingFilter.doFilter(RenderingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.rendering.model.ModelExecutionFilter.doFilter(ModelExecutionFilter.java:107) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.InterceptFilter.doFilter(InterceptFilter.java:122) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.AggregatorFilter.doFilter(AggregatorFilter.java:105) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RepositoryMappingFilter.doFilter(RepositoryMappingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:77) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.VirtualUriFilter.doFilter(VirtualUriFilter.java:70) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.executor.Bypass.processCacheRequest(Bypass.java:58) at info.magnolia.module.cache.executor.CompositeExecutor.processCacheRequest(CompositeExecutor.java:66) at info.magnolia.module.cache.filter.CacheFilter.doFilter(CacheFilter.java:153) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.i18n.I18nContentSupportFilter.doFilter(I18nContentSupportFilter.java:76) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RangeSupportFilter.doFilter(RangeSupportFilter.java:86) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.SecurityCallbackFilter.doFilter(SecurityCallbackFilter.java:86) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.LogoutFilter.doFilter(LogoutFilter.java:93) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.SiteMergeFilter.doFilter(SiteMergeFilter.java:99) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.MultiChannelFilter.doFilter(MultiChannelFilter.java:82) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.filter.GZipFilter.doFilter(GZipFilter.java:75) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.security.auth.login.LoginFilter.doFilter(LoginFilter.java:93) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CosMultipartRequestFilter.doFilter(CosMultipartRequestFilter.java:87) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.devicedetection.filter.DeviceDetectionFilter.doFilter(DeviceDetectionFilter.java:67) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContentTypeFilter.doFilter(ContentTypeFilter.java:103) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContextFilter.doFilter(ContextFilter.java:131) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.SafeDestroyMgnlFilterWrapper.doFilter(SafeDestroyMgnlFilterWrapper.java:108) at info.magnolia.cms.filters.MgnlFilterDispatcher.doDispatch(MgnlFilterDispatcher.java:67) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:108) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:94) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:384) at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:219) ... 131 more Caused by: java.lang.ClassFormatError: Duplicate method name&signature in class file info/magnolia/rendering/template/configured/ConfiguredAreaDefinition$$EnhancerByCGLIB$$5c72fe12$$EnhancerByCGLIB$$503d8eb3_102 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) ... 136 more 2012-01-24 15:39:10,594 ERROR freemarker.runtime : Template processing error: "info.magnolia.rendering.engine.RenderException: Can't render area node /demo-project/htmlHeader with name htmlHeader" info.magnolia.rendering.engine.RenderException: Can't render area node /demo-project/htmlHeader with name htmlHeader The problematic instruction: ---------- ==> user-directive cms.area [on line 7, column 4 in templating-kit/pages/main-mobile.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateException: info.magnolia.rendering.engine.RenderException: Can't render area node /demo-project/htmlHeader with name htmlHeader at info.magnolia.templating.freemarker.AbstractDirective.execute(AbstractDirective.java:101) at freemarker.core.Environment.visit(Environment.java:274) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:126) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.Environment.process(Environment.java:199) at freemarker.template.Template.process(Template.java:237) at info.magnolia.freemarker.FreemarkerHelper.render(FreemarkerHelper.java:156) at info.magnolia.rendering.renderer.FreemarkerRenderer.onRender(FreemarkerRenderer.java:89) at info.magnolia.rendering.renderer.AbstractRenderer.render(AbstractRenderer.java:128) at info.magnolia.module.templatingkit.renderers.STKRenderer.render(STKRenderer.java:74) at info.magnolia.rendering.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:97) at info.magnolia.rendering.engine.DefaultRenderingEngine$$EnhancerByCGLIB$$24b4a6ea.render(<generated>) at info.magnolia.rendering.engine.RenderingFilter.render(RenderingFilter.java:147) at info.magnolia.rendering.engine.RenderingFilter.doFilter(RenderingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.rendering.model.ModelExecutionFilter.doFilter(ModelExecutionFilter.java:107) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.InterceptFilter.doFilter(InterceptFilter.java:122) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.AggregatorFilter.doFilter(AggregatorFilter.java:105) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RepositoryMappingFilter.doFilter(RepositoryMappingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:77) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.VirtualUriFilter.doFilter(VirtualUriFilter.java:70) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.executor.Bypass.processCacheRequest(Bypass.java:58) at info.magnolia.module.cache.executor.CompositeExecutor.processCacheRequest(CompositeExecutor.java:66) at info.magnolia.module.cache.filter.CacheFilter.doFilter(CacheFilter.java:153) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.i18n.I18nContentSupportFilter.doFilter(I18nContentSupportFilter.java:76) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RangeSupportFilter.doFilter(RangeSupportFilter.java:86) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.SecurityCallbackFilter.doFilter(SecurityCallbackFilter.java:86) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.LogoutFilter.doFilter(LogoutFilter.java:93) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.SiteMergeFilter.doFilter(SiteMergeFilter.java:99) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.MultiChannelFilter.doFilter(MultiChannelFilter.java:82) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.filter.GZipFilter.doFilter(GZipFilter.java:75) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.security.auth.login.LoginFilter.doFilter(LoginFilter.java:93) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CosMultipartRequestFilter.doFilter(CosMultipartRequestFilter.java:87) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.devicedetection.filter.DeviceDetectionFilter.doFilter(DeviceDetectionFilter.java:67) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContentTypeFilter.doFilter(ContentTypeFilter.java:103) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContextFilter.doFilter(ContextFilter.java:131) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.SafeDestroyMgnlFilterWrapper.doFilter(SafeDestroyMgnlFilterWrapper.java:108) at info.magnolia.cms.filters.MgnlFilterDispatcher.doDispatch(MgnlFilterDispatcher.java:67) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:108) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:94) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:680) Caused by: info.magnolia.rendering.engine.RenderException: Can't render area node /demo-project/htmlHeader with name htmlHeader at info.magnolia.templating.elements.AreaElement.end(AreaElement.java:227) at info.magnolia.templating.freemarker.AbstractDirective.execute(AbstractDirective.java:98) ... 117 more Caused by: info.magnolia.rendering.engine.RenderException: info.magnolia.rendering.engine.RenderException: No template script defined for the template definition [info.magnolia.rendering.template.configured.ConfiguredAreaDefinition@43eb13dc[id=<null>,name=htmlHeader,renderType=stk,description=<null>,title=<null>,templateScript=<null>,autoGeneration=info.magnolia.rendering.template.configured.ConfiguredAutoGeneration@7e64f359[content={},generatorClass=<null>]]] at info.magnolia.module.templatingkit.renderers.STKRenderer.render(STKRenderer.java:79) at info.magnolia.rendering.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:97) at info.magnolia.rendering.engine.DefaultRenderingEngine$$EnhancerByCGLIB$$24b4a6ea.render(<generated>) at info.magnolia.templating.elements.AreaElement.end(AreaElement.java:213) ... 118 more Caused by: info.magnolia.rendering.engine.RenderException: No template script defined for the template definition [info.magnolia.rendering.template.configured.ConfiguredAreaDefinition@43eb13dc[id=<null>,name=htmlHeader,renderType=stk,description=<null>,title=<null>,templateScript=<null>,autoGeneration=info.magnolia.rendering.template.configured.ConfiguredAutoGeneration@7e64f359[content={},generatorClass=<null>]]] at info.magnolia.rendering.renderer.AbstractRenderer.render(AbstractRenderer.java:120) at info.magnolia.module.templatingkit.renderers.STKRenderer.render(STKRenderer.java:74) ... 121 more 2012-01-24 15:39:10,601 ERROR agnolia.module.templatingkit.renderers.STKRenderer: Failed to render freemarker template: RenderException: No template script defined for the template definition [info.magnolia.rendering.template.configured.ConfiguredAreaDefinition@43eb13dc[id=<null>,name=htmlHeader,renderType=stk,description=<null>,title=<null>,templateScript=<null>,autoGeneration=info.magnolia.rendering.template.configured.ConfiguredAutoGeneration@7e64f359[content={},generatorClass=<null>]]] info.magnolia.rendering.engine.RenderException: Can't render area node /demo-project/htmlHeader with name htmlHeader The problematic instruction: ---------- ==> user-directive cms.area [on line 7, column 4 in templating-kit/pages/main-mobile.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateException: info.magnolia.rendering.engine.RenderException: Can't render area node /demo-project/htmlHeader with name htmlHeader at info.magnolia.templating.freemarker.AbstractDirective.execute(AbstractDirective.java:101) at freemarker.core.Environment.visit(Environment.java:274) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:126) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.Environment.process(Environment.java:199) at freemarker.template.Template.process(Template.java:237) at info.magnolia.freemarker.FreemarkerHelper.render(FreemarkerHelper.java:156) at info.magnolia.rendering.renderer.FreemarkerRenderer.onRender(FreemarkerRenderer.java:89) at info.magnolia.rendering.renderer.AbstractRenderer.render(AbstractRenderer.java:128) at info.magnolia.module.templatingkit.renderers.STKRenderer.render(STKRenderer.java:74) at info.magnolia.rendering.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:97) at info.magnolia.rendering.engine.DefaultRenderingEngine$$EnhancerByCGLIB$$24b4a6ea.render(<generated>) at info.magnolia.rendering.engine.RenderingFilter.render(RenderingFilter.java:147) at info.magnolia.rendering.engine.RenderingFilter.doFilter(RenderingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.rendering.model.ModelExecutionFilter.doFilter(ModelExecutionFilter.java:107) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.InterceptFilter.doFilter(InterceptFilter.java:122) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.AggregatorFilter.doFilter(AggregatorFilter.java:105) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RepositoryMappingFilter.doFilter(RepositoryMappingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:77) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.VirtualUriFilter.doFilter(VirtualUriFilter.java:70) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.executor.Bypass.processCacheRequest(Bypass.java:58) at info.magnolia.module.cache.executor.CompositeExecutor.processCacheRequest(CompositeExecutor.java:66) at info.magnolia.module.cache.filter.CacheFilter.doFilter(CacheFilter.java:153) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.i18n.I18nContentSupportFilter.doFilter(I18nContentSupportFilter.java:76) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RangeSupportFilter.doFilter(RangeSupportFilter.java:86) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.SecurityCallbackFilter.doFilter(SecurityCallbackFilter.java:86) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.LogoutFilter.doFilter(LogoutFilter.java:93) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.SiteMergeFilter.doFilter(SiteMergeFilter.java:99) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.MultiChannelFilter.doFilter(MultiChannelFilter.java:82) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.filter.GZipFilter.doFilter(GZipFilter.java:75) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.security.auth.login.LoginFilter.doFilter(LoginFilter.java:93) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CosMultipartRequestFilter.doFilter(CosMultipartRequestFilter.java:87) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.devicedetection.filter.DeviceDetectionFilter.doFilter(DeviceDetectionFilter.java:67) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContentTypeFilter.doFilter(ContentTypeFilter.java:103) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContextFilter.doFilter(ContextFilter.java:131) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.SafeDestroyMgnlFilterWrapper.doFilter(SafeDestroyMgnlFilterWrapper.java:108) at info.magnolia.cms.filters.MgnlFilterDispatcher.doDispatch(MgnlFilterDispatcher.java:67) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:108) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:94) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:680) Caused by: info.magnolia.rendering.engine.RenderException: Can't render area node /demo-project/htmlHeader with name htmlHeader at info.magnolia.templating.elements.AreaElement.end(AreaElement.java:227) at info.magnolia.templating.freemarker.AbstractDirective.execute(AbstractDirective.java:98) ... 117 more Caused by: info.magnolia.rendering.engine.RenderException: info.magnolia.rendering.engine.RenderException: No template script defined for the template definition [info.magnolia.rendering.template.configured.ConfiguredAreaDefinition@43eb13dc[id=<null>,name=htmlHeader,renderType=stk,description=<null>,title=<null>,templateScript=<null>,autoGeneration=info.magnolia.rendering.template.configured.ConfiguredAutoGeneration@7e64f359[content={},generatorClass=<null>]]] at info.magnolia.module.templatingkit.renderers.STKRenderer.render(STKRenderer.java:79) at info.magnolia.rendering.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:97) at info.magnolia.rendering.engine.DefaultRenderingEngine$$EnhancerByCGLIB$$24b4a6ea.render(<generated>) at info.magnolia.templating.elements.AreaElement.end(AreaElement.java:213) ... 118 more Caused by: info.magnolia.rendering.engine.RenderException: No template script defined for the template definition [info.magnolia.rendering.template.configured.ConfiguredAreaDefinition@43eb13dc[id=<null>,name=htmlHeader,renderType=stk,description=<null>,title=<null>,templateScript=<null>,autoGeneration=info.magnolia.rendering.template.configured.ConfiguredAutoGeneration@7e64f359[content={},generatorClass=<null>]]] at info.magnolia.rendering.renderer.AbstractRenderer.render(AbstractRenderer.java:120) at info.magnolia.module.templatingkit.renderers.STKRenderer.render(STKRenderer.java:74) ... 121 more {code} I tried another variation, I want to disable the extra area. Same config, just rename promos in extra. Then the issue is different {code} 2012-01-24 15:42:24,437 ERROR freemarker.runtime : Template processing error: "get(bodyClass) failed on instance of info.magnolia.module.templatingkit.templates.pages.STKPageModel" get(bodyClass) failed on instance of info.magnolia.module.templatingkit.templates.pages.STKPageModel The problematic instruction: ---------- ==> if-else [on line 10, column 1 in templating-kit/pages/main-mobile.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: get(bodyClass) failed on instance of info.magnolia.module.templatingkit.templates.pages.STKPageModel at freemarker.ext.beans.BeanModel.get(BeanModel.java:224) at freemarker.core.Dot._getAsTemplateModel(Dot.java:76) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.BuiltIn$has_contentBI._getAsTemplateModel(BuiltIn.java:729) at freemarker.core.BuiltIn$has_contentBI.isTrue(BuiltIn.java:741) at freemarker.core.IfBlock.accept(IfBlock.java:80) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.Environment.process(Environment.java:199) at freemarker.template.Template.process(Template.java:237) at info.magnolia.freemarker.FreemarkerHelper.render(FreemarkerHelper.java:156) at info.magnolia.rendering.renderer.FreemarkerRenderer.onRender(FreemarkerRenderer.java:89) at info.magnolia.rendering.renderer.AbstractRenderer.render(AbstractRenderer.java:128) at info.magnolia.module.templatingkit.renderers.STKRenderer.render(STKRenderer.java:74) at info.magnolia.rendering.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:97) at info.magnolia.rendering.engine.DefaultRenderingEngine$$EnhancerByCGLIB$$24b4a6ea.render(<generated>) at info.magnolia.rendering.engine.RenderingFilter.render(RenderingFilter.java:147) at info.magnolia.rendering.engine.RenderingFilter.doFilter(RenderingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.rendering.model.ModelExecutionFilter.doFilter(ModelExecutionFilter.java:107) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.InterceptFilter.doFilter(InterceptFilter.java:122) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.AggregatorFilter.doFilter(AggregatorFilter.java:105) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RepositoryMappingFilter.doFilter(RepositoryMappingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:77) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.VirtualUriFilter.doFilter(VirtualUriFilter.java:70) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.executor.Bypass.processCacheRequest(Bypass.java:58) at info.magnolia.module.cache.executor.CompositeExecutor.processCacheRequest(CompositeExecutor.java:66) at info.magnolia.module.cache.filter.CacheFilter.doFilter(CacheFilter.java:153) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.i18n.I18nContentSupportFilter.doFilter(I18nContentSupportFilter.java:76) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RangeSupportFilter.doFilter(RangeSupportFilter.java:86) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.SecurityCallbackFilter.doFilter(SecurityCallbackFilter.java:86) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.LogoutFilter.doFilter(LogoutFilter.java:93) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.SiteMergeFilter.doFilter(SiteMergeFilter.java:99) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.MultiChannelFilter.doFilter(MultiChannelFilter.java:82) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.filter.GZipFilter.doFilter(GZipFilter.java:75) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.security.auth.login.LoginFilter.doFilter(LoginFilter.java:93) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CosMultipartRequestFilter.doFilter(CosMultipartRequestFilter.java:87) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.devicedetection.filter.DeviceDetectionFilter.doFilter(DeviceDetectionFilter.java:67) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContentTypeFilter.doFilter(ContentTypeFilter.java:103) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContextFilter.doFilter(ContextFilter.java:131) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.SafeDestroyMgnlFilterWrapper.doFilter(SafeDestroyMgnlFilterWrapper.java:108) at info.magnolia.cms.filters.MgnlFilterDispatcher.doDispatch(MgnlFilterDispatcher.java:67) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:108) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:94) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.reflect.InvocationTargetException 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 freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:866) at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:277) at freemarker.ext.beans.BeanModel.get(BeanModel.java:184) ... 120 more Caused by: net.sf.cglib.proxy.UndeclaredThrowableException: java.lang.reflect.InvocationTargetException-->null at info.magnolia.module.templatingkit.templates.pages.STKPage$$EnhancerByCGLIB$$78237509.getExtrasArea(<generated>) at info.magnolia.module.templatingkit.style.BodyClassResolver.resolveBodyClass(BodyClassResolver.java:105) at info.magnolia.module.templatingkit.templates.pages.STKPageModel.getBodyClass(STKPageModel.java:84) ... 127 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at info.magnolia.beanmerger.ProxyBasedBeanMerger$MergeInvoker.evaluate(ProxyBasedBeanMerger.java:121) at info.magnolia.beanmerger.ProxyBasedBeanMerger$MergeInvoker.invoke(ProxyBasedBeanMerger.java:111) at org.apache.commons.proxy.factory.cglib.CglibProxyFactory$InvokerBridge.invoke(CglibProxyFactory.java:116) ... 130 more Caused by: net.sf.cglib.proxy.UndeclaredThrowableException: java.lang.reflect.InvocationTargetException-->null at info.magnolia.module.templatingkit.templates.pages.STKPage$$EnhancerByCGLIB$$78237509.getExtrasArea(<generated>) ... 136 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at info.magnolia.beanmerger.ProxyBasedBeanMerger$MergeInvoker.evaluate(ProxyBasedBeanMerger.java:121) at info.magnolia.beanmerger.ProxyBasedBeanMerger$MergeInvoker.invoke(ProxyBasedBeanMerger.java:111) at org.apache.commons.proxy.factory.cglib.CglibProxyFactory$InvokerBridge.invoke(CglibProxyFactory.java:116) ... 137 more Caused by: java.lang.ClassCastException: info.magnolia.rendering.template.configured.ConfiguredAreaDefinition cannot be cast to info.magnolia.module.templatingkit.templates.ExtrasArea at info.magnolia.module.templatingkit.templates.pages.STKPage.getExtrasArea(STKPage.java:88) ... 143 more 2012-01-24 15:42:24,442 ERROR agnolia.module.templatingkit.renderers.STKRenderer: Failed to render freemarker template: ClassCastException: info.magnolia.rendering.template.configured.ConfiguredAreaDefinition cannot be cast to info.magnolia.module.templatingkit.templates.ExtrasArea get(bodyClass) failed on instance of info.magnolia.module.templatingkit.templates.pages.STKPageModel The problematic instruction: ---------- ==> if-else [on line 10, column 1 in templating-kit/pages/main-mobile.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: get(bodyClass) failed on instance of info.magnolia.module.templatingkit.templates.pages.STKPageModel at freemarker.ext.beans.BeanModel.get(BeanModel.java:224) at freemarker.core.Dot._getAsTemplateModel(Dot.java:76) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.BuiltIn$has_contentBI._getAsTemplateModel(BuiltIn.java:729) at freemarker.core.BuiltIn$has_contentBI.isTrue(BuiltIn.java:741) at freemarker.core.IfBlock.accept(IfBlock.java:80) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.Environment.process(Environment.java:199) at freemarker.template.Template.process(Template.java:237) at info.magnolia.freemarker.FreemarkerHelper.render(FreemarkerHelper.java:156) at info.magnolia.rendering.renderer.FreemarkerRenderer.onRender(FreemarkerRenderer.java:89) at info.magnolia.rendering.renderer.AbstractRenderer.render(AbstractRenderer.java:128) at info.magnolia.module.templatingkit.renderers.STKRenderer.render(STKRenderer.java:74) at info.magnolia.rendering.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:97) at info.magnolia.rendering.engine.DefaultRenderingEngine$$EnhancerByCGLIB$$24b4a6ea.render(<generated>) at info.magnolia.rendering.engine.RenderingFilter.render(RenderingFilter.java:147) at info.magnolia.rendering.engine.RenderingFilter.doFilter(RenderingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.rendering.model.ModelExecutionFilter.doFilter(ModelExecutionFilter.java:107) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.InterceptFilter.doFilter(InterceptFilter.java:122) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.AggregatorFilter.doFilter(AggregatorFilter.java:105) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RepositoryMappingFilter.doFilter(RepositoryMappingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:77) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.VirtualUriFilter.doFilter(VirtualUriFilter.java:70) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.executor.Bypass.processCacheRequest(Bypass.java:58) at info.magnolia.module.cache.executor.CompositeExecutor.processCacheRequest(CompositeExecutor.java:66) at info.magnolia.module.cache.filter.CacheFilter.doFilter(CacheFilter.java:153) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.i18n.I18nContentSupportFilter.doFilter(I18nContentSupportFilter.java:76) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RangeSupportFilter.doFilter(RangeSupportFilter.java:86) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.SecurityCallbackFilter.doFilter(SecurityCallbackFilter.java:86) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.LogoutFilter.doFilter(LogoutFilter.java:93) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.SiteMergeFilter.doFilter(SiteMergeFilter.java:99) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.MultiChannelFilter.doFilter(MultiChannelFilter.java:82) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.filter.GZipFilter.doFilter(GZipFilter.java:75) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.security.auth.login.LoginFilter.doFilter(LoginFilter.java:93) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CosMultipartRequestFilter.doFilter(CosMultipartRequestFilter.java:87) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.devicedetection.filter.DeviceDetectionFilter.doFilter(DeviceDetectionFilter.java:67) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContentTypeFilter.doFilter(ContentTypeFilter.java:103) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContextFilter.doFilter(ContextFilter.java:131) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.SafeDestroyMgnlFilterWrapper.doFilter(SafeDestroyMgnlFilterWrapper.java:108) at info.magnolia.cms.filters.MgnlFilterDispatcher.doDispatch(MgnlFilterDispatcher.java:67) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:108) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:94) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.reflect.InvocationTargetException 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 freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:866) at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:277) at freemarker.ext.beans.BeanModel.get(BeanModel.java:184) ... 120 more Caused by: net.sf.cglib.proxy.UndeclaredThrowableException: java.lang.reflect.InvocationTargetException-->null at info.magnolia.module.templatingkit.templates.pages.STKPage$$EnhancerByCGLIB$$78237509.getExtrasArea(<generated>) at info.magnolia.module.templatingkit.style.BodyClassResolver.resolveBodyClass(BodyClassResolver.java:105) at info.magnolia.module.templatingkit.templates.pages.STKPageModel.getBodyClass(STKPageModel.java:84) ... 127 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at info.magnolia.beanmerger.ProxyBasedBeanMerger$MergeInvoker.evaluate(ProxyBasedBeanMerger.java:121) at info.magnolia.beanmerger.ProxyBasedBeanMerger$MergeInvoker.invoke(ProxyBasedBeanMerger.java:111) at org.apache.commons.proxy.factory.cglib.CglibProxyFactory$InvokerBridge.invoke(CglibProxyFactory.java:116) ... 130 more Caused by: net.sf.cglib.proxy.UndeclaredThrowableException: java.lang.reflect.InvocationTargetException-->null at info.magnolia.module.templatingkit.templates.pages.STKPage$$EnhancerByCGLIB$$78237509.getExtrasArea(<generated>) ... 136 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at info.magnolia.beanmerger.ProxyBasedBeanMerger$MergeInvoker.evaluate(ProxyBasedBeanMerger.java:121) at info.magnolia.beanmerger.ProxyBasedBeanMerger$MergeInvoker.invoke(ProxyBasedBeanMerger.java:111) at org.apache.commons.proxy.factory.cglib.CglibProxyFactory$InvokerBridge.invoke(CglibProxyFactory.java:116) ... 137 more Caused by: java.lang.ClassCastException: info.magnolia.rendering.template.configured.ConfiguredAreaDefinition cannot be cast to info.magnolia.module.templatingkit.templates.ExtrasArea at info.magnolia.module.templatingkit.templates.pages.STKPage.getExtrasArea(STKPage.java:88) ... 143 more {code}
    via by Samuel Schmitt,
  • First you have to run this test with your mobile, or you could simply switch the user agent of your browser. On Firefox, I'm using this one http://chrispederick.com/work/user-agent-switcher/. To reproduce the issue below you have to change the user agent of your browser to mobile! I tried to create a more complexe (but still simple) configuration of the mobile variation. I want to disabled the promo area on mobile device. See screenshot. And then when I render the page http://localhost:8080/magnolia-empty-webapp/demo-project.html, nothing is rendered and i have this huge error {code} 2012-01-24 15:39:10,591 ERROR info.magnolia.beanmerger.ProxyBasedBeanMerger : net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:237) at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377) at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:285) at org.apache.commons.proxy.factory.cglib.CglibProxyFactory.createInvokerProxy(CglibProxyFactory.java:90) at org.apache.commons.proxy.ProxyFactory.createInvokerProxy(ProxyFactory.java:145) at info.magnolia.beanmerger.ProxyBasedBeanMerger.mergeBean(ProxyBasedBeanMerger.java:79) at info.magnolia.beanmerger.BeanMergerBase.merge(BeanMergerBase.java:79) at info.magnolia.beanmerger.BeanMergerBase.mergeMaps(BeanMergerBase.java:97) at info.magnolia.beanmerger.BeanMergerBase.merge(BeanMergerBase.java:76) at info.magnolia.beanmerger.ProxyBasedBeanMerger$MergeInvoker.invoke(ProxyBasedBeanMerger.java:114) at org.apache.commons.proxy.factory.cglib.CglibProxyFactory$InvokerBridge.invoke(CglibProxyFactory.java:116) at info.magnolia.module.templatingkit.templates.pages.STKPage$$EnhancerByCGLIB$$78237509.getAreas(<generated>) at info.magnolia.templating.elements.AreaElement.resolveAreaDefinition(AreaElement.java:271) at info.magnolia.templating.elements.AreaElement.begin(AreaElement.java:109) at info.magnolia.templating.freemarker.AbstractDirective.execute(AbstractDirective.java:93) at freemarker.core.Environment.visit(Environment.java:274) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:126) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.Environment.process(Environment.java:199) at freemarker.template.Template.process(Template.java:237) at info.magnolia.freemarker.FreemarkerHelper.render(FreemarkerHelper.java:156) at info.magnolia.rendering.renderer.FreemarkerRenderer.onRender(FreemarkerRenderer.java:89) at info.magnolia.rendering.renderer.AbstractRenderer.render(AbstractRenderer.java:128) at info.magnolia.module.templatingkit.renderers.STKRenderer.render(STKRenderer.java:74) at info.magnolia.rendering.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:97) at info.magnolia.rendering.engine.DefaultRenderingEngine$$EnhancerByCGLIB$$24b4a6ea.render(<generated>) at info.magnolia.rendering.engine.RenderingFilter.render(RenderingFilter.java:147) at info.magnolia.rendering.engine.RenderingFilter.doFilter(RenderingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.rendering.model.ModelExecutionFilter.doFilter(ModelExecutionFilter.java:107) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.InterceptFilter.doFilter(InterceptFilter.java:122) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.AggregatorFilter.doFilter(AggregatorFilter.java:105) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RepositoryMappingFilter.doFilter(RepositoryMappingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:77) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.VirtualUriFilter.doFilter(VirtualUriFilter.java:70) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.executor.Bypass.processCacheRequest(Bypass.java:58) at info.magnolia.module.cache.executor.CompositeExecutor.processCacheRequest(CompositeExecutor.java:66) at info.magnolia.module.cache.filter.CacheFilter.doFilter(CacheFilter.java:153) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.i18n.I18nContentSupportFilter.doFilter(I18nContentSupportFilter.java:76) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RangeSupportFilter.doFilter(RangeSupportFilter.java:86) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.SecurityCallbackFilter.doFilter(SecurityCallbackFilter.java:86) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.LogoutFilter.doFilter(LogoutFilter.java:93) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.SiteMergeFilter.doFilter(SiteMergeFilter.java:99) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.MultiChannelFilter.doFilter(MultiChannelFilter.java:82) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.filter.GZipFilter.doFilter(GZipFilter.java:75) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.security.auth.login.LoginFilter.doFilter(LoginFilter.java:93) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CosMultipartRequestFilter.doFilter(CosMultipartRequestFilter.java:87) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.devicedetection.filter.DeviceDetectionFilter.doFilter(DeviceDetectionFilter.java:67) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContentTypeFilter.doFilter(ContentTypeFilter.java:103) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContextFilter.doFilter(ContextFilter.java:131) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.SafeDestroyMgnlFilterWrapper.doFilter(SafeDestroyMgnlFilterWrapper.java:108) at info.magnolia.cms.filters.MgnlFilterDispatcher.doDispatch(MgnlFilterDispatcher.java:67) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:108) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:94) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:384) at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:219) ... 131 more Caused by: java.lang.ClassFormatError: Duplicate method name&signature in class file info/magnolia/rendering/template/configured/ConfiguredAreaDefinition$$EnhancerByCGLIB$$5c72fe12$$EnhancerByCGLIB$$503d8eb3_102 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) ... 136 more 2012-01-24 15:39:10,594 ERROR freemarker.runtime : Template processing error: "info.magnolia.rendering.engine.RenderException: Can't render area node /demo-project/htmlHeader with name htmlHeader" info.magnolia.rendering.engine.RenderException: Can't render area node /demo-project/htmlHeader with name htmlHeader The problematic instruction: ---------- ==> user-directive cms.area [on line 7, column 4 in templating-kit/pages/main-mobile.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateException: info.magnolia.rendering.engine.RenderException: Can't render area node /demo-project/htmlHeader with name htmlHeader at info.magnolia.templating.freemarker.AbstractDirective.execute(AbstractDirective.java:101) at freemarker.core.Environment.visit(Environment.java:274) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:126) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.Environment.process(Environment.java:199) at freemarker.template.Template.process(Template.java:237) at info.magnolia.freemarker.FreemarkerHelper.render(FreemarkerHelper.java:156) at info.magnolia.rendering.renderer.FreemarkerRenderer.onRender(FreemarkerRenderer.java:89) at info.magnolia.rendering.renderer.AbstractRenderer.render(AbstractRenderer.java:128) at info.magnolia.module.templatingkit.renderers.STKRenderer.render(STKRenderer.java:74) at info.magnolia.rendering.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:97) at info.magnolia.rendering.engine.DefaultRenderingEngine$$EnhancerByCGLIB$$24b4a6ea.render(<generated>) at info.magnolia.rendering.engine.RenderingFilter.render(RenderingFilter.java:147) at info.magnolia.rendering.engine.RenderingFilter.doFilter(RenderingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.rendering.model.ModelExecutionFilter.doFilter(ModelExecutionFilter.java:107) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.InterceptFilter.doFilter(InterceptFilter.java:122) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.AggregatorFilter.doFilter(AggregatorFilter.java:105) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RepositoryMappingFilter.doFilter(RepositoryMappingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:77) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.VirtualUriFilter.doFilter(VirtualUriFilter.java:70) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.executor.Bypass.processCacheRequest(Bypass.java:58) at info.magnolia.module.cache.executor.CompositeExecutor.processCacheRequest(CompositeExecutor.java:66) at info.magnolia.module.cache.filter.CacheFilter.doFilter(CacheFilter.java:153) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.i18n.I18nContentSupportFilter.doFilter(I18nContentSupportFilter.java:76) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RangeSupportFilter.doFilter(RangeSupportFilter.java:86) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.SecurityCallbackFilter.doFilter(SecurityCallbackFilter.java:86) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.LogoutFilter.doFilter(LogoutFilter.java:93) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.SiteMergeFilter.doFilter(SiteMergeFilter.java:99) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.MultiChannelFilter.doFilter(MultiChannelFilter.java:82) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.filter.GZipFilter.doFilter(GZipFilter.java:75) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.security.auth.login.LoginFilter.doFilter(LoginFilter.java:93) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CosMultipartRequestFilter.doFilter(CosMultipartRequestFilter.java:87) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.devicedetection.filter.DeviceDetectionFilter.doFilter(DeviceDetectionFilter.java:67) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContentTypeFilter.doFilter(ContentTypeFilter.java:103) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContextFilter.doFilter(ContextFilter.java:131) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.SafeDestroyMgnlFilterWrapper.doFilter(SafeDestroyMgnlFilterWrapper.java:108) at info.magnolia.cms.filters.MgnlFilterDispatcher.doDispatch(MgnlFilterDispatcher.java:67) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:108) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:94) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:680) Caused by: info.magnolia.rendering.engine.RenderException: Can't render area node /demo-project/htmlHeader with name htmlHeader at info.magnolia.templating.elements.AreaElement.end(AreaElement.java:227) at info.magnolia.templating.freemarker.AbstractDirective.execute(AbstractDirective.java:98) ... 117 more Caused by: info.magnolia.rendering.engine.RenderException: info.magnolia.rendering.engine.RenderException: No template script defined for the template definition [info.magnolia.rendering.template.configured.ConfiguredAreaDefinition@43eb13dc[id=<null>,name=htmlHeader,renderType=stk,description=<null>,title=<null>,templateScript=<null>,autoGeneration=info.magnolia.rendering.template.configured.ConfiguredAutoGeneration@7e64f359[content={},generatorClass=<null>]]] at info.magnolia.module.templatingkit.renderers.STKRenderer.render(STKRenderer.java:79) at info.magnolia.rendering.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:97) at info.magnolia.rendering.engine.DefaultRenderingEngine$$EnhancerByCGLIB$$24b4a6ea.render(<generated>) at info.magnolia.templating.elements.AreaElement.end(AreaElement.java:213) ... 118 more Caused by: info.magnolia.rendering.engine.RenderException: No template script defined for the template definition [info.magnolia.rendering.template.configured.ConfiguredAreaDefinition@43eb13dc[id=<null>,name=htmlHeader,renderType=stk,description=<null>,title=<null>,templateScript=<null>,autoGeneration=info.magnolia.rendering.template.configured.ConfiguredAutoGeneration@7e64f359[content={},generatorClass=<null>]]] at info.magnolia.rendering.renderer.AbstractRenderer.render(AbstractRenderer.java:120) at info.magnolia.module.templatingkit.renderers.STKRenderer.render(STKRenderer.java:74) ... 121 more 2012-01-24 15:39:10,601 ERROR agnolia.module.templatingkit.renderers.STKRenderer: Failed to render freemarker template: RenderException: No template script defined for the template definition [info.magnolia.rendering.template.configured.ConfiguredAreaDefinition@43eb13dc[id=<null>,name=htmlHeader,renderType=stk,description=<null>,title=<null>,templateScript=<null>,autoGeneration=info.magnolia.rendering.template.configured.ConfiguredAutoGeneration@7e64f359[content={},generatorClass=<null>]]] info.magnolia.rendering.engine.RenderException: Can't render area node /demo-project/htmlHeader with name htmlHeader The problematic instruction: ---------- ==> user-directive cms.area [on line 7, column 4 in templating-kit/pages/main-mobile.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateException: info.magnolia.rendering.engine.RenderException: Can't render area node /demo-project/htmlHeader with name htmlHeader at info.magnolia.templating.freemarker.AbstractDirective.execute(AbstractDirective.java:101) at freemarker.core.Environment.visit(Environment.java:274) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:126) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.Environment.process(Environment.java:199) at freemarker.template.Template.process(Template.java:237) at info.magnolia.freemarker.FreemarkerHelper.render(FreemarkerHelper.java:156) at info.magnolia.rendering.renderer.FreemarkerRenderer.onRender(FreemarkerRenderer.java:89) at info.magnolia.rendering.renderer.AbstractRenderer.render(AbstractRenderer.java:128) at info.magnolia.module.templatingkit.renderers.STKRenderer.render(STKRenderer.java:74) at info.magnolia.rendering.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:97) at info.magnolia.rendering.engine.DefaultRenderingEngine$$EnhancerByCGLIB$$24b4a6ea.render(<generated>) at info.magnolia.rendering.engine.RenderingFilter.render(RenderingFilter.java:147) at info.magnolia.rendering.engine.RenderingFilter.doFilter(RenderingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.rendering.model.ModelExecutionFilter.doFilter(ModelExecutionFilter.java:107) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.InterceptFilter.doFilter(InterceptFilter.java:122) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.AggregatorFilter.doFilter(AggregatorFilter.java:105) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RepositoryMappingFilter.doFilter(RepositoryMappingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:77) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.VirtualUriFilter.doFilter(VirtualUriFilter.java:70) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.executor.Bypass.processCacheRequest(Bypass.java:58) at info.magnolia.module.cache.executor.CompositeExecutor.processCacheRequest(CompositeExecutor.java:66) at info.magnolia.module.cache.filter.CacheFilter.doFilter(CacheFilter.java:153) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.i18n.I18nContentSupportFilter.doFilter(I18nContentSupportFilter.java:76) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RangeSupportFilter.doFilter(RangeSupportFilter.java:86) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.SecurityCallbackFilter.doFilter(SecurityCallbackFilter.java:86) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.LogoutFilter.doFilter(LogoutFilter.java:93) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.SiteMergeFilter.doFilter(SiteMergeFilter.java:99) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.MultiChannelFilter.doFilter(MultiChannelFilter.java:82) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.filter.GZipFilter.doFilter(GZipFilter.java:75) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.security.auth.login.LoginFilter.doFilter(LoginFilter.java:93) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CosMultipartRequestFilter.doFilter(CosMultipartRequestFilter.java:87) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.devicedetection.filter.DeviceDetectionFilter.doFilter(DeviceDetectionFilter.java:67) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContentTypeFilter.doFilter(ContentTypeFilter.java:103) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContextFilter.doFilter(ContextFilter.java:131) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.SafeDestroyMgnlFilterWrapper.doFilter(SafeDestroyMgnlFilterWrapper.java:108) at info.magnolia.cms.filters.MgnlFilterDispatcher.doDispatch(MgnlFilterDispatcher.java:67) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:108) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:94) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:680) Caused by: info.magnolia.rendering.engine.RenderException: Can't render area node /demo-project/htmlHeader with name htmlHeader at info.magnolia.templating.elements.AreaElement.end(AreaElement.java:227) at info.magnolia.templating.freemarker.AbstractDirective.execute(AbstractDirective.java:98) ... 117 more Caused by: info.magnolia.rendering.engine.RenderException: info.magnolia.rendering.engine.RenderException: No template script defined for the template definition [info.magnolia.rendering.template.configured.ConfiguredAreaDefinition@43eb13dc[id=<null>,name=htmlHeader,renderType=stk,description=<null>,title=<null>,templateScript=<null>,autoGeneration=info.magnolia.rendering.template.configured.ConfiguredAutoGeneration@7e64f359[content={},generatorClass=<null>]]] at info.magnolia.module.templatingkit.renderers.STKRenderer.render(STKRenderer.java:79) at info.magnolia.rendering.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:97) at info.magnolia.rendering.engine.DefaultRenderingEngine$$EnhancerByCGLIB$$24b4a6ea.render(<generated>) at info.magnolia.templating.elements.AreaElement.end(AreaElement.java:213) ... 118 more Caused by: info.magnolia.rendering.engine.RenderException: No template script defined for the template definition [info.magnolia.rendering.template.configured.ConfiguredAreaDefinition@43eb13dc[id=<null>,name=htmlHeader,renderType=stk,description=<null>,title=<null>,templateScript=<null>,autoGeneration=info.magnolia.rendering.template.configured.ConfiguredAutoGeneration@7e64f359[content={},generatorClass=<null>]]] at info.magnolia.rendering.renderer.AbstractRenderer.render(AbstractRenderer.java:120) at info.magnolia.module.templatingkit.renderers.STKRenderer.render(STKRenderer.java:74) ... 121 more {code} I tried another variation, I want to disable the extra area. Same config, just rename promos in extra. Then the issue is different {code} 2012-01-24 15:42:24,437 ERROR freemarker.runtime : Template processing error: "get(bodyClass) failed on instance of info.magnolia.module.templatingkit.templates.pages.STKPageModel" get(bodyClass) failed on instance of info.magnolia.module.templatingkit.templates.pages.STKPageModel The problematic instruction: ---------- ==> if-else [on line 10, column 1 in templating-kit/pages/main-mobile.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: get(bodyClass) failed on instance of info.magnolia.module.templatingkit.templates.pages.STKPageModel at freemarker.ext.beans.BeanModel.get(BeanModel.java:224) at freemarker.core.Dot._getAsTemplateModel(Dot.java:76) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.BuiltIn$has_contentBI._getAsTemplateModel(BuiltIn.java:729) at freemarker.core.BuiltIn$has_contentBI.isTrue(BuiltIn.java:741) at freemarker.core.IfBlock.accept(IfBlock.java:80) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.Environment.process(Environment.java:199) at freemarker.template.Template.process(Template.java:237) at info.magnolia.freemarker.FreemarkerHelper.render(FreemarkerHelper.java:156) at info.magnolia.rendering.renderer.FreemarkerRenderer.onRender(FreemarkerRenderer.java:89) at info.magnolia.rendering.renderer.AbstractRenderer.render(AbstractRenderer.java:128) at info.magnolia.module.templatingkit.renderers.STKRenderer.render(STKRenderer.java:74) at info.magnolia.rendering.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:97) at info.magnolia.rendering.engine.DefaultRenderingEngine$$EnhancerByCGLIB$$24b4a6ea.render(<generated>) at info.magnolia.rendering.engine.RenderingFilter.render(RenderingFilter.java:147) at info.magnolia.rendering.engine.RenderingFilter.doFilter(RenderingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.rendering.model.ModelExecutionFilter.doFilter(ModelExecutionFilter.java:107) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.InterceptFilter.doFilter(InterceptFilter.java:122) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.AggregatorFilter.doFilter(AggregatorFilter.java:105) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RepositoryMappingFilter.doFilter(RepositoryMappingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:77) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.VirtualUriFilter.doFilter(VirtualUriFilter.java:70) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.executor.Bypass.processCacheRequest(Bypass.java:58) at info.magnolia.module.cache.executor.CompositeExecutor.processCacheRequest(CompositeExecutor.java:66) at info.magnolia.module.cache.filter.CacheFilter.doFilter(CacheFilter.java:153) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.i18n.I18nContentSupportFilter.doFilter(I18nContentSupportFilter.java:76) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RangeSupportFilter.doFilter(RangeSupportFilter.java:86) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.SecurityCallbackFilter.doFilter(SecurityCallbackFilter.java:86) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.LogoutFilter.doFilter(LogoutFilter.java:93) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.SiteMergeFilter.doFilter(SiteMergeFilter.java:99) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.MultiChannelFilter.doFilter(MultiChannelFilter.java:82) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.filter.GZipFilter.doFilter(GZipFilter.java:75) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.security.auth.login.LoginFilter.doFilter(LoginFilter.java:93) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CosMultipartRequestFilter.doFilter(CosMultipartRequestFilter.java:87) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.devicedetection.filter.DeviceDetectionFilter.doFilter(DeviceDetectionFilter.java:67) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContentTypeFilter.doFilter(ContentTypeFilter.java:103) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContextFilter.doFilter(ContextFilter.java:131) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.SafeDestroyMgnlFilterWrapper.doFilter(SafeDestroyMgnlFilterWrapper.java:108) at info.magnolia.cms.filters.MgnlFilterDispatcher.doDispatch(MgnlFilterDispatcher.java:67) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:108) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:94) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.reflect.InvocationTargetException 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 freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:866) at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:277) at freemarker.ext.beans.BeanModel.get(BeanModel.java:184) ... 120 more Caused by: net.sf.cglib.proxy.UndeclaredThrowableException: java.lang.reflect.InvocationTargetException-->null at info.magnolia.module.templatingkit.templates.pages.STKPage$$EnhancerByCGLIB$$78237509.getExtrasArea(<generated>) at info.magnolia.module.templatingkit.style.BodyClassResolver.resolveBodyClass(BodyClassResolver.java:105) at info.magnolia.module.templatingkit.templates.pages.STKPageModel.getBodyClass(STKPageModel.java:84) ... 127 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at info.magnolia.beanmerger.ProxyBasedBeanMerger$MergeInvoker.evaluate(ProxyBasedBeanMerger.java:121) at info.magnolia.beanmerger.ProxyBasedBeanMerger$MergeInvoker.invoke(ProxyBasedBeanMerger.java:111) at org.apache.commons.proxy.factory.cglib.CglibProxyFactory$InvokerBridge.invoke(CglibProxyFactory.java:116) ... 130 more Caused by: net.sf.cglib.proxy.UndeclaredThrowableException: java.lang.reflect.InvocationTargetException-->null at info.magnolia.module.templatingkit.templates.pages.STKPage$$EnhancerByCGLIB$$78237509.getExtrasArea(<generated>) ... 136 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at info.magnolia.beanmerger.ProxyBasedBeanMerger$MergeInvoker.evaluate(ProxyBasedBeanMerger.java:121) at info.magnolia.beanmerger.ProxyBasedBeanMerger$MergeInvoker.invoke(ProxyBasedBeanMerger.java:111) at org.apache.commons.proxy.factory.cglib.CglibProxyFactory$InvokerBridge.invoke(CglibProxyFactory.java:116) ... 137 more Caused by: java.lang.ClassCastException: info.magnolia.rendering.template.configured.ConfiguredAreaDefinition cannot be cast to info.magnolia.module.templatingkit.templates.ExtrasArea at info.magnolia.module.templatingkit.templates.pages.STKPage.getExtrasArea(STKPage.java:88) ... 143 more 2012-01-24 15:42:24,442 ERROR agnolia.module.templatingkit.renderers.STKRenderer: Failed to render freemarker template: ClassCastException: info.magnolia.rendering.template.configured.ConfiguredAreaDefinition cannot be cast to info.magnolia.module.templatingkit.templates.ExtrasArea get(bodyClass) failed on instance of info.magnolia.module.templatingkit.templates.pages.STKPageModel The problematic instruction: ---------- ==> if-else [on line 10, column 1 in templating-kit/pages/main-mobile.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: get(bodyClass) failed on instance of info.magnolia.module.templatingkit.templates.pages.STKPageModel at freemarker.ext.beans.BeanModel.get(BeanModel.java:224) at freemarker.core.Dot._getAsTemplateModel(Dot.java:76) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.BuiltIn$has_contentBI._getAsTemplateModel(BuiltIn.java:729) at freemarker.core.BuiltIn$has_contentBI.isTrue(BuiltIn.java:741) at freemarker.core.IfBlock.accept(IfBlock.java:80) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.Environment.process(Environment.java:199) at freemarker.template.Template.process(Template.java:237) at info.magnolia.freemarker.FreemarkerHelper.render(FreemarkerHelper.java:156) at info.magnolia.rendering.renderer.FreemarkerRenderer.onRender(FreemarkerRenderer.java:89) at info.magnolia.rendering.renderer.AbstractRenderer.render(AbstractRenderer.java:128) at info.magnolia.module.templatingkit.renderers.STKRenderer.render(STKRenderer.java:74) at info.magnolia.rendering.engine.DefaultRenderingEngine.render(DefaultRenderingEngine.java:97) at info.magnolia.rendering.engine.DefaultRenderingEngine$$EnhancerByCGLIB$$24b4a6ea.render(<generated>) at info.magnolia.rendering.engine.RenderingFilter.render(RenderingFilter.java:147) at info.magnolia.rendering.engine.RenderingFilter.doFilter(RenderingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.rendering.model.ModelExecutionFilter.doFilter(ModelExecutionFilter.java:107) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.InterceptFilter.doFilter(InterceptFilter.java:122) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.AggregatorFilter.doFilter(AggregatorFilter.java:105) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RepositoryMappingFilter.doFilter(RepositoryMappingFilter.java:101) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:77) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.VirtualUriFilter.doFilter(VirtualUriFilter.java:70) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.executor.Bypass.processCacheRequest(Bypass.java:58) at info.magnolia.module.cache.executor.CompositeExecutor.processCacheRequest(CompositeExecutor.java:66) at info.magnolia.module.cache.filter.CacheFilter.doFilter(CacheFilter.java:153) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.i18n.I18nContentSupportFilter.doFilter(I18nContentSupportFilter.java:76) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.RangeSupportFilter.doFilter(RangeSupportFilter.java:86) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:60) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.SecurityCallbackFilter.doFilter(SecurityCallbackFilter.java:86) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.security.LogoutFilter.doFilter(LogoutFilter.java:93) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.SiteMergeFilter.doFilter(SiteMergeFilter.java:99) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.templatingkit.filters.MultiChannelFilter.doFilter(MultiChannelFilter.java:82) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.cache.filter.GZipFilter.doFilter(GZipFilter.java:75) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.security.auth.login.LoginFilter.doFilter(LoginFilter.java:93) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:85) at info.magnolia.cms.filters.CosMultipartRequestFilter.doFilter(CosMultipartRequestFilter.java:87) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.module.devicedetection.filter.DeviceDetectionFilter.doFilter(DeviceDetectionFilter.java:67) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContentTypeFilter.doFilter(ContentTypeFilter.java:103) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.ContextFilter.doFilter(ContextFilter.java:131) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:67) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:91) at info.magnolia.cms.filters.SafeDestroyMgnlFilterWrapper.doFilter(SafeDestroyMgnlFilterWrapper.java:108) at info.magnolia.cms.filters.MgnlFilterDispatcher.doDispatch(MgnlFilterDispatcher.java:67) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:108) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:94) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.reflect.InvocationTargetException 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 freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:866) at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:277) at freemarker.ext.beans.BeanModel.get(BeanModel.java:184) ... 120 more Caused by: net.sf.cglib.proxy.UndeclaredThrowableException: java.lang.reflect.InvocationTargetException-->null at info.magnolia.module.templatingkit.templates.pages.STKPage$$EnhancerByCGLIB$$78237509.getExtrasArea(<generated>) at info.magnolia.module.templatingkit.style.BodyClassResolver.resolveBodyClass(BodyClassResolver.java:105) at info.magnolia.module.templatingkit.templates.pages.STKPageModel.getBodyClass(STKPageModel.java:84) ... 127 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at info.magnolia.beanmerger.ProxyBasedBeanMerger$MergeInvoker.evaluate(ProxyBasedBeanMerger.java:121) at info.magnolia.beanmerger.ProxyBasedBeanMerger$MergeInvoker.invoke(ProxyBasedBeanMerger.java:111) at org.apache.commons.proxy.factory.cglib.CglibProxyFactory$InvokerBridge.invoke(CglibProxyFactory.java:116) ... 130 more Caused by: net.sf.cglib.proxy.UndeclaredThrowableException: java.lang.reflect.InvocationTargetException-->null at info.magnolia.module.templatingkit.templates.pages.STKPage$$EnhancerByCGLIB$$78237509.getExtrasArea(<generated>) ... 136 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at info.magnolia.beanmerger.ProxyBasedBeanMerger$MergeInvoker.evaluate(ProxyBasedBeanMerger.java:121) at info.magnolia.beanmerger.ProxyBasedBeanMerger$MergeInvoker.invoke(ProxyBasedBeanMerger.java:111) at org.apache.commons.proxy.factory.cglib.CglibProxyFactory$InvokerBridge.invoke(CglibProxyFactory.java:116) ... 137 more Caused by: java.lang.ClassCastException: info.magnolia.rendering.template.configured.ConfiguredAreaDefinition cannot be cast to info.magnolia.module.templatingkit.templates.ExtrasArea at info.magnolia.module.templatingkit.templates.pages.STKPage.getExtrasArea(STKPage.java:88) ... 143 more {code}
    via by Samuel Schmitt,
  • weblogic 6.1 start problem
    via by Bill,
  • Voyager 2.0.0 Beta 2
    via by Guillaume Wong-So,
    • net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:192) at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:330) at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:246) at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:406) at net.sf.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:74) at net.sf.hibernate.persister.AbstractEntityPersister.<init>(AbstractEntityPersister.java:801) at net.sf.hibernate.persister.EntityPersister.<init>(EntityPersister.java:741) at net.sf.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:41) at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:136) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:726) at com.proinsight.objects.ObjectDataSource.getSessionFactory(ObjectDataSource.java:173) at com.proinsight.objects.ObjectDataSource.<clinit>(ObjectDataSource.java:42) at com.proinsight.servlets.KMSProInsightServlet.init(KMSProInsightServlet.java:43) at javax.servlet.GenericServlet.init(GenericServlet.java:256) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3609) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579) at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(EmbeddedTomcatService.java:530) at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(EmbeddedTomcatService.java:309) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589) 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:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291) at org.jboss.Main.boot(Main.java:150) at org.jboss.Main$1.run(Main.java:395) at java.lang.Thread.run(Thread.java:534) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:373) at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:181) ... 72 more Caused by: java.lang.ClassFormatError: Illegal Field name "CGLIB$load_class$ARRAY0$_Ljava_lang_String;" at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.lang.ClassLoader.defineClass(ClassLoader.java:382) ... 77 more

    Users with the same issue

    Unknown visitor1 times, last one,