Details

    • Type: Bug
    • Status: Deployed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.0.43
    • Fix Version/s: 5.0.0.83
    • Labels:
    • Environment:

      OS

      Description

      Sending an email with pre-populated server info seems to create an error. The following code to send an email fails silently:

      <cfmail  
              from   = "mark.drew@gmail.com"
              to    = "mark.drew@gmail.com"
              server="smtp.gmail.com"
              username="mark.drew@gmail.com"
              password=""
              port="465" 
              usetls="true"
              useSSL="yes" 
              
              type="html"
              subject="This will fail"
              >
        Hello world!
      </cfmail>
      

      Looking in the console we get the following error:

      java.io.NotSerializableException: sun.nio.cs.UTF_8
      	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
      	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
      	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
      	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
      	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
      	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
      	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
      	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
      	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
      	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
      	at lucee.runtime.spooler.SpoolerEngineImpl.store(SpoolerEngineImpl.java:221)
      	at lucee.runtime.spooler.SpoolerEngineImpl.add(SpoolerEngineImpl.java:143)
      	at lucee.runtime.net.smtp.SMTPClient.send(SMTPClient.java:657)
      	at lucee.runtime.tag.Mail.doEndTag(Mail.java:537)
      	at mailing.index_cfm$cf.call(/Users/markdrew/Servers/lucee-5.0.0.43-express/webapps/ROOT/mailing/index.cfm:15)
      	at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:901)
      	at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:844)
      	at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:812)
      	at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:226)
      	at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:42)
      	at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2240)
      	at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2232)
      	at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2204)
      	at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:570)
      	at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:100)
      	at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:60)
      	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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537)
      	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1085)
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
      	at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1556)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1513)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	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:
                cybersonic Mark Drew
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: