timperrett / lift-shiro

Lift Integration with the Shiro security framework
http://blog.getintheloop.eu/2011/08/23/using-apache-shiro-with-lift/
Apache License 2.0
50 stars 32 forks source link

Stackoverflow Error when using Lift-Shiro #27

Closed alexflav23 closed 9 years ago

alexflav23 commented 9 years ago

Hi Tim,

I will copy paste the stack trace I am currently dealing with. Tried several machines, all MacOSX, to see if it's not machine related. AWS Linux instances report the same problem.

This is particularly interesting as the entire set of tests for the Shiro framework work perfectly, everything from how users are created, authenticated, how passwords are encrypted etc. Bottom line, all test green, no errors.

This happens after a successful login done via currentUser.login(new UsernamePasswordToken(..)). But nothing is even hitting the application code, it's the ShiroFilter itself failing.

I'm using a custom lift-shiro that runs on Lift 3.0-M1 and Shiro 1.2.3 with no other changes done.


HTTP ERROR 500

Problem accessing /app. Reason:

    Server Error
Caused by:

javax.servlet.ServletException: Filtered request failed.
    at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:384)
    at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1624)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:568)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1112)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:479)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1046)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:199)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    at org.eclipse.jetty.server.Server.handle(Server.java:459)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:281)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232)
    at org.eclipse.jetty.io.AbstractConnection$1.run(AbstractConnection.java:505)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
    at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.StackOverflowError
    at java.security.AccessController.doPrivileged(Native Method)
    at java.io.FilePermission.init(FilePermission.java:209)
    at java.io.FilePermission.<init>(FilePermission.java:285)
    at sun.net.www.protocol.file.FileURLConnection.getPermission(FileURLConnection.java:225)
    at sun.misc.URLClassPath.check(URLClassPath.java:436)
    at sun.misc.URLClassPath$FileLoader.getResource(URLClassPath.java:1043)
    at sun.misc.URLClassPath$FileLoader.findResource(URLClassPath.java:1024)
    at sun.misc.URLClassPath.findResource(URLClassPath.java:172)
    at java.net.URLClassLoader$2.run(URLClassLoader.java:551)
    at java.net.URLClassLoader$2.run(URLClassLoader.java:549)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findResource(URLClassLoader.java:548)
    at java.lang.ClassLoader.getResource(ClassLoader.java:1138)
    at java.lang.Class.getResource(Class.java:2093)
    at net.liftweb.http.LiftRules$$anonfun$35.apply(LiftRules.scala:1243)
    at net.liftweb.http.LiftRules$$anonfun$35.apply(LiftRules.scala:1243)
    at net.liftweb.http.LiftRules$$anonfun$defaultGetResource$1.apply(LiftRules.scala:1257)
    at net.liftweb.http.LiftRules$$anonfun$defaultGetResource$1.apply(LiftRules.scala:1257)
    at net.liftweb.common.EmptyBox.or(Box.scala:694)
    at net.liftweb.http.LiftRules.defaultGetResource(LiftRules.scala:1257)
    at net.liftweb.http.LiftRules$$anonfun$36.apply(LiftRules.scala:1250)
    at net.liftweb.http.LiftRules$$anonfun$36.apply(LiftRules.scala:1250)
    at net.liftweb.http.LiftRules.doWithResource(LiftRules.scala:1264)
    at net.liftweb.http.Templates$.findRawTemplate(Templates.scala:199)
    at net.liftweb.http.Templates$.apply(Templates.scala:85)
    at net.liftweb.http.LiftSession.findTemplate(LiftSession.scala:1528)
    at net.liftweb.http.LiftSession.findAndMerge(LiftSession.scala:2693)
    at net.liftweb.builtin.snippet.Surround$$anonfun$2$$anonfun$apply$1.apply(Surround.scala:51)
    at net.liftweb.builtin.snippet.Surround$$anonfun$2$$anonfun$apply$1.apply(Surround.scala:44)
    at net.liftweb.util.AnyVarTrait$class.doWith(AnyVar.scala:277)
    at net.liftweb.util.AnyVar.doWith(AnyVar.scala:91)
    at net.liftweb.builtin.snippet.Surround$$anonfun$2.apply(Surround.scala:44)
    at net.liftweb.builtin.snippet.Surround$$anonfun$2.apply(Surround.scala:36)
    at net.liftweb.common.Full.map(Box.scala:589)
    at net.liftweb.builtin.snippet.Surround$.render(Surround.scala:36)
    at net.liftweb.builtin.snippet.Surround$$anonfun$dispatch$1$$anonfun$applyOrElse$1.apply(Surround.scala:31)
    at net.liftweb.builtin.snippet.Surround$$anonfun$dispatch$1$$anonfun$applyOrElse$1.apply(Surround.scala:31)
    at net.liftweb.http.LiftSession$$anonfun$66$$anonfun$apply$101$$anonfun$apply$102$$anonfun$apply$105$$anonfun$apply$107.apply(LiftSession.scala:1888)
    at net.liftweb.http.LiftSession$$anonfun$66$$anonfun$apply$101$$anonfun$apply$102$$anonfun$apply$105$$anonfun$apply$107.apply(LiftSession.scala:1862)
    at net.liftweb.common.EmptyBox.openOr(Box.scala:692)
    at net.liftweb.http.LiftSession$$anonfun$66$$anonfun$apply$101$$anonfun$apply$102$$anonfun$apply$105.apply(LiftSession.scala:1860)
    at net.liftweb.http.LiftSession$$anonfun$66$$anonfun$apply$101$$anonfun$apply$102$$anonfun$apply$105.apply(LiftSession.scala:1860)
    at net.liftweb.common.EmptyBox.openOr(Box.scala:692)
    at net.liftweb.http.LiftSession$$anonfun$66$$anonfun$apply$101$$anonfun$apply$102.apply(LiftSession.scala:1859)
    at net.liftweb.http.LiftSession$$anonfun$66$$anonfun$apply$101$$anonfun$apply$102.apply(LiftSession.scala:1859)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$runWhitelist$1(LiftSession.scala:1849)
    at net.liftweb.http.LiftSession$$anonfun$66$$anonfun$apply$101.apply(LiftSession.scala:1858)
    at net.liftweb.http.LiftSession$$anonfun$66$$anonfun$apply$101.apply(LiftSession.scala:1858)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$66.apply(LiftSession.scala:1857)
    at net.liftweb.http.LiftSession$$anonfun$66.apply(LiftSession.scala:1855)
    at net.liftweb.common.Full.map(Box.scala:589)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processSnippet(LiftSession.scala:1855)
    at net.liftweb.http.LiftSession$$anonfun$_defaultLiftTagProcessing$1.applyOrElse(LiftSession.scala:2089)
    at net.liftweb.http.LiftSession$$anonfun$_defaultLiftTagProcessing$1.applyOrElse(LiftSession.scala:2077)
    at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33)
    at net.liftweb.util.NamedPF.apply(NamedPartialFunction.scala:36)
    at net.liftweb.util.NamedPF$.apply(NamedPartialFunction.scala:82)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2402)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
