freemarker.template.TemplateModelException: Method public java.lang.String org.hibernate.tool.hbm2x.pojo.EntityPOJOClass.generateJoinColumnsAnnotation(org.hibernate.mapping.Property,org.hibernate.cfg.Configuration) threw an exception when invoked on org.hibernate.tool.hbm2x.pojo.EntityPOJOClass(com.mycompany.app.model.Game)

AppFuse JIRA | Bruno de Almeida | 8 years ago
  1. 0

    Hi everybody, I'm very newbie here with AppFuse but its potential was something that could not deviate my attention. Congratulations Matt & all the members for such a good work. Ok, now something I was trying and went wrong ... When trying reverse engineer from a mysql db that has a table with a foreign key, I received the error(exception) below. I did check for other issues in JIRA but I didn't find anything related to this, but maybe there is something already related. ________________________________________________________________________________________ bruno@bruno-laptop:~/workspace/appfuse/myproject/core$ mvn appfuse:gen-model Warning: JAVA_HOME environment variable is not set. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building AppFuse Modular Application - Core [INFO] task-segment: [appfuse:gen-model] [INFO] ------------------------------------------------------------------------ [INFO] Preparing appfuse:gen-model [INFO] [aspectj:compile {execution: default}] [INFO] [resources:resources] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 5 resources [INFO] [appfuse:gen-model] [INFO] Configuration XML file loaded: file:/home/bruno/workspace/appfuse/myproject/core/src/main/resources/hibernate.cfg.xml [INFO] Configuration Properties file loaded: /home/bruno/workspace/appfuse/myproject/core/target/test-classes/jdbc.properties 20:14:57,541 ERROR freemarker.runtime - Method public java.lang.String org.hibernate.tool.hbm2x.pojo.EntityPOJOClass.generateJoinColumnsAnnotation(org.hibernate.mapping.Property,org.hibernate.cfg.Configuration) threw an exception when invoked on org.hibernate.tool.hbm2x.pojo.EntityPOJOClass(com.mycompany.app.model.Game) The problematic instruction: ---------- ==> ${pojo.generateJoinColumnsAnnotation(property)} [on line 11, column 15 in appfuse/model/Ejb3PropertyGetAnnotation.ftl] in include "Ejb3PropertyGetAnnotation.ftl" [on line 1, column 1 in appfuse/model/GetPropertyAnnotation.ftl] in include "GetPropertyAnnotation.ftl" [on line 9, column 5 in appfuse/model/PojoPropertyAccessors.ftl] in include "PojoPropertyAccessors.ftl" [on line 9, column 1 in appfuse/model/Pojo.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: Method public java.lang.String org.hibernate.tool.hbm2x.pojo.EntityPOJOClass.generateJoinColumnsAnnotation(org.hibernate.mapping.Property,org.hibernate.cfg.Configuration) threw an exception when invoked on org.hibernate.tool.hbm2x.pojo.EntityPOJOClass(com.mycompany.app.model.Game) at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:136) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Expression.getStringValue(Expression.java:93) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.include(Environment.java:1375) at freemarker.core.Include.accept(Include.java:155) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.include(Environment.java:1375) at freemarker.core.Include.accept(Include.java:155) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160) at freemarker.core.Environment.visit(Environment.java:351) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:95) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.include(Environment.java:1375) at freemarker.core.Include.accept(Include.java:155) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.visit(Environment.java:233) at freemarker.core.BlockAssignment.accept(BlockAssignment.java:83) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.process(Environment.java:176) at freemarker.template.Template.process(Template.java:232) at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:251) at org.hibernate.tool.hbm2x.TemplateProducer.produceToString(TemplateProducer.java:67) at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:28) at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:97) at org.hibernate.tool.hbm2x.GenericExporter.exportPOJO(GenericExporter.java:146) at org.hibernate.tool.hbm2x.GenericExporter.exportPersistentClass(GenericExporter.java:135) at org.hibernate.tool.hbm2x.GenericExporter$2.process(GenericExporter.java:41) at org.hibernate.tool.hbm2x.GenericExporter.doStart(GenericExporter.java:126) at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:95) at org.appfuse.mojo.HibernateExporterMojo.doExecute(HibernateExporterMojo.java:228) at org.appfuse.mojo.exporter.ModelGeneratorMojo.execute(ModelGeneratorMojo.java:183) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: java.lang.IllegalArgumentException: wrong number of arguments at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616) at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:113) ... 74 more [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error while processing template appfuse/model/Pojo.ftl wrong number of arguments [INFO] ------------------------------------------------------------------------ [INFO] Trace org.hibernate.tool.hbm2x.ExporterException: Error while processing template appfuse/model/Pojo.ftl at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:257) at org.hibernate.tool.hbm2x.TemplateProducer.produceToString(TemplateProducer.java:67) at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:28) at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:97) at org.hibernate.tool.hbm2x.GenericExporter.exportPOJO(GenericExporter.java:146) at org.hibernate.tool.hbm2x.GenericExporter.exportPersistentClass(GenericExporter.java:135) at org.hibernate.tool.hbm2x.GenericExporter$2.process(GenericExporter.java:41) at org.hibernate.tool.hbm2x.GenericExporter.doStart(GenericExporter.java:126) at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:95) at org.appfuse.mojo.HibernateExporterMojo.doExecute(HibernateExporterMojo.java:228) at org.appfuse.mojo.exporter.ModelGeneratorMojo.execute(ModelGeneratorMojo.java:183) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: freemarker.template.TemplateModelException: Method public java.lang.String org.hibernate.tool.hbm2x.pojo.EntityPOJOClass.generateJoinColumnsAnnotation(org.hibernate.mapping.Property,org.hibernate.cfg.Configuration) threw an exception when invoked on org.hibernate.tool.hbm2x.pojo.EntityPOJOClass(com.mycompany.app.model.Game) at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:136) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Expression.getStringValue(Expression.java:93) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.include(Environment.java:1375) at freemarker.core.Include.accept(Include.java:155) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.include(Environment.java:1375) at freemarker.core.Include.accept(Include.java:155) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160) at freemarker.core.Environment.visit(Environment.java:351) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:95) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.include(Environment.java:1375) at freemarker.core.Include.accept(Include.java:155) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.visit(Environment.java:233) at freemarker.core.BlockAssignment.accept(BlockAssignment.java:83) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.process(Environment.java:176) at freemarker.template.Template.process(Template.java:232) at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:251) ... 28 more Caused by: java.lang.IllegalArgumentException: wrong number of arguments at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616) at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:113) ... 74 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Wed May 06 20:14:57 CEST 2009 [INFO] Final Memory: 31M/475M [INFO] ------------------------------------------------------------------------

    AppFuse JIRA | 8 years ago | Bruno de Almeida
    freemarker.template.TemplateModelException: Method public java.lang.String org.hibernate.tool.hbm2x.pojo.EntityPOJOClass.generateJoinColumnsAnnotation(org.hibernate.mapping.Property,org.hibernate.cfg.Configuration) threw an exception when invoked on org.hibernate.tool.hbm2x.pojo.EntityPOJOClass(com.mycompany.app.model.Game)
  2. 0

    Hi everybody, I'm very newbie here with AppFuse but its potential was something that could not deviate my attention. Congratulations Matt & all the members for such a good work. Ok, now something I was trying and went wrong ... When trying reverse engineer from a mysql db that has a table with a foreign key, I received the error(exception) below. I did check for other issues in JIRA but I didn't find anything related to this, but maybe there is something already related. ________________________________________________________________________________________ bruno@bruno-laptop:~/workspace/appfuse/myproject/core$ mvn appfuse:gen-model Warning: JAVA_HOME environment variable is not set. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building AppFuse Modular Application - Core [INFO] task-segment: [appfuse:gen-model] [INFO] ------------------------------------------------------------------------ [INFO] Preparing appfuse:gen-model [INFO] [aspectj:compile {execution: default}] [INFO] [resources:resources] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 5 resources [INFO] [appfuse:gen-model] [INFO] Configuration XML file loaded: file:/home/bruno/workspace/appfuse/myproject/core/src/main/resources/hibernate.cfg.xml [INFO] Configuration Properties file loaded: /home/bruno/workspace/appfuse/myproject/core/target/test-classes/jdbc.properties 20:14:57,541 ERROR freemarker.runtime - Method public java.lang.String org.hibernate.tool.hbm2x.pojo.EntityPOJOClass.generateJoinColumnsAnnotation(org.hibernate.mapping.Property,org.hibernate.cfg.Configuration) threw an exception when invoked on org.hibernate.tool.hbm2x.pojo.EntityPOJOClass(com.mycompany.app.model.Game) The problematic instruction: ---------- ==> ${pojo.generateJoinColumnsAnnotation(property)} [on line 11, column 15 in appfuse/model/Ejb3PropertyGetAnnotation.ftl] in include "Ejb3PropertyGetAnnotation.ftl" [on line 1, column 1 in appfuse/model/GetPropertyAnnotation.ftl] in include "GetPropertyAnnotation.ftl" [on line 9, column 5 in appfuse/model/PojoPropertyAccessors.ftl] in include "PojoPropertyAccessors.ftl" [on line 9, column 1 in appfuse/model/Pojo.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: Method public java.lang.String org.hibernate.tool.hbm2x.pojo.EntityPOJOClass.generateJoinColumnsAnnotation(org.hibernate.mapping.Property,org.hibernate.cfg.Configuration) threw an exception when invoked on org.hibernate.tool.hbm2x.pojo.EntityPOJOClass(com.mycompany.app.model.Game) at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:136) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Expression.getStringValue(Expression.java:93) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.include(Environment.java:1375) at freemarker.core.Include.accept(Include.java:155) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.include(Environment.java:1375) at freemarker.core.Include.accept(Include.java:155) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160) at freemarker.core.Environment.visit(Environment.java:351) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:95) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.include(Environment.java:1375) at freemarker.core.Include.accept(Include.java:155) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.visit(Environment.java:233) at freemarker.core.BlockAssignment.accept(BlockAssignment.java:83) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.process(Environment.java:176) at freemarker.template.Template.process(Template.java:232) at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:251) at org.hibernate.tool.hbm2x.TemplateProducer.produceToString(TemplateProducer.java:67) at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:28) at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:97) at org.hibernate.tool.hbm2x.GenericExporter.exportPOJO(GenericExporter.java:146) at org.hibernate.tool.hbm2x.GenericExporter.exportPersistentClass(GenericExporter.java:135) at org.hibernate.tool.hbm2x.GenericExporter$2.process(GenericExporter.java:41) at org.hibernate.tool.hbm2x.GenericExporter.doStart(GenericExporter.java:126) at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:95) at org.appfuse.mojo.HibernateExporterMojo.doExecute(HibernateExporterMojo.java:228) at org.appfuse.mojo.exporter.ModelGeneratorMojo.execute(ModelGeneratorMojo.java:183) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: java.lang.IllegalArgumentException: wrong number of arguments at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616) at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:113) ... 74 more [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error while processing template appfuse/model/Pojo.ftl wrong number of arguments [INFO] ------------------------------------------------------------------------ [INFO] Trace org.hibernate.tool.hbm2x.ExporterException: Error while processing template appfuse/model/Pojo.ftl at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:257) at org.hibernate.tool.hbm2x.TemplateProducer.produceToString(TemplateProducer.java:67) at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:28) at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:97) at org.hibernate.tool.hbm2x.GenericExporter.exportPOJO(GenericExporter.java:146) at org.hibernate.tool.hbm2x.GenericExporter.exportPersistentClass(GenericExporter.java:135) at org.hibernate.tool.hbm2x.GenericExporter$2.process(GenericExporter.java:41) at org.hibernate.tool.hbm2x.GenericExporter.doStart(GenericExporter.java:126) at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:95) at org.appfuse.mojo.HibernateExporterMojo.doExecute(HibernateExporterMojo.java:228) at org.appfuse.mojo.exporter.ModelGeneratorMojo.execute(ModelGeneratorMojo.java:183) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: freemarker.template.TemplateModelException: Method public java.lang.String org.hibernate.tool.hbm2x.pojo.EntityPOJOClass.generateJoinColumnsAnnotation(org.hibernate.mapping.Property,org.hibernate.cfg.Configuration) threw an exception when invoked on org.hibernate.tool.hbm2x.pojo.EntityPOJOClass(com.mycompany.app.model.Game) at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:136) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Expression.getStringValue(Expression.java:93) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.include(Environment.java:1375) at freemarker.core.Include.accept(Include.java:155) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.include(Environment.java:1375) at freemarker.core.Include.accept(Include.java:155) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160) at freemarker.core.Environment.visit(Environment.java:351) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:95) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.include(Environment.java:1375) at freemarker.core.Include.accept(Include.java:155) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.visit(Environment.java:233) at freemarker.core.BlockAssignment.accept(BlockAssignment.java:83) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.process(Environment.java:176) at freemarker.template.Template.process(Template.java:232) at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:251) ... 28 more Caused by: java.lang.IllegalArgumentException: wrong number of arguments at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616) at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:113) ... 74 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Wed May 06 20:14:57 CEST 2009 [INFO] Final Memory: 31M/475M [INFO] ------------------------------------------------------------------------

    AppFuse JIRA | 8 years ago | Bruno de Almeida
    freemarker.template.TemplateModelException: Method public java.lang.String org.hibernate.tool.hbm2x.pojo.EntityPOJOClass.generateJoinColumnsAnnotation(org.hibernate.mapping.Property,org.hibernate.cfg.Configuration) threw an exception when invoked on org.hibernate.tool.hbm2x.pojo.EntityPOJOClass(com.mycompany.app.model.Game)
  3. 0

    After reinstalling the plugin the "Build Queue Management" page is empty and the following stacktrace shows up in the log file: {code} INFO | jvm 1 | 2011/07/17 20:34:13 | INFO | jvm 1 | 2011/07/17 20:34:13 | Method public boolean com.atlassian.bamboo.idd.actions.ViewBuildQueue.isRunning() threw an exception when invoked on <ViewQuery - toString - com.atlassian.bamboo.idd.actions.ViewBuildQueue@10186e0> INFO | jvm 1 | 2011/07/17 20:34:13 | The problematic instruction: INFO | jvm 1 | 2011/07/17 20:34:13 | ---------- INFO | jvm 1 | 2011/07/17 20:34:13 | ==> if-else [on line 55, column 1 in viewBuildQueue.ftl] INFO | jvm 1 | 2011/07/17 20:34:13 | ---------- INFO | jvm 1 | 2011/07/17 20:34:13 | INFO | jvm 1 | 2011/07/17 20:34:13 | Java backtrace for programmers: INFO | jvm 1 | 2011/07/17 20:34:13 | ---------- INFO | jvm 1 | 2011/07/17 20:34:13 | freemarker.template.TemplateModelException: Method public boolean com.atlassian.bamboo.idd.actions.ViewBuildQueue.isRunning() threw an exception when invoked on <ViewQuery - toString - com.atlassian.bamboo.idd.actions.ViewBuildQueue@10186e0> INFO | jvm 1 | 2011/07/17 20:34:13 | at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:130) INFO | jvm 1 | 2011/07/17 20:34:13 | at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) INFO | jvm 1 | 2011/07/17 20:34:13 | at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) INFO | jvm 1 | 2011/07/17 20:34:13 | at freemarker.core.Expression.isTrue(Expression.java:138) INFO | jvm 1 | 2011/07/17 20:34:13 | at freemarker.core.IfBlock.accept(IfBlock.java:80) INFO | jvm 1 | 2011/07/17 20:34:13 | at freemarker.core.Environment.visit(Environment.java:210) INFO | jvm 1 | 2011/07/17 20:34:13 | at freemarker.core.MixedContent.accept(MixedContent.java:92) INFO | jvm 1 | 2011/07/17 20:34:13 | at freemarker.core.Environment.visit(Environment.java:210) INFO | jvm 1 | 2011/07/17 20:34:13 | at freemarker.core.Environment.process(Environment.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at freemarker.template.Template.process(Template.java:289) INFO | jvm 1 | 2011/07/17 20:34:13 | at freemarker.template.Template.process(Template.java:243) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.webwork.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:214) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:143) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:313) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:208) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:175) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.doIntercept(BambooWorkflowInterceptor.java:37) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:116) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.ww2.interceptors.BambooValidationInterceptor.doIntercept(BambooValidationInterceptor.java:33) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.ww2.interceptors.JSONValidationInterceptor.intercept(JSONValidationInterceptor.java:78) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:174) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.security.acegi.intercept.web.WebworkSecurityInterceptor.intercept(WebworkSecurityInterceptor.java:55) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.security.acegi.intercept.web.WebworkSecurityInterceptorProxy.intercept(WebworkSecurityInterceptorProxy.java:30) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.ww2.interceptors.PaginationAwareInterceptor.intercept(PaginationAwareInterceptor.java:81) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.ww2.interceptors.StatisticsAwareInterceptor.intercept(StatisticsAwareInterceptor.java:42) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.ww2.interceptors.ResultsListAwareInterceptor.intercept(ResultsListAwareInterceptor.java:45) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.ww2.interceptors.NavigationAwareInterceptor.intercept(NavigationAwareInterceptor.java:44) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.ww2.interceptors.BuildResultsSummaryAwareInteceptor.intercept(BuildResultsSummaryAwareInteceptor.java:66) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.ww2.interceptors.ResultsSummaryAwareInteceptor.intercept(ResultsSummaryAwareInteceptor.java:73) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.ww2.interceptors.ChainAwareInterceptor.intercept(ChainAwareInterceptor.java:112) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:186) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:274) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.ww2.BambooFilterDispatcher.doFilter(BambooFilterDispatcher.java:30) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.filter.AccessLogFilter.doFilter(AccessLogFilter.java:66) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.filter.SeraphLoginFilter.doFilter(SeraphLoginFilter.java:74) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:25) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.filter.LicenseFilter.doFilter(LicenseFilter.java:73) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:71) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:211) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:150) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:71) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.persistence.BambooSessionInViewFilter.doFilterInternal(BambooSessionInViewFilter.java:31) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.planetj.servlet.filter.compression.CompressingFilter.handleDoFilter(CompressingFilter.java:203) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.planetj.servlet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:193) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.filter.CompressingFilter.doFilter(CompressingFilter.java:71) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.bamboo.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:31) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) INFO | jvm 1 | 2011/07/17 20:34:13 | at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:473) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:516) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:921) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:856) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.server.Server.handle(Server.java:352) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1052) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:590) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:212) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:510) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) INFO | jvm 1 | 2011/07/17 20:34:13 | at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:450) INFO | jvm 1 | 2011/07/17 20:34:13 | at java.lang.Thread.run(Thread.java:662) INFO | jvm 1 | 2011/07/17 20:34:13 | Caused by: java.lang.IllegalArgumentException: java.lang.ClassCastException@a63f4e INFO | jvm 1 | 2011/07/17 20:34:13 | at sun.reflect.GeneratedMethodAccessor445.invoke(Unknown Source) INFO | jvm 1 | 2011/07/17 20:34:13 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO | jvm 1 | 2011/07/17 20:34:13 | at java.lang.reflect.Method.invoke(Method.java:597) INFO | jvm 1 | 2011/07/17 20:34:13 | at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:809) INFO | jvm 1 | 2011/07/17 20:34:13 | at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:106) INFO | jvm 1 | 2011/07/17 20:34:13 | ... 161 more {code} There are BAM issues for this: * https://jira.atlassian.com/browse/BAM-9116 * https://jira.atlassian.com/browse/BAM-9112

    Ecosystem JIRA | 5 years ago | Stefan Saasen
    freemarker.template.TemplateModelException: Method public boolean com.atlassian.bamboo.idd.actions.ViewBuildQueue.isRunning() threw an exception when invoked on <ViewQuery - toString - com.atlassian.bamboo.idd.actions.ViewBuildQueue@10186e0>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Developing a plugin with the SDK I modify a .ftl file. This file references a simple bean that looks like: {code} public class TSValue<T> { private final T value; private final DateTime time; public TSValue(T value, DateTime time) { this.value = value; this.time = time; } public T getValue() { return value; } public DateTime getTime() { return time; } public String getHumanTime() { return DurationUtils.getRelativeDate(time.toDate(), new Date()) + " ago"; } } {code} {code:title=default.ftl} <#list releasedPatchBranches as version> <li>${version.value} (<span alt="${version.time}">${version.humanTime}</span>)</li> </#list> {code} On the initial load of the plugin, the FTL renders correctly. When I invoke {{pi}} in {{atlas-cli}} the values are no longer shown (though the correct number of li are rendered). The following exception is thrown {code} [INFO] [talledLocalContainer] 2011-06-24 13:03:27,710 ERROR [http-6990-1] [runtime] get(humanTime) failed on instance of com.company.release.TSValue [INFO] [talledLocalContainer] [INFO] [talledLocalContainer] get(humanTime) failed on instance of com.company.release.TSValue [INFO] [talledLocalContainer] The problematic instruction: [INFO] [talledLocalContainer] ---------- [INFO] [talledLocalContainer] ==> ${version.humanTime} [on line 10, column 75 in templates/patchesAndReleases/default.ftl] [INFO] [talledLocalContainer] ---------- [INFO] [talledLocalContainer] [INFO] [talledLocalContainer] Java backtrace for programmers: [INFO] [talledLocalContainer] ---------- [INFO] [talledLocalContainer] freemarker.template.TemplateModelException: get(humanTime) failed on instance of com.company.release.TSValue [INFO] [talledLocalContainer] at freemarker.ext.beans.BeanModel.get(BeanModel.java:210) [INFO] [talledLocalContainer] at freemarker.core.Dot._getAsTemplateModel(Dot.java:76) [INFO] [talledLocalContainer] at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) [INFO] [talledLocalContainer] at freemarker.core.Expression.getStringValue(Expression.java:93) [INFO] [talledLocalContainer] at freemarker.core.DollarVariable.accept(DollarVariable.java:76) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.MixedContent.accept(MixedContent.java:92) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:417) [INFO] [talledLocalContainer] at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.MixedContent.accept(MixedContent.java:92) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.Environment.process(Environment.java:190) [INFO] [talledLocalContainer] at freemarker.template.Template.process(Template.java:289) [INFO] [talledLocalContainer] at freemarker.template.Template.process(Template.java:243) [INFO] [talledLocalContainer] at com.opensymphony.webwork.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:214) [INFO] [talledLocalContainer] at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:143) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:313) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:208) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:175) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.doIntercept(BambooWorkflowInterceptor.java:37) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:116) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.BambooValidationInterceptor.doIntercept(BambooValidationInterceptor.java:33) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.JSONValidationInterceptor.intercept(JSONValidationInterceptor.java:78) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:174) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.atlassian.bamboo.security.acegi.intercept.web.WebworkSecurityInterceptor.intercept(WebworkSecurityInterceptor.java:63) [INFO] [talledLocalContainer] at com.atlassian.bamboo.security.acegi.intercept.web.WebworkSecurityInterceptorProxy.intercept(WebworkSecurityInterceptorProxy.java:30) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.PaginationAwareInterceptor.intercept(PaginationAwareInterceptor.java:81) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.StatisticsAwareInterceptor.intercept(StatisticsAwareInterceptor.java:42) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.ResultsListAwareInterceptor.intercept(ResultsListAwareInterceptor.java:45) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.NavigationAwareInterceptor.intercept(NavigationAwareInterceptor.java:44) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.BuildResultsSummaryAwareInteceptor.intercept(BuildResultsSummaryAwareInteceptor.java:66) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.ResultsSummaryAwareInteceptor.intercept(ResultsSummaryAwareInteceptor.java:73) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.ChainAwareInterceptor.intercept(ChainAwareInterceptor.java:112) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:186) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116) [INFO] [talledLocalContainer] at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:274) [INFO] [talledLocalContainer] at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.BambooFilterDispatcher.doFilter(BambooFilterDispatcher.java:30) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) [INFO] [talledLocalContainer] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) [INFO] [talledLocalContainer] at com.atlassian.labs.httpservice.resource.ResourceFilter.doFilter(ResourceFilter.java:59) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) [INFO] [talledLocalContainer] at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.AccessLogFilter.doFilter(AccessLogFilter.java:66) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) [INFO] [talledLocalContainer] at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.SeraphLoginFilter.doFilter(SeraphLoginFilter.java:74) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:25) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.LicenseFilter.doFilter(LicenseFilter.java:73) [INFO] [talledLocalContainer] at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:71) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:211) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:150) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) [INFO] [talledLocalContainer] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:71) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) [INFO] [talledLocalContainer] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) [INFO] [talledLocalContainer] at com.atlassian.bamboo.persistence.BambooSessionInViewFilter.doFilterInternal(BambooSessionInViewFilter.java:31) [INFO] [talledLocalContainer] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.planetj.servlet.filter.compression.CompressingFilter.handleDoFilter(CompressingFilter.java:203) [INFO] [talledLocalContainer] at com.planetj.servlet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:193) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.CompressingFilter.doFilter(CompressingFilter.java:71) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:31) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) [INFO] [talledLocalContainer] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) [INFO] [talledLocalContainer] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [INFO] [talledLocalContainer] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [INFO] [talledLocalContainer] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) [INFO] [talledLocalContainer] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) [INFO] [talledLocalContainer] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) [INFO] [talledLocalContainer] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:636) [INFO] [talledLocalContainer] Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:616) [INFO] [talledLocalContainer] at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:809) [INFO] [talledLocalContainer] at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:251) [INFO] [talledLocalContainer] at freemarker.ext.beans.BeanModel.get(BeanModel.java:176) [INFO] [talledLocalContainer] ... 178 more {code} I suspect it has something to do with freemarker's bean reflection caching.

    Atlassian JIRA | 5 years ago | Steve Skrla
    freemarker.template.TemplateModelException: get(humanTime) failed on instance of com.company.release.TSValue
  6. 0

    Developing a plugin with the SDK I modify a .ftl file. This file references a simple bean that looks like: {code} public class TSValue<T> { private final T value; private final DateTime time; public TSValue(T value, DateTime time) { this.value = value; this.time = time; } public T getValue() { return value; } public DateTime getTime() { return time; } public String getHumanTime() { return DurationUtils.getRelativeDate(time.toDate(), new Date()) + " ago"; } } {code} {code:title=default.ftl} <#list releasedPatchBranches as version> <li>${version.value} (<span alt="${version.time}">${version.humanTime}</span>)</li> </#list> {code} On the initial load of the plugin, the FTL renders correctly. When I invoke {{pi}} in {{atlas-cli}} the values are no longer shown (though the correct number of li are rendered). The following exception is thrown {code} [INFO] [talledLocalContainer] 2011-06-24 13:03:27,710 ERROR [http-6990-1] [runtime] get(humanTime) failed on instance of com.company.release.TSValue [INFO] [talledLocalContainer] [INFO] [talledLocalContainer] get(humanTime) failed on instance of com.company.release.TSValue [INFO] [talledLocalContainer] The problematic instruction: [INFO] [talledLocalContainer] ---------- [INFO] [talledLocalContainer] ==> ${version.humanTime} [on line 10, column 75 in templates/patchesAndReleases/default.ftl] [INFO] [talledLocalContainer] ---------- [INFO] [talledLocalContainer] [INFO] [talledLocalContainer] Java backtrace for programmers: [INFO] [talledLocalContainer] ---------- [INFO] [talledLocalContainer] freemarker.template.TemplateModelException: get(humanTime) failed on instance of com.company.release.TSValue [INFO] [talledLocalContainer] at freemarker.ext.beans.BeanModel.get(BeanModel.java:210) [INFO] [talledLocalContainer] at freemarker.core.Dot._getAsTemplateModel(Dot.java:76) [INFO] [talledLocalContainer] at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) [INFO] [talledLocalContainer] at freemarker.core.Expression.getStringValue(Expression.java:93) [INFO] [talledLocalContainer] at freemarker.core.DollarVariable.accept(DollarVariable.java:76) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.MixedContent.accept(MixedContent.java:92) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:417) [INFO] [talledLocalContainer] at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.MixedContent.accept(MixedContent.java:92) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.Environment.process(Environment.java:190) [INFO] [talledLocalContainer] at freemarker.template.Template.process(Template.java:289) [INFO] [talledLocalContainer] at freemarker.template.Template.process(Template.java:243) [INFO] [talledLocalContainer] at com.opensymphony.webwork.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:214) [INFO] [talledLocalContainer] at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:143) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:313) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:208) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:175) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.doIntercept(BambooWorkflowInterceptor.java:37) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:116) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.BambooValidationInterceptor.doIntercept(BambooValidationInterceptor.java:33) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.JSONValidationInterceptor.intercept(JSONValidationInterceptor.java:78) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:174) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.atlassian.bamboo.security.acegi.intercept.web.WebworkSecurityInterceptor.intercept(WebworkSecurityInterceptor.java:63) [INFO] [talledLocalContainer] at com.atlassian.bamboo.security.acegi.intercept.web.WebworkSecurityInterceptorProxy.intercept(WebworkSecurityInterceptorProxy.java:30) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.PaginationAwareInterceptor.intercept(PaginationAwareInterceptor.java:81) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.StatisticsAwareInterceptor.intercept(StatisticsAwareInterceptor.java:42) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.ResultsListAwareInterceptor.intercept(ResultsListAwareInterceptor.java:45) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.NavigationAwareInterceptor.intercept(NavigationAwareInterceptor.java:44) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.BuildResultsSummaryAwareInteceptor.intercept(BuildResultsSummaryAwareInteceptor.java:66) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.ResultsSummaryAwareInteceptor.intercept(ResultsSummaryAwareInteceptor.java:73) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.interceptors.ChainAwareInterceptor.intercept(ChainAwareInterceptor.java:112) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:186) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) [INFO] [talledLocalContainer] at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116) [INFO] [talledLocalContainer] at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:274) [INFO] [talledLocalContainer] at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.BambooFilterDispatcher.doFilter(BambooFilterDispatcher.java:30) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) [INFO] [talledLocalContainer] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) [INFO] [talledLocalContainer] at com.atlassian.labs.httpservice.resource.ResourceFilter.doFilter(ResourceFilter.java:59) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) [INFO] [talledLocalContainer] at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.AccessLogFilter.doFilter(AccessLogFilter.java:66) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) [INFO] [talledLocalContainer] at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.SeraphLoginFilter.doFilter(SeraphLoginFilter.java:74) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:25) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.LicenseFilter.doFilter(LicenseFilter.java:73) [INFO] [talledLocalContainer] at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:71) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:211) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:150) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) [INFO] [talledLocalContainer] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:71) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) [INFO] [talledLocalContainer] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) [INFO] [talledLocalContainer] at com.atlassian.bamboo.persistence.BambooSessionInViewFilter.doFilterInternal(BambooSessionInViewFilter.java:31) [INFO] [talledLocalContainer] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.planetj.servlet.filter.compression.CompressingFilter.handleDoFilter(CompressingFilter.java:203) [INFO] [talledLocalContainer] at com.planetj.servlet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:193) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.CompressingFilter.doFilter(CompressingFilter.java:71) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:31) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) [INFO] [talledLocalContainer] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) [INFO] [talledLocalContainer] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [INFO] [talledLocalContainer] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [INFO] [talledLocalContainer] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) [INFO] [talledLocalContainer] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) [INFO] [talledLocalContainer] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) [INFO] [talledLocalContainer] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:636) [INFO] [talledLocalContainer] Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:616) [INFO] [talledLocalContainer] at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:809) [INFO] [talledLocalContainer] at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:251) [INFO] [talledLocalContainer] at freemarker.ext.beans.BeanModel.get(BeanModel.java:176) [INFO] [talledLocalContainer] ... 178 more {code} I suspect it has something to do with freemarker's bean reflection caching.

    Atlassian JIRA | 5 years ago | Steve Skrla
    freemarker.template.TemplateModelException: get(humanTime) failed on instance of com.company.release.TSValue

  1. Aria Pahlavan 16 times, last 3 weeks ago
  2. kjhdofjosvs 2 times, last 1 month ago
  3. tyson925 2 times, last 1 month ago
  4. kuldeep 2 times, last 2 months ago
  5. aldrinleal 1 times, last 5 months ago
