You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@esme.apache.org by "Dick Hirsch (JIRA)" <ji...@apache.org> on 2011/01/19 13:52:43 UTC
[jira] Commented: (ESME-325) Action mailto: failure
[ https://issues.apache.org/jira/browse/ESME-325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983688#action_12983688 ]
Dick Hirsch commented on ESME-325:
----------------------------------
The problem is here:
Mailer.sendMail(From(S.?("custom_mail_from_adress")), Subject(S.?("custom_mail_subject")),
To(who), body)
> Action mailto: failure
> ----------------------
>
> Key: ESME-325
> URL: https://issues.apache.org/jira/browse/ESME-325
> Project: ESME
> Issue Type: Bug
> Components: Server
> Affects Versions: Release 1.1
> Environment: Tried both sbt jetty-run and deployed on tomcat
> Reporter: Eric J. Christeson
> Fix For: Backlog
>
>
> I get the following when I try a mailto: action.
> ERROR - Actor threw an exception
> 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?
> at net.liftweb.http.S$.resourceBundles(S.scala:722)
> at net.liftweb.http.S$.$qmark(S.scala:748)
> at org.apache.esme.actor.HttpSender$.org$apache$esme$actor$HttpSender$$send(HttpSender.scala:58)
> at org.apache.esme.actor.HttpSender$$anonfun$messageHandler$1.apply(HttpSender.scala:41)
> at org.apache.esme.actor.HttpSender$$anonfun$messageHandler$1.apply(HttpSender.scala:39)
> at net.liftweb.actor.LiftActor$class.execTranslate(LiftActor.scala:371)
> at org.apache.esme.actor.HttpSender$.execTranslate(HttpSender.scala:38)
> at net.liftweb.actor.SpecializedLiftActor$class.net$liftweb$actor$SpecializedLiftActor$$proc2(LiftActor.scala:261)
> at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply$mcV$sp(LiftActor.scala:182)
> at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply(LiftActor.scala:182)
> at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply(LiftActor.scala:182)
> at net.liftweb.actor.SpecializedLiftActor$class.around(LiftActor.scala:196)
> at org.apache.esme.actor.HttpSender$.around(HttpSender.scala:38)
> at net.liftweb.actor.SpecializedLiftActor$class.net$liftweb$actor$SpecializedLiftActor$$processMailbox(LiftActor.scala:181)
> at net.liftweb.actor.SpecializedLiftActor$$anonfun$2$$anonfun$apply$mcV$sp$1.apply$mcV$sp(LiftActor.scala:145)
> at net.liftweb.actor.LAScheduler$$anonfun$9$$anon$1$$anon$2.run(LiftActor.scala:51)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> This might be related to this mailing list discussion:
> http://www.mail-archive.com/esme-dev@incubator.apache.org/msg02243.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.