Caused by:

java.lang.StackOverflowError
    at java.security.AccessController.doPrivileged(Native Method)
    at java.io.FilePermission.init(FilePermission.java:209)
    at java.io.FilePermission.<init>(FilePermission.java:285)
    at sun.net.www.protocol.file.FileURLConnection.getPermission(FileURLConnection.java:225)
    at sun.misc.URLClassPath.check(URLClassPath.java:436)
    at sun.misc.URLClassPath$FileLoader.getResource(URLClassPath.java:1043)
    at sun.misc.URLClassPath$FileLoader.findResource(URLClassPath.java:1024)
    at sun.misc.URLClassPath.findResource(URLClassPath.java:172)
    at java.net.URLClassLoader$2.run(URLClassLoader.java:551)
    at java.net.URLClassLoader$2.run(URLClassLoader.java:549)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findResource(URLClassLoader.java:548)
    at java.lang.ClassLoader.getResource(ClassLoader.java:1138)
    at java.lang.Class.getResource(Class.java:2093)
    at net.liftweb.http.LiftRules$$anonfun$35.apply(LiftRules.scala:1243)
    at net.liftweb.http.LiftRules$$anonfun$35.apply(LiftRules.scala:1243)
    at net.liftweb.http.LiftRules$$anonfun$defaultGetResource$1.apply(LiftRules.scala:1257)
    at net.liftweb.http.LiftRules$$anonfun$defaultGetResource$1.apply(LiftRules.scala:1257)
    at net.liftweb.common.EmptyBox.or(Box.scala:694)
    at net.liftweb.http.LiftRules.defaultGetResource(LiftRules.scala:1257)
    at net.liftweb.http.LiftRules$$anonfun$36.apply(LiftRules.scala:1250)
    at net.liftweb.http.LiftRules$$anonfun$36.apply(LiftRules.scala:1250)
    at net.liftweb.http.LiftRules.doWithResource(LiftRules.scala:1264)
    at net.liftweb.http.Templates$.findRawTemplate(Templates.scala:199)
    at net.liftweb.http.Templates$.apply(Templates.scala:85)
    at net.liftweb.http.LiftSession.findTemplate(LiftSession.scala:1528)
    at net.liftweb.http.LiftSession.findAndMerge(LiftSession.scala:2693)
    at net.liftweb.builtin.snippet.Surround$$anonfun$2$$anonfun$apply$1.apply(Surround.scala:51)
    at net.liftweb.builtin.snippet.Surround$$anonfun$2$$anonfun$apply$1.apply(Surround.scala:44)
    at net.liftweb.util.AnyVarTrait$class.doWith(AnyVar.scala:277)
    at net.liftweb.util.AnyVar.doWith(AnyVar.scala:91)
    at net.liftweb.builtin.snippet.Surround$$anonfun$2.apply(Surround.scala:44)
    at net.liftweb.builtin.snippet.Surround$$anonfun$2.apply(Surround.scala:36)
    at net.liftweb.common.Full.map(Box.scala:589)
    at net.liftweb.builtin.snippet.Surround$.render(Surround.scala:36)
    at net.liftweb.builtin.snippet.Surround$$anonfun$dispatch$1$$anonfun$applyOrElse$1.apply(Surround.scala:31)
    at net.liftweb.builtin.snippet.Surround$$anonfun$dispatch$1$$anonfun$applyOrElse$1.apply(Surround.scala:31)
    at net.liftweb.http.LiftSession$$anonfun$66$$anonfun$apply$101$$anonfun$apply$102$$anonfun$apply$105$$anonfun$apply$107.apply(LiftSession.scala:1888)
    at net.liftweb.http.LiftSession$$anonfun$66$$anonfun$apply$101$$anonfun$apply$102$$anonfun$apply$105$$anonfun$apply$107.apply(LiftSession.scala:1862)
    at net.liftweb.common.EmptyBox.openOr(Box.scala:692)
    at net.liftweb.http.LiftSession$$anonfun$66$$anonfun$apply$101$$anonfun$apply$102$$anonfun$apply$105.apply(LiftSession.scala:1860)
    at net.liftweb.http.LiftSession$$anonfun$66$$anonfun$apply$101$$anonfun$apply$102$$anonfun$apply$105.apply(LiftSession.scala:1860)
    at net.liftweb.common.EmptyBox.openOr(Box.scala:692)
    at net.liftweb.http.LiftSession$$anonfun$66$$anonfun$apply$101$$anonfun$apply$102.apply(LiftSession.scala:1859)
    at net.liftweb.http.LiftSession$$anonfun$66$$anonfun$apply$101$$anonfun$apply$102.apply(LiftSession.scala:1859)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$runWhitelist$1(LiftSession.scala:1849)
    at net.liftweb.http.LiftSession$$anonfun$66$$anonfun$apply$101.apply(LiftSession.scala:1858)
    at net.liftweb.http.LiftSession$$anonfun$66$$anonfun$apply$101.apply(LiftSession.scala:1858)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$66.apply(LiftSession.scala:1857)
    at net.liftweb.http.LiftSession$$anonfun$66.apply(LiftSession.scala:1855)
    at net.liftweb.common.Full.map(Box.scala:589)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processSnippet(LiftSession.scala:1855)
    at net.liftweb.http.LiftSession$$anonfun$_defaultLiftTagProcessing$1.applyOrElse(LiftSession.scala:2089)
    at net.liftweb.http.LiftSession$$anonfun$_defaultLiftTagProcessing$1.applyOrElse(LiftSession.scala:2077)
    at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33)
    at net.liftweb.util.NamedPF.apply(NamedPartialFunction.scala:36)
    at net.liftweb.util.NamedPF$.apply(NamedPartialFunction.scala:82)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2402)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
    at net.liftweb.http.S$.withCurrentSnippetNodeSeq(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121.apply(LiftSession.scala:2398)
    at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processOrDefer(LiftSession.scala:2164)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2397)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1.apply(LiftSession.scala:2381)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at net.liftweb.http.LiftSession.processSurroundAndInclude(LiftSession.scala:2381)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123$$anonfun$apply$124.apply(LiftSession.scala:2401)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withAttrs(S.scala:2113)
    at net.liftweb.http.S$.withAttrs(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122$$anonfun$apply$123.apply(LiftSession.scala:2400)
    at net.liftweb.http.S$class.doSnippet(S.scala:2369)
    at net.liftweb.http.S$.doSnippet(S.scala:47)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$121$$anonfun$apply$122.apply(LiftSession.scala:2399)
    at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71)
    at net.liftweb.http.S$class.withCurrentSnippetNodeSeq(S.scala:2330)
