Hi,

I've created a MappedTextarea field with a maximum length as follows:

    class Item extends LongKeyedMapper[WorkUnit] with IdPK {
        object description extends MappedTextarea(this,300)
    }

MappedTextarea extends MappedString. MappedString puts a maxlength="N"
onto the corresponding form text field. MappedTextarea does (for good
reasons), but appears to make no other provision to enforce the max
length.

Furthermore, submitting a form with a value greater in length than the
specified maxLen results in an error (shown at the end of the post).
The problem can also be observed in the lift example on
http://demo.liftweb.net/simple/add if using more than 2048 characters
in the personal essay field.

I'm new to lift, and the only way I could reason to fix the problem is
to override the valMaxLen method:

    class Item extends LongKeyedMapper[WorkUnit] with IdPK {
        object description extends MappedTextarea(this,300) {
            valMaxLen(300, "Description must be < 300 characters")
_ :: super.validations
        }
    }

Is this "fix" actually the proper way to do it? It seems a bit against
DRY to need to explicitly override the valMaxLen method in addition to
specifying the maxLen when defining the field, and ungraceful to cause
an error if the developer does not do this. Is there a better way to
fix the problem? Is this something that should be fixed in the core?

Any advice is appreciated!

Best Regards,
Drew Wilder-Goodwin


Error message when putting more than maxLen characters in a
MappedTextarea field:

Exception occured while processing /
Message: java.sql.SQLException: A truncation error was encountered
trying to shrink VARCHAR 'asdf asdfasdf asdfasdf asdfasdf asdfasdf
asdfasdf asdfasdf a&' to length 300.
        org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException
(Unknown Source)
        org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown
Source)
        org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException
(Unknown Source)
        org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException
(Unknown Source)
        org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown
Source)
        org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown
Source)
        org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
Source)
        org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement
(Unknown Source)
        org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate
(Unknown Source)
        net.liftweb.mapper.MetaMapper$$anonfun$12.prepStat$1(MetaMapper.scala:
642)
        net.liftweb.mapper.MetaMapper$$anonfun$12$$anonfun$19.apply
(MetaMapper.scala:659)
        net.liftweb.mapper.MetaMapper$$anonfun$12$$anonfun$19.apply
(MetaMapper.scala:659)
        net.liftweb.mapper.DB$$anonfun$prepareStatement$2.apply(DB.scala:292)
        net.liftweb.mapper.DB$$anonfun$prepareStatement$2.apply(DB.scala:288)
        net.liftweb.util.TimeHelpers$class.calcTime(TimeHelpers.scala:241)
        net.liftweb.util.Helpers$.calcTime(Helpers.scala:29)
        net.liftweb.mapper.DB$.prepareStatement(DB.scala:288)
        net.liftweb.mapper.MetaMapper$$anonfun$12.apply(MetaMapper.scala:658)
        net.liftweb.mapper.MetaMapper$$anonfun$12.apply(MetaMapper.scala:578)
        net.liftweb.mapper.DB$.use(DB.scala:305)
        net.liftweb.mapper.MetaMapper$class.save(MetaMapper.scala:577)
        com.agileite.app.model.Item$.save(Item.scala:22)
        net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:84)
        net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:84)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.mapper.Safe$.runSafe(Safe.scala:44)
        net.liftweb.mapper.Mapper$class.runSafe(Mapper.scala:50)
        com.agileite.app.model.Item.runSafe(Item.scala:9)
        net.liftweb.mapper.Mapper$class.save(Mapper.scala:83)
        com.agileite.app.model.Item.save(Item.scala:9)
        com.agileite.app.snippet.Item.checkAndSave$1(Item.scala:24)
        com.agileite.app.snippet.Item$$anonfun$doBind$1$1.apply(Item.scala:
31)
        com.agileite.app.snippet.Item$$anonfun$doBind$1$1.apply(Item.scala:
31)
        net.liftweb.http.S$NFuncHolder$$anonfun$apply$46.apply(S.scala:941)
        net.liftweb.http.S$NFuncHolder$$anonfun$apply$46.apply(S.scala:941)
        scala.List.map(List.scala:805)
        net.liftweb.http.S$NFuncHolder.apply(S.scala:941)
        net.liftweb.http.LiftSession$$anonfun$buildFunc$1$2.apply
(LiftSession.scala:307)
        net.liftweb.http.LiftSession$$anonfun$5$$anonfun$apply$19.apply
(LiftSession.scala:322)
        net.liftweb.http.LiftSession$$anonfun$5$$anonfun$apply$19.apply
(LiftSession.scala:322)
        scala.List.map(List.scala:805)
        net.liftweb.http.LiftSession$$anonfun$5.apply(LiftSession.scala:322)
        net.liftweb.http.LiftSession$$anonfun$5.apply(LiftSession.scala:311)
        scala.List.flatMap(List.scala:1125)
        net.liftweb.http.LiftSession.runParams(LiftSession.scala:311)
        net.liftweb.http.LiftSession.processRequest(LiftSession.scala:449)
        net.liftweb.http.LiftServlet.net$liftweb$http$LiftServlet$
$dispatchStatefulRequest(LiftServlet.scala:244)
        net.liftweb.http.LiftServlet$$anonfun$2.apply(LiftServlet.scala:176)
        net.liftweb.http.LiftServlet$$anonfun$2.apply(LiftServlet.scala:176)
        net.liftweb.http.S$.net$liftweb$http$S$$wrapQuery(S.scala:398)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$_nest2InnerInit$1$
$anonfun$apply$16.apply(S.scala:453)
        net.liftweb.http.S$.net$liftweb$http$S$$doAround(S.scala:372)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$doAround$1.apply
(S.scala:373)
        net.liftweb.mapper.DB$$anon$1.net$liftweb$mapper$DB$$anon$$doWith
(DB.scala:117)
        net.liftweb.mapper.DB$$anon$1$$anonfun$net$liftweb$mapper$DB$$anon$
$doWith$1.apply(DB.scala:118)
        net.liftweb.mapper.DB$$anon$1$$anonfun$net$liftweb$mapper$DB$$anon$
$doWith$1.apply(DB.scala:118)
        net.liftweb.mapper.DB$.use(DB.scala:305)
        net.liftweb.mapper.DB$$anon$1.net$liftweb$mapper$DB$$anon$$doWith
(DB.scala:118)
        net.liftweb.mapper.DB$$anon$1.apply(DB.scala:124)
        net.liftweb.http.S$.net$liftweb$http$S$$doAround(S.scala:373)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$_nest2InnerInit
$1.apply(S.scala:451)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$.net$liftweb$http$S$$_nest2InnerInit(S.scala:450)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$_innerInit$1$$anonfun
$apply$19$$anonfun$apply$20$$anonfun$apply$21$$anonfun$apply$22$
$anonfun$apply$23$$anonfun$apply$24.apply(S.scala:471)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$_innerInit$1$$anonfun
$apply$19$$anonfun$apply$20$$anonfun$apply$21$$anonfun$apply$22$
$anonfun$apply$23.apply(S.scala:470)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$_innerInit$1$$anonfun
$apply$19$$anonfun$apply$20$$anonfun$apply$21$$anonfun$apply$22.apply
(S.scala:469)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$_innerInit$1$$anonfun
$apply$19$$anonfun$apply$20$$anonfun$apply$21.apply(S.scala:468)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$_innerInit$1$$anonfun
$apply$19$$anonfun$apply$20.apply(S.scala:467)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$_innerInit$1$$anonfun
$apply$19.apply(S.scala:466)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$_innerInit$1.apply
(S.scala:465)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$.net$liftweb$http$S$$_innerInit(S.scala:464)
        net.liftweb.http.S$$anonfun$_init$1$$anonfun$apply$27$$anonfun$apply
$28$$anonfun$apply$29$$anonfun$apply$30.apply(S.scala:495)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$$anonfun$_init$1$$anonfun$apply$27$$anonfun$apply
$28$$anonfun$apply$29.apply(S.scala:494)
        net.liftweb.http.RequestVarHandler$.apply(Vars.scala:191)
        net.liftweb.http.S$$anonfun$_init$1$$anonfun$apply$27$$anonfun$apply
$28.apply(S.scala:493)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$$anonfun$_init$1$$anonfun$apply$27.apply(S.scala:
492)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$$anonfun$_init$1.apply(S.scala:491)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$._init(S.scala:490)
        net.liftweb.http.S$.init(S.scala:334)
        net.liftweb.http.LiftServlet.doService(LiftServlet.scala:175)
        net.liftweb.http.LiftServlet$$anonfun$doIt$1$1.apply
(LiftServlet.scala:104)
        net.liftweb.http.LiftServlet$$anonfun$doIt$1$1.apply
(LiftServlet.scala:104)
        net.liftweb.util.TimeHelpers$class.calcTime(TimeHelpers.scala:241)
        net.liftweb.util.Helpers$.calcTime(Helpers.scala:29)
        net.liftweb.util.TimeHelpers$class.logTime(TimeHelpers.scala:250)
        net.liftweb.util.Helpers$.logTime(Helpers.scala:29)
        net.liftweb.http.LiftServlet.doIt$1(LiftServlet.scala:103)
        net.liftweb.http.LiftServlet.service(LiftServlet.scala:112)
        net.liftweb.http.LiftFilterTrait$$anonfun$doFilter$1$$anonfun$apply
$22.apply(LiftServlet.scala:525)
        net.liftweb.http.LiftFilterTrait$$anonfun$doFilter$1$$anonfun$apply
$22.apply(LiftServlet.scala:525)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.URLRewriter$.doWith(Req.scala:390)
        net.liftweb.http.LiftFilterTrait$$anonfun$doFilter$1.apply
(LiftServlet.scala:524)
        net.liftweb.http.LiftFilterTrait$$anonfun$doFilter$1.apply
(LiftServlet.scala:518)
        net.liftweb.http.RequestVarHandler$$anonfun$apply$3$$anonfun$apply$4$
$anonfun$apply$5$$anonfun$apply$6.apply(Vars.scala:197)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.RequestVarHandler$$anonfun$apply$3$$anonfun$apply$4$
$anonfun$apply$5.apply(Vars.scala:196)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.RequestVarHandler$$anonfun$apply$3$$anonfun$apply
$4.apply(Vars.scala:195)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.RequestVarHandler$$anonfun$apply$3.apply(Vars.scala:
194)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.RequestVarHandler$.apply(Vars.scala:193)
        net.liftweb.http.LiftFilterTrait$class.doFilter(LiftServlet.scala:
517)
        net.liftweb.http.LiftFilter.doFilter(LiftServlet.scala:536)
        org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1148)
        org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
387)
        org.mortbay.jetty.security.SecurityHandler.handle
(SecurityHandler.java:216)
        org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
181)
        org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
765)
        org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
        org.mortbay.jetty.handler.ContextHandlerCollection.handle
(ContextHandlerCollection.java:230)
        org.mortbay.jetty.handler.HandlerCollection.handle
(HandlerCollection.java:114)
        org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
        org.mortbay.jetty.Server.handle(Server.java:326)
        org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
534)
        org.mortbay.jetty.HttpConnection$RequestHandler.content
(HttpConnection.java:879)
        org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
        org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
        org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        org.mortbay.io.nio.SelectChannelEndPoint.run
(SelectChannelEndPoint.java:409)
        org.mortbay.thread.QueuedThreadPool$PoolThread.run
(QueuedThreadPool.java:520)

Caught and thrown by:
Message: ERROR 22001: A truncation error was encountered trying to
shrink VARCHAR 'asdf asdfasdf asdfasdf asdfasdf asdfasdf asdfasdf
asdfasdf a&' to length 300.
        org.apache.derby.iapi.error.StandardException.newException(Unknown
Source)
        org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown Source)
        org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
        org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source)
        org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown
Source)
        org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow
(Unknown Source)
        org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore
(Unknown Source)
        org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore
(Unknown Source)
        org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown
Source)
        org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
Source)
        org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
Source)
        org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement
(Unknown Source)
        org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate
(Unknown Source)
        net.liftweb.mapper.MetaMapper$$anonfun$12.prepStat$1(MetaMapper.scala:
642)
        net.liftweb.mapper.MetaMapper$$anonfun$12$$anonfun$19.apply
(MetaMapper.scala:659)
        net.liftweb.mapper.MetaMapper$$anonfun$12$$anonfun$19.apply