6 more registered users
72 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    wrong number of arguments

    at sun.reflect.NativeMethodAccessorImpl.invoke0()
  2. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:616)
    4 frames
  3. FreeMarker
    Template.process
    1. freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:616)
    2. freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:113)
    3. freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
    4. freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
    5. freemarker.core.Expression.getStringValue(Expression.java:93)
    6. freemarker.core.DollarVariable.accept(DollarVariable.java:76)
    7. freemarker.core.Environment.visit(Environment.java:196)
    8. freemarker.core.MixedContent.accept(MixedContent.java:92)
    9. freemarker.core.Environment.visit(Environment.java:196)
    10. freemarker.core.IfBlock.accept(IfBlock.java:82)
    11. freemarker.core.Environment.visit(Environment.java:196)
    12. freemarker.core.MixedContent.accept(MixedContent.java:92)
    13. freemarker.core.Environment.visit(Environment.java:196)
    14. freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
    15. freemarker.core.Environment.visit(Environment.java:196)
    16. freemarker.core.Environment.include(Environment.java:1375)
    17. freemarker.core.Include.accept(Include.java:155)
    18. freemarker.core.Environment.visit(Environment.java:196)
    19. freemarker.core.Environment.include(Environment.java:1375)
    20. freemarker.core.Include.accept(Include.java:155)
    21. freemarker.core.Environment.visit(Environment.java:196)
    22. freemarker.core.MixedContent.accept(MixedContent.java:92)
    23. freemarker.core.Environment.visit(Environment.java:196)
    24. freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
    25. freemarker.core.Environment.visit(Environment.java:196)
    26. freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
    27. freemarker.core.Environment.visit(Environment.java:351)
    28. freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)
    29. freemarker.core.Environment.visit(Environment.java:196)
    30. freemarker.core.MixedContent.accept(MixedContent.java:92)
    31. freemarker.core.Environment.visit(Environment.java:196)
    32. freemarker.core.Environment.include(Environment.java:1375)
    33. freemarker.core.Include.accept(Include.java:155)
    34. freemarker.core.Environment.visit(Environment.java:196)
    35. freemarker.core.MixedContent.accept(MixedContent.java:92)
    36. freemarker.core.Environment.visit(Environment.java:196)
    37. freemarker.core.IfBlock.accept(IfBlock.java:82)
    38. freemarker.core.Environment.visit(Environment.java:196)
    39. freemarker.core.MixedContent.accept(MixedContent.java:92)
    40. freemarker.core.Environment.visit(Environment.java:196)
    41. freemarker.core.Environment.visit(Environment.java:233)
    42. freemarker.core.BlockAssignment.accept(BlockAssignment.java:83)
    43. freemarker.core.Environment.visit(Environment.java:196)
    44. freemarker.core.MixedContent.accept(MixedContent.java:92)
    45. freemarker.core.Environment.visit(Environment.java:196)
    46. freemarker.core.Environment.process(Environment.java:176)
    47. freemarker.template.Template.process(Template.java:232)
    47 frames
  4. Hibernate Tools
    AbstractExporter.start
    1. org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:251)
    2. org.hibernate.tool.hbm2x.TemplateProducer.produceToString(TemplateProducer.java:67)
    3. org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:28)
    4. org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplateProducer.java:97)
    5. org.hibernate.tool.hbm2x.GenericExporter.exportPOJO(GenericExporter.java:146)
    6. org.hibernate.tool.hbm2x.GenericExporter.exportPersistentClass(GenericExporter.java:135)
    7. org.hibernate.tool.hbm2x.GenericExporter$2.process(GenericExporter.java:41)
    8. org.hibernate.tool.hbm2x.GenericExporter.doStart(GenericExporter.java:126)
    9. org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:95)
    9 frames
  5. org.appfuse.mojo
    ModelGeneratorMojo.execute
    1. org.appfuse.mojo.HibernateExporterMojo.doExecute(HibernateExporterMojo.java:228)
    2. org.appfuse.mojo.exporter.ModelGeneratorMojo.execute(ModelGeneratorMojo.java:183)
    2 frames
  6. Maven Plugin
    DefaultPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
    1 frame
  7. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
    2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553)
    3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523)
    4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
    5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
    6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
    7. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
    8. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
    8 frames
  8. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
    1 frame
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:616)
    4 frames
  10. Plexus
    Launcher.main
    1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    3. org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    4. org.codehaus.classworlds.Launcher.main(Launcher.java:375)
    4 frames