Uploaded image for project: 'Lucee Development'
  1. LDEV-627

Sending an email fails silently with 5.0.0.98

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.0.0.98, 5.0.0.115
    • Fix Version/s: 5.0.0.118
    • Labels:
    • Environment:

      Debian 8.2
      Apache 2.4.10-10+deb8u3
      Tomcat 8.0.14-1
      JDK 7u85-2.6.1-6+deb8u1
      Lucee 5.0.0.98-BETA (war)

      Description

      I'm using a local SMTP server, and sending using a function which include this tag:

      <cfmail to="#ARGUMENTS.to#" from="#ARGUMENTS.from#" replyto="#ARGUMENTS.replyTo#" bcc="#mailBcc#" subject="#subject#">
      TEST
      </cfmail>
      

      I don't get any error from the mail server, Lucee or Apache. However, Tomcat is showing this.

      java.io.NotSerializableException: sun.nio.cs.UTF_8
              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183)
              at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547)
              at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508)
              at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)
              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
              at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547)
              at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508)
              at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)
              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
              at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
              at lucee.runtime.spooler.SpoolerEngineImpl.store(SpoolerEngineImpl.java:223)
              at lucee.runtime.spooler.SpoolerEngineImpl.add(SpoolerEngineImpl.java:145)
              at lucee.runtime.net.smtp.SMTPClient.send(SMTPClient.java:669)
              at lucee.runtime.tag.Mail.doEndTag(Mail.java:537)
              at component.message_cfc$cf.udfCall1(/var/www/--------/component/Message.cfc:101)
              at component.message_cfc$cf.udfCall(/var/www/--------/component/Message.cfc)
              at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:105)
              at lucee.runtime.type.UDFImpl._call(UDFImpl.java:336)
              at lucee.runtime.type.UDFImpl.call(UDFImpl.java:224)
              at lucee.runtime.ComponentImpl._call(ComponentImpl.java:697)
              at lucee.runtime.ComponentImpl._call(ComponentImpl.java:580)
              at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1902)
              at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:751)
              at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1591)
              at webroot._public.assets.cfm.contact_us_cfm$cf.call(/var/www/--------/contact_us.cfm:24)
              at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:910)
              at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:825)
              at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:820)
              at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:811)
              at webroot._public.index_cfm$cf.call(/var/www/--------/index.cfm:91)
              at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:910)
              at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:825)
              at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:820)
              at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:225)
              at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:42)
              at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2267)
              at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2259)
              at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2227)
              at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:608)
              at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:103)
              at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
              at mod_cfml.core.invoke(core.java:152)
              at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
              at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:676)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537)
              at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:827)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)
              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                michaeloffner Michael Offner
                Reporter:
                Myrandor Daniel C
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: