1 Reply Latest reply on Jan 9, 2007 9:46 AM by Norman Richards

    seam generate-entities yields java.lang.StackOverflowError

    Anthony Whitford Newbie

      Running seam generate-entities against a SQL Server schema with handful of entities yields me a failure:

      BUILD FAILED
      java.lang.StackOverflowError
       at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1225)
       at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
       at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
       at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
       at org.apache.tools.ant.Main.runBuild(Main.java:668)
       at org.apache.tools.ant.Main.startAnt(Main.java:187)
       at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
       at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
      Caused by: java.lang.StackOverflowError
       at freemarker.ext.beans.BeansWrapper.introspectClass(BeansWrapper.java:660)
       at freemarker.ext.beans.BeanModel.<init>(BeanModel.java:134)
       at freemarker.ext.beans.StringModel.<init>(StringModel.java:90)
       at freemarker.ext.beans.StringModel$1.create(StringModel.java:75)
       at freemarker.ext.util.ModelCache.getInstance(ModelCache.java:113)
       at freemarker.ext.beans.BeansWrapper.wrap(BeansWrapper.java:393)
       at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:584)
       at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:252)
       at freemarker.ext.beans.BeanModel.get(BeanModel.java:177)
       at freemarker.core.Dot._getAsTemplateModel(Dot.java:76)
       at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
       at freemarker.core.Dot._getAsTemplateModel(Dot.java:74)
       at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
       at freemarker.core.ListLiteral.getModelList(ListLiteral.java:119)
       at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:89)
       at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
       at freemarker.core.ListLiteral.getModelList(ListLiteral.java:119)
       at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:89)
       at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
       at freemarker.core.Assignment.accept(Assignment.java:90)
       at freemarker.core.Environment.visit(Environment.java:196)
      ...REMOVED...
       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.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)
      


      Any idea as to what is wrong?