java.io.UnsupportedEncodingException: ${mail.encoding}

alfresco.com | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Sending HTML in email

    Oracle Community | 9 years ago | 843834
    java.io.UnsupportedEncodingException: text/html
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.UnsupportedEncodingException

      ${mail.encoding}

      at com.sun.mail.smtp.SMTPTransport.sendMessage()
    2. JavaMail API (compat)
      SMTPTransport.sendMessage
      1. com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:566)
      1 frame
    3. Spring Context Support
      JavaMailSenderImpl.send
      1. org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:391)
      2. org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:335)
      3. org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:350)
      4. org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:339)
      4 frames
    4. org.alfresco.web
      BaseDialogBean$1.execute
      1. org.alfresco.web.bean.TemplateMailHelperBean.notifyUser(TemplateMailHelperBean.java:178)
      2. org.alfresco.web.bean.wizard.InviteUsersWizard.finishImpl(InviteUsersWizard.java:264)
      3. org.alfresco.web.bean.dialog.BaseDialogBean$1.execute(BaseDialogBean.java:122)
      4. org.alfresco.web.bean.dialog.BaseDialogBean$1.execute(BaseDialogBean.java:119)
      4 frames
    5. org.alfresco.repo
      RetryingTransactionHelper.doInTransaction
      1. org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:241)
      2. org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:171)
      2 frames
    6. org.alfresco.web
      WizardManager.finish
      1. org.alfresco.web.bean.dialog.BaseDialogBean.finish(BaseDialogBean.java:128)
      2. org.alfresco.web.bean.wizard.WizardManager.finish(WizardManager.java:540)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    8. Impl
      ActionListenerImpl.processAction
      1. org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)
      2. org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)
      2 frames
    9. JavaEE 7
      UIViewRoot.processApplication
      1. javax.faces.component.UICommand.broadcast(UICommand.java:109)
      2. javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)
      3. javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)
      3 frames
    10. Impl
      LifecycleImpl.execute
      1. org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
      2. org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
      3. org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
      3 frames
    11. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
      1 frame
    12. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      2 frames
    13. org.alfresco.web
      AuthenticationFilter.doFilter
      1. org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:81)
      1 frame
    14. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      8 frames
    15. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      4 frames
    16. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
      1 frame
    17. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame