Lifty/lifty — Issue #7: org.fusesource.scalate.NoValueSetException: The value for 'fields' was not set
Author: ghorsey
Created: 2011-11-24 23:16:07+00:00
State: open

I got this error running the command: lifty create lift mapper

> lifty create lift mapper
Enter value for mainpack: example.travel
Enter value for modelName: Supplier
Enter value for modelpack[example.travel.model]:
Rendering: mapper.ssp
[error] org.fusesource.scalate.NoValueSetException: The value for 'fields' was not set
[error] Use 'last' for the full log.
> last
org.fusesource.scalate.NoValueSetException: The value for 'fields' was not set
at org.fusesource.scalate.RenderContext$$anonfun$attribute$1.apply(RenderContext.scala:158)
at org.fusesource.scalate.RenderContext$$anonfun$attribute$1.apply(RenderContext.scala:158)
at org.fusesource.scalate.RenderContext$class.attributeOrElse(RenderContext.scala:166)
at org.fusesource.scalate.DefaultRenderContext.attributeOrElse(DefaultRenderContext.scala:30)
at org.fusesource.scalate.RenderContext$class.attribute(RenderContext.scala:158)
at org.fusesource.scalate.DefaultRenderContext.attribute(DefaultRenderContext.scala:30)
at C_.Users.Geoff.AppData.Local.Temp.$_scalate_$lifty8581221954524743994_ssp$.$_scalate_$render(lifty8581221954524743994.ssp.scala:20)
at C_.Users.Geoff.AppData.Local.Temp.$_scalate_$lifty8581221954524743994_ssp.render(lifty8581221954524743994.ssp.scala:61)
at org.lifty.engine.Scalate$.org$lifty$engine$Scalate$$render(Scalate.scala:196)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1$$anonfun$apply$8$$anonfun$apply$9$$anonfun$apply$10.apply(Scalate.scala:106)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1$$anonfun$apply$8$$anonfun$apply$9$$anonfun$apply$10.apply(Scalate.scala:105)
at scala.Option.flatMap(Option.scala:146)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1$$anonfun$apply$8$$anonfun$apply$9.apply(Scalate.scala:105)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1$$anonfun$apply$8$$anonfun$apply$9.apply(Scalate.scala:104)
at scala.Option.flatMap(Option.scala:146)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1$$anonfun$apply$8.apply(Scalate.scala:104)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1$$anonfun$apply$8.apply(Scalate.scala:103)
at scala.Option.flatMap(Option.scala:146)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1.apply(Scalate.scala:103)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1.apply(Scalate.scala:101)
at scala.Option.flatMap(Option.scala:146)
at org.lifty.engine.Scalate$.processTemplateInMemory(Scalate.scala:101)
at org.lifty.engine.Scalate$.org$lifty$engine$Scalate$$processTemplate(Scalate.scala:91)
at org.lifty.engine.Scalate$$anonfun$run$1.apply(Scalate.scala:31)
at org.lifty.engine.Scalate$$anonfun$run$1.apply(Scalate.scala:29)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:45)
at org.lifty.engine.Scalate$.run(Scalate.scala:29)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13$$anonfun$apply$14$$anonfun$apply$15$$anonfun$apply$16.apply(Lifty.scala:93)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13$$anonfun$apply$14$$anonfun$apply$15$$anonfun$apply$16.apply(Lifty.scala:93)
at scalaz.Identity$$anon$1.value(Identity.scala:170)
at scalaz.Identity$class.success(Identity.scala:101)
at scalaz.Identity$$anon$1.success(Identity.scala:169)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13$$anonfun$apply$14$$anonfun$apply$15.apply(Lifty.scala:93)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13$$anonfun$apply$14$$anonfun$apply$15.apply(Lifty.scala:92)
at scalaz.Validation$class.flatMap(Validation.scala:22)
at scalaz.Success.flatMap(Validation.scala:82)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13$$anonfun$apply$14.apply(Lifty.scala:92)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13$$anonfun$apply$14.apply(Lifty.scala:90)
at scalaz.Validation$class.flatMap(Validation.scala:22)
at scalaz.Success.flatMap(Validation.scala:82)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13.apply(Lifty.scala:90)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13.apply(Lifty.scala:89)
at scalaz.Validation$class.flatMap(Validation.scala:22)
at scalaz.Success.flatMap(Validation.scala:82)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7.apply(Lifty.scala:89)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7.apply(Lifty.scala:88)
at scala.Option.map(Option.scala:133)
at org.lifty.engine.Lifty$class.org$lifty$engine$Lifty$$runCommand(Lifty.scala:88)
at org.lifty.engine.Lifty$$anonfun$run$2.apply(Lifty.scala:34)
at org.lifty.engine.Lifty$$anonfun$run$2.apply(Lifty.scala:32)
at scala.Option.map(Option.scala:133)
at org.lifty.engine.Lifty$class.run(Lifty.scala:32)
at org.lifty.engine.LiftyInstance.run(Lifty.scala:165)
at org.lifty.Lifty$$anonfun$liftyCommand$1.apply(Lifty.scala:94)
at org.lifty.Lifty$$anonfun$liftyCommand$1.apply(Lifty.scala:18)
at sbt.Command$$anonfun$sbt$Command$$apply1$1$$anonfun$apply$6.apply(Command.scala:74)
at sbt.Command$.process(Command.scala:92)
at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(Main.scala:121)
at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(Main.scala:121)
at sbt.State$$anon$1.process(State.scala:154)
at sbt.MainLoop$$anonfun$next$1.apply(Main.scala:121)
at sbt.MainLoop$$anonfun$next$1.apply(Main.scala:121)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.MainLoop$.next(Main.scala:121)
at sbt.MainLoop$.run(Main.scala:114)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(Main.scala:103)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(Main.scala:100)
at sbt.Using.apply(Using.scala:25)
at sbt.MainLoop$.runWithNewLog(Main.scala:100)
at sbt.MainLoop$.runAndClearLast(Main.scala:83)
at sbt.MainLoop$.runLoggedLoop(Main.scala:67)
at sbt.MainLoop$.runLogged(Main.scala:60)
at sbt.xMain.run(Main.scala:33)
at xsbt.boot.Launch$.run(Launch.scala:54)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:43)
at xsbt.boot.Launch$.launch(Launch.scala:68)
at xsbt.boot.Launch$.apply(Launch.scala:14)
at xsbt.boot.Boot$.runImpl(Boot.scala:25)
at xsbt.boot.Boot$.main(Boot.scala:15)
at xsbt.boot.Boot.main(Boot.scala)