esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ethan Jewett <>
Subject Re: Problem with using S.? in RestAPI
Date Fri, 04 Dec 2009 12:44:41 GMT
No, please don't delete them. They are central to the way the Apis
work. Either they were introduced in a recent checkin, in which case
just the offending change should be backed out, or the bug is
somewhere else.


On Friday, December 4, 2009, Richard Hirsch <> wrote:
> I know that David just fixed this error in the test suite but now we
> have the same in the RestAPI.
> <pre>java.lang.IllegalStateException: Attempted to use resource
> bundles outside of an initialized S scope. S only usable when
> initialized, such as during request processing. Did you call S.? from
> Boot?
>         net.liftweb.http.S$.resourceBundles(S.scala:612)
>         net.liftweb.http.S$.$qmark(S.scala:638)
>         net.liftweb.http.S$.$qmark(S.scala:656)
>         org.apache.esme.api.RestAPI$.sendMsg(RestAPI.scala:290)
>         org.apache.esme.api.RestAPI$$anonfun$sendMsgWithToken$1$$anonfun$apply$61$$anonfun$apply$62.apply(RestAPI.scala:285)
> Is there a way to fix this problem or should I delete all the S.? from
> the Scala files that represent our various APIs?
> D.

View raw message