Powered by Jetty://
fmpwizard commented 9 years ago

any chance of trying shiro 1.2.0 so the lift verasion is the only diff?

alexflav23 commented 9 years ago

@fmpwizard I've downgraded the dependencies to Shiro 1.2.0 and the problem persists.

fmpwizard commented 9 years ago

thanks for trying, I'll try to make some time this week and see what I find (may be next week though), feel free to send a ping here if I don't post again.

alexflav23 commented 9 years ago

@fmpwizard The error is the filter added to web.xml, if I remove the Shiro specific environment listener and filter login works and there's no error anymore. Some of the redirects seem to fail because of that as well, but I guess those can be done manually.

alexflav23 commented 9 years ago

@fmpwizard I've also tried Lift 2.6-M4 with Shiro 1.2.0 and unfortunately the issues persists. Is there a chance we can work to fix this asap? I'm very happy to help put in some hours so long as you have any ideas where to look for.

fmpwizard commented 9 years ago

Having the simplest app that shows this issue would be great, something where we click one simple button and shows r problem

And I think I'll be able to look at it over the weekend

Diego Sent from my cell On Feb 20, 2015 9:32 PM, "Flavian Alexandru" notifications@github.com wrote:

@fmpwizard https://github.com/fmpwizard I've also tried Lift 2.6-M4 with Shiro 1.2.0 and unfortunately the issues persists. Is there a chance we can work to fix this asap? I'm very happy to help put in some hours so long as you have any ideas where to look for.

— Reply to this email directly or view it on GitHub https://github.com/timperrett/lift-shiro/issues/27#issuecomment-75351537 .

fmpwizard commented 9 years ago

@alexflav23 while you are getting the sample project, I just noticed that we didn't have updated jars for the final 2.6 version of Lift, go ahead and use this version :

https://oss.sonatype.org/content/repositories/snapshots/eu/getintheloop/lift-shiro_2.6_2.10/0.0.9-SNAPSHOT/

this is using lift 2.6 final, scala 2.10.4 and the lift-shiro version is 0.0.9-SNAPSHOT (not 0.0.8)

I'll be updating the readme now with the new version

alexflav23 commented 9 years ago

@fmpwizard Many thanks for this, I've been using a custom spinoff. I will try this right now and hope it works.

alexflav23 commented 9 years ago

@fmpwizard I've just tried using your version and the problem persists, specifically after login. The issue is I'm using a custom login mechanism, which will just call currentUser.login(token), but now that I think about it this doesn't do anything else to deal with the Lift pipeline which probably goes alongside Shiro.

I will try using the /login POST url lift-shiro provides by default.

fmpwizard commented 9 years ago

@alexflav23 If I'm following what you are saying, while you call currentUser.login(token), shiro still doesn't know you are logged in, so it tries to send you back to do the login, right?

along side publishing the updated version, I went ahead and fixed the example that comes with this project, so now you can

sbt project lift-shiro-example
>container:start

and go to http://127.0.0.1:8080 , enter admin / secret and you can see the plugin working if you want, you can update that example with some code that does something similar to your currentuser.login(token) and I can try to take a look

alexflav23 commented 9 years ago

@fmpwizard Many many thanks for going through all the hassle. As far as I understood it, Shiro needs that method alone to know you are logged in. Please correct me if I am wrong.

My processing code looks like this. The lifty methods you don't recognise like applicative parsers are coming from https://github.com/websudos/util.


  // the rest route
  case ApiConfig.Prefix :: ApiConfig.Version :: "user" :: "login" :: Nil JsonPost data -> _ => {
      AuthenticationController.login(data).async(401)
    }

 // This is the login method called above
 def login(data: JValue): Future[LiftResponse] = {
    json[LoginRequest](data).fold(
      err => err.toJson(400).toFuture,
      req => {
        if (UserController.login(req)) 
          OkResponse().toFuture
        else
          JsonUnauthorizedResponse().toFuture
        }
      }
    )
  }

// which then goes to

def login(req: LoginRequest): Boolean = {
    val token = new UsernamePasswordToken(req.email, req.password, req.remember.getOrElse(false))
    token.setRememberMe(remember)

    val currentUser = SecurityUtils.getSubject 
    currentUser.login(token)
    currentUser.isAuthenticated
 }

So Shiro does think the authentication is complete, otherwise I wouldn't be getting HTTP 200 for those responses. Furthermore, the unit tests for the Database Realm and password matching extensively cover all the above methods + DB queries and so forth and they all consistently pass.

By looking at the stacktrace, it's Lift constantly calling:

at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$96$$anonfun$apply$97.apply(LiftSession.scala:2050)
    at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$96$$anonfun$apply$97.apply(LiftSession.scala:2050)

Somehow the cycle repeats itself until there's a StackOverflow Error.

alexflav23 commented 9 years ago

@fmpwizard I've found the culprit, the after login redirect was surrounding a template called internal, which instead of having HTML was trying to surround itself, hence the endless processing.

The error which was caused by the ShiroFilter itself appears to have vanished, so many thanks for everything. I think it's safe to close this, I will come back with more details if the problem re-emerges.

fmpwizard commented 9 years ago

Awesome that it is working well now!