(MetaMapper.scala:659)
        net.liftweb.mapper.DB$$anonfun$prepareStatement$2.apply(DB.scala:292)
        net.liftweb.mapper.DB$$anonfun$prepareStatement$2.apply(DB.scala:288)
        net.liftweb.util.TimeHelpers$class.calcTime(TimeHelpers.scala:241)
        net.liftweb.util.Helpers$.calcTime(Helpers.scala:29)
        net.liftweb.mapper.DB$.prepareStatement(DB.scala:288)
        net.liftweb.mapper.MetaMapper$$anonfun$12.apply(MetaMapper.scala:658)
        net.liftweb.mapper.MetaMapper$$anonfun$12.apply(MetaMapper.scala:578)
        net.liftweb.mapper.DB$.use(DB.scala:305)
        net.liftweb.mapper.MetaMapper$class.save(MetaMapper.scala:577)
        com.agileite.app.model.Item$.save(Item.scala:22)
        net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:84)
        net.liftweb.mapper.Mapper$$anonfun$save$1.apply(Mapper.scala:84)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.mapper.Safe$.runSafe(Safe.scala:44)
        net.liftweb.mapper.Mapper$class.runSafe(Mapper.scala:50)
        com.agileite.app.model.Item.runSafe(Item.scala:9)
        net.liftweb.mapper.Mapper$class.save(Mapper.scala:83)
        com.agileite.app.model.Item.save(Item.scala:9)
        com.agileite.app.snippet.Item.checkAndSave$1(Item.scala:24)
        com.agileite.app.snippet.Item$$anonfun$doBind$1$1.apply(Item.scala:
31)
        com.agileite.app.snippet.Item$$anonfun$doBind$1$1.apply(Item.scala:
31)
        net.liftweb.http.S$NFuncHolder$$anonfun$apply$46.apply(S.scala:941)
        net.liftweb.http.S$NFuncHolder$$anonfun$apply$46.apply(S.scala:941)
        scala.List.map(List.scala:805)
        net.liftweb.http.S$NFuncHolder.apply(S.scala:941)
        net.liftweb.http.LiftSession$$anonfun$buildFunc$1$2.apply
(LiftSession.scala:307)
        net.liftweb.http.LiftSession$$anonfun$5$$anonfun$apply$19.apply
(LiftSession.scala:322)
        net.liftweb.http.LiftSession$$anonfun$5$$anonfun$apply$19.apply
(LiftSession.scala:322)
        scala.List.map(List.scala:805)
        net.liftweb.http.LiftSession$$anonfun$5.apply(LiftSession.scala:322)
        net.liftweb.http.LiftSession$$anonfun$5.apply(LiftSession.scala:311)
        scala.List.flatMap(List.scala:1125)
        net.liftweb.http.LiftSession.runParams(LiftSession.scala:311)
        net.liftweb.http.LiftSession.processRequest(LiftSession.scala:449)
        net.liftweb.http.LiftServlet.net$liftweb$http$LiftServlet$
$dispatchStatefulRequest(LiftServlet.scala:244)
        net.liftweb.http.LiftServlet$$anonfun$2.apply(LiftServlet.scala:176)
        net.liftweb.http.LiftServlet$$anonfun$2.apply(LiftServlet.scala:176)
        net.liftweb.http.S$.net$liftweb$http$S$$wrapQuery(S.scala:398)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$_nest2InnerInit$1$
$anonfun$apply$16.apply(S.scala:453)
        net.liftweb.http.S$.net$liftweb$http$S$$doAround(S.scala:372)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$doAround$1.apply
(S.scala:373)
        net.liftweb.mapper.DB$$anon$1.net$liftweb$mapper$DB$$anon$$doWith
(DB.scala:117)
        net.liftweb.mapper.DB$$anon$1$$anonfun$net$liftweb$mapper$DB$$anon$
$doWith$1.apply(DB.scala:118)
        net.liftweb.mapper.DB$$anon$1$$anonfun$net$liftweb$mapper$DB$$anon$
$doWith$1.apply(DB.scala:118)
        net.liftweb.mapper.DB$.use(DB.scala:305)
        net.liftweb.mapper.DB$$anon$1.net$liftweb$mapper$DB$$anon$$doWith
(DB.scala:118)
        net.liftweb.mapper.DB$$anon$1.apply(DB.scala:124)
        net.liftweb.http.S$.net$liftweb$http$S$$doAround(S.scala:373)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$_nest2InnerInit
$1.apply(S.scala:451)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$.net$liftweb$http$S$$_nest2InnerInit(S.scala:450)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$_innerInit$1$$anonfun
$apply$19$$anonfun$apply$20$$anonfun$apply$21$$anonfun$apply$22$
$anonfun$apply$23$$anonfun$apply$24.apply(S.scala:471)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$_innerInit$1$$anonfun
$apply$19$$anonfun$apply$20$$anonfun$apply$21$$anonfun$apply$22$
$anonfun$apply$23.apply(S.scala:470)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$_innerInit$1$$anonfun
$apply$19$$anonfun$apply$20$$anonfun$apply$21$$anonfun$apply$22.apply
(S.scala:469)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$_innerInit$1$$anonfun
$apply$19$$anonfun$apply$20$$anonfun$apply$21.apply(S.scala:468)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$_innerInit$1$$anonfun
$apply$19$$anonfun$apply$20.apply(S.scala:467)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$_innerInit$1$$anonfun
$apply$19.apply(S.scala:466)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$$anonfun$net$liftweb$http$S$$_innerInit$1.apply
(S.scala:465)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$.net$liftweb$http$S$$_innerInit(S.scala:464)
        net.liftweb.http.S$$anonfun$_init$1$$anonfun$apply$27$$anonfun$apply
$28$$anonfun$apply$29$$anonfun$apply$30.apply(S.scala:495)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$$anonfun$_init$1$$anonfun$apply$27$$anonfun$apply
$28$$anonfun$apply$29.apply(S.scala:494)
        net.liftweb.http.RequestVarHandler$.apply(Vars.scala:191)
        net.liftweb.http.S$$anonfun$_init$1$$anonfun$apply$27$$anonfun$apply
$28.apply(S.scala:493)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$$anonfun$_init$1$$anonfun$apply$27.apply(S.scala:
492)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$$anonfun$_init$1.apply(S.scala:491)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.S$._init(S.scala:490)
        net.liftweb.http.S$.init(S.scala:334)
        net.liftweb.http.LiftServlet.doService(LiftServlet.scala:175)
        net.liftweb.http.LiftServlet$$anonfun$doIt$1$1.apply
(LiftServlet.scala:104)
        net.liftweb.http.LiftServlet$$anonfun$doIt$1$1.apply
(LiftServlet.scala:104)
        net.liftweb.util.TimeHelpers$class.calcTime(TimeHelpers.scala:241)
        net.liftweb.util.Helpers$.calcTime(Helpers.scala:29)
        net.liftweb.util.TimeHelpers$class.logTime(TimeHelpers.scala:250)
        net.liftweb.util.Helpers$.logTime(Helpers.scala:29)
        net.liftweb.http.LiftServlet.doIt$1(LiftServlet.scala:103)
        net.liftweb.http.LiftServlet.service(LiftServlet.scala:112)
        net.liftweb.http.LiftFilterTrait$$anonfun$doFilter$1$$anonfun$apply
$22.apply(LiftServlet.scala:525)
        net.liftweb.http.LiftFilterTrait$$anonfun$doFilter$1$$anonfun$apply
$22.apply(LiftServlet.scala:525)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.URLRewriter$.doWith(Req.scala:390)
        net.liftweb.http.LiftFilterTrait$$anonfun$doFilter$1.apply
(LiftServlet.scala:524)
        net.liftweb.http.LiftFilterTrait$$anonfun$doFilter$1.apply
(LiftServlet.scala:518)
        net.liftweb.http.RequestVarHandler$$anonfun$apply$3$$anonfun$apply$4$
$anonfun$apply$5$$anonfun$apply$6.apply(Vars.scala:197)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.RequestVarHandler$$anonfun$apply$3$$anonfun$apply$4$
$anonfun$apply$5.apply(Vars.scala:196)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.RequestVarHandler$$anonfun$apply$3$$anonfun$apply
$4.apply(Vars.scala:195)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.RequestVarHandler$$anonfun$apply$3.apply(Vars.scala:
194)
        net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:65)
        net.liftweb.http.RequestVarHandler$.apply(Vars.scala:193)
        net.liftweb.http.LiftFilterTrait$class.doFilter(LiftServlet.scala:
517)
        net.liftweb.http.LiftFilter.doFilter(LiftServlet.scala:536)
        org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1148)
        org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
387)
        org.mortbay.jetty.security.SecurityHandler.handle
(SecurityHandler.java:216)
        org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
181)
        org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
765)
        org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
        org.mortbay.jetty.handler.ContextHandlerCollection.handle
(ContextHandlerCollection.java:230)
        org.mortbay.jetty.handler.HandlerCollection.handle
(HandlerCollection.java:114)
        org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
        org.mortbay.jetty.Server.handle(Server.java:326)
        org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
534)
        org.mortbay.jetty.HttpConnection$RequestHandler.content
(HttpConnection.java:879)
        org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
        org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
        org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        org.mortbay.io.nio.SelectChannelEndPoint.run
(SelectChannelEndPoint.java:409)
        org.mortbay.thread.QueuedThreadPool$PoolThread.run
(QueuedThreadPool.java:520)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to