Project:
View Revisions: Issue #39576 | [ Back to Issue ] | ||
Summary | 0039576: JDK 9+: cannot send email | ||
Revision | 2018-11-01 12:21 by alostale | ||
Description | It is not possible to send emails using Java 9, 10 or 11. | ||
Revision | 2018-11-01 11:26 by alostale | ||
Description | It is not possible to send emails using Java 10 or 11. | ||
Revision | 2018-11-01 08:34 by alostale | ||
Steps To Reproduce | In an instance running on Java 10: 1. Open Client window and configure Email settings tabs 2. Create and complete a Sales Invoice 3. Click on Email toolbar button and send it -> ERROR: "An unexpected error has occurred" In logs: java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport at javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:179) at javax.activation.CommandMap.getDefaultCommandMap(CommandMap.java:85) at javax.activation.DataHandler.getCommandMap(DataHandler.java:167) at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:629) at javax.activation.DataHandler.writeTo(DataHandler.java:329) at javax.mail.internet.MimeUtility.getEncoding(MimeUtility.java:340) at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1573) at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1172) at javax.mail.internet.MimeMultipart.updateHeaders(MimeMultipart.java:522) at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1531) at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:2271) at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:2231) at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1910) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1315) at org.openbravo.erpCommon.utility.poc.EmailManager.sendEmail(EmailManager.java:224) |
||
Revision | 2018-11-01 08:30 by alostale | ||
Steps To Reproduce | 1. Open Client window and configure Email settings tabs 2. Create and complete a Sales Invoice 3. Click on Email toolbar button and send it -> ERROR: "An unexpected error has occurred" In logs: java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport at javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:179) at javax.activation.CommandMap.getDefaultCommandMap(CommandMap.java:85) at javax.activation.DataHandler.getCommandMap(DataHandler.java:167) at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:629) at javax.activation.DataHandler.writeTo(DataHandler.java:329) at javax.mail.internet.MimeUtility.getEncoding(MimeUtility.java:340) at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1573) at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1172) at javax.mail.internet.MimeMultipart.updateHeaders(MimeMultipart.java:522) at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1531) at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:2271) at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:2231) at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1910) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1315) at org.openbravo.erpCommon.utility.poc.EmailManager.sendEmail(EmailManager.java:224) |
Copyright © 2000 - 2009 MantisBT Group |