3 Replies Latest reply on Oct 23, 2008 10:24 PM by Vimal Kansal

    SEAM 2.1 GA : seam generate throwing exception

    Vimal Kansal Newbie
      Hi Guys,

      I am using seam generate command, and I get this :

      [hibernate] Oct 23, 2008 2:50:22 PM org.hibernate.cfg.annotations.CollectionBind
      er bindOneToManySecondPass
      [hibernate] INFO: Mapping collection: org.open18.model.TeeSet.tees -> TEE
      [hibernate] Oct 23, 2008 2:50:22 PM org.hibernate.validator.Version <clinit>
      [hibernate] INFO: Hibernate Validator 3.0.0.GA
      [hibernate] 2. task: generic exportertemplate: view/view.xhtml.ftl
      [hibernate] Oct 23, 2008 2:50:22 PM freemarker.log.JDK14LoggerFactory$JDK14Logge
      r error
      [hibernate] SEVERE:
      [hibernate]
      [hibernate] Error executing macro: outputValue
      [hibernate] required parameter: property is not specified.
      [hibernate] The problematic instruction:
      [hibernate] ----------
      [hibernate] ==> macro outputValue [on line 38, column 1 in util/TypeInfo.ftl]
      [hibernate]  in user-directive outputValue [on line 100, column 17 in view/view.
      xhtml.ftl]
      [hibernate] ----------
      [hibernate]
      [hibernate] Java backtrace for programmers:
      [hibernate] ----------
      [hibernate] freemarker.template.TemplateException: Error executing macro: output
      Value
      [hibernate] required parameter: property is not specified.
      [hibernate]     at freemarker.core.Macro$Context.sanityCheck(Macro.java:181)
      [hibernate]     at freemarker.core.Macro$Context.runMacro(Macro.java:161)
      [hibernate]     at freemarker.core.Environment.visit(Environment.java:537)
      [hibernate]     at freemarker.core.UnifiedCall.accept(UnifiedCall.java:128)
      [hibernate]     at freemarker.core.Environment.visit(Environment.java:196)
      [hibernate]     at freemarker.core.MixedContent.accept(MixedContent.java:92)
      [hibernate]     at freemarker.core.Environment.visit(Environment.java:196)
      [hibernate]     at freemarker.core.IfBlock.accept(IfBlock.java:82)
      [hibernate]     at freemarker.core.Environment.visit(Environment.java:196)
      [hibernate]     at freemarker.core.MixedContent.accept(MixedContent.java:92)
      [hibernate]     at freemarker.core.Environment.visit(Environment.java:196)
      [hibernate]     at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java
      :79)
      [hibernate]     at freemarker.core.Environment.visit(Environment.java:196)
      [hibernate]     at freemarker.core.MixedContent.accept(MixedContent.java:92)
      [hibernate]     at freemarker.core.Environment.visit(Environment.java:196)
      [hibernate]     at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.j
      ava:160)
      [hibernate]     at freemarker.core.Environment.visit(Environment.java:351)
      [hibernate]     at freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)
      [hibernate]     at freemarker.core.Environment.visit(Environment.java:196)
      [hibernate]     at freemarker.core.MixedContent.accept(MixedContent.java:92)
      [hibernate]     at freemarker.core.Environment.visit(Environment.java:196)
      [hibernate]     at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java
      :79)
      [hibernate]     at freemarker.core.Environment.visit(Environment.java:196)
      [hibernate]     at freemarker.core.MixedContent.accept(MixedContent.java:92)
      [hibernate]     at freemarker.core.Environment.visit(Environment.java:196)
      [hibernate]     at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.j
      ava:160)
      [hibernate]     at freemarker.core.Environment.visit(Environment.java:351)
      [hibernate]     at freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)
      [hibernate]     at freemarker.core.Environment.visit(Environment.java:196)
      [hibernate]     at freemarker.core.MixedContent.accept(MixedContent.java:92)
      [hibernate]     at freemarker.core.Environment.visit(Environment.java:196)
      [hibernate]     at freemarker.core.Environment.process(Environment.java:176)
      [hibernate]     at freemarker.template.Template.process(Template.java:232)
      [hibernate]     at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(Templ
      ateHelper.java:255)
      [hibernate]     at org.hibernate.tool.hbm2x.TemplateProducer.produceToString(Tem
      plateProducer.java:67)
      [hibernate]     at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplatePro
      ducer.java:28)
      [hibernate]     at org.hibernate.tool.hbm2x.TemplateProducer.produce(TemplatePro
      ducer.java:103)
      [hibernate]     at org.hibernate.tool.hbm2x.GenericExporter.exportPOJO(GenericEx
      porter.java:148)
      [hibernate]     at org.hibernate.tool.hbm2x.GenericExporter.exportPersistentClas
      s(GenericExporter.java:137)
      [hibernate]     at org.hibernate.tool.hbm2x.GenericExporter$2.process(GenericExp
      orter.java:43)
      [hibernate]     at org.hibernate.tool.hbm2x.GenericExporter.doStart(GenericExpor
      ter.java:128)
      [hibernate]     at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExpor
      ter.java:95)
      [hibernate]     at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java
      :40)
      [hibernate]     at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToo
      lTask.java:186)
      [hibernate]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
      va:288)
      [hibernate]     at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      [hibernate]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
      hodAccessorImpl.java:25)
      [hibernate]     at java.lang.reflect.Method.invoke(Method.java:597)
      [hibernate]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
      tils.java:105)
      [hibernate]     at org.apache.tools.ant.Task.perform(Task.java:348)
      [hibernate]     at org.apache.tools.ant.Target.execute(Target.java:357)
      [hibernate]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
      [hibernate]     at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
      a:1329)
      [hibernate]     at org.apache.tools.ant.Project.executeTarget(Project.java:1298)

      [hibernate]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De
      faultExecutor.java:41)
      [hibernate]     at org.apache.tools.ant.Project.executeTargets(Project.java:1181
      )
      [hibernate]     at org.apache.tools.ant.Main.runBuild(Main.java:698)
      [hibernate]     at org.apache.tools.ant.Main.startAnt(Main.java:199)
      [hibernate]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
      [hibernate]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
      [hibernate] An exception occurred while running exporter #3:generic exportertemp
      late: view/view.xhtml.ftl
      [hibernate] To get the full stack trace run ant with -verbose
      [hibernate] org.hibernate.tool.hbm2x.ExporterException: Error while processing E
      ntity: org.open18.model.Hole with template view/view.xhtml.ftl
      [hibernate] freemarker.template.TemplateException: Error executing macro: output
      Value
      [hibernate] required parameter: property is not specified.


      Has anything changed with freemarker templates?