Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||||||||||||||||||||||||||||||
| View Issue Details | |||||||||||||||||||||||||||||||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||||||||||||||||||||||||||||
| 0039576 | Openbravo ERP | A. Platform | public | 2018-11-01 08:28 | 2018-12-11 20:22 | ||||||||||||||||||||||||||||||||||||||||||
| Reporter | alostale | ||||||||||||||||||||||||||||||||||||||||||||||
| Assigned To | alostale | ||||||||||||||||||||||||||||||||||||||||||||||
| Priority | urgent | Severity | major | Reproducibility | always | ||||||||||||||||||||||||||||||||||||||||||
| Status | closed | Resolution | fixed | ||||||||||||||||||||||||||||||||||||||||||||
| Platform | OS | 5 | OS Version | ||||||||||||||||||||||||||||||||||||||||||||
| Product Version | |||||||||||||||||||||||||||||||||||||||||||||||
| Target Version | Fixed in Version | 3.0PR19Q1 | |||||||||||||||||||||||||||||||||||||||||||||
| Merge Request Status | |||||||||||||||||||||||||||||||||||||||||||||||
| Review Assigned To | caristu | ||||||||||||||||||||||||||||||||||||||||||||||
| OBNetwork customer | No | ||||||||||||||||||||||||||||||||||||||||||||||
| Web browser | |||||||||||||||||||||||||||||||||||||||||||||||
| Modules | Core | ||||||||||||||||||||||||||||||||||||||||||||||
| Support ticket | |||||||||||||||||||||||||||||||||||||||||||||||
| Regression level | |||||||||||||||||||||||||||||||||||||||||||||||
| Regression date | |||||||||||||||||||||||||||||||||||||||||||||||
| Regression introduced in release | |||||||||||||||||||||||||||||||||||||||||||||||
| Regression introduced by commit | |||||||||||||||||||||||||||||||||||||||||||||||
| Triggers an Emergency Pack | No | ||||||||||||||||||||||||||||||||||||||||||||||
| Summary | 0039576: JDK 9+: cannot send email | ||||||||||||||||||||||||||||||||||||||||||||||
| Description | It is not possible to send emails using Java 9, 10 or 11. | ||||||||||||||||||||||||||||||||||||||||||||||
| 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) | ||||||||||||||||||||||||||||||||||||||||||||||
| Proposed Solution | When running on Java 9 or 10, this issue can be workarrounded by adding --add-modules=java.se.ee JVM argument. On Java 11, there is no workaround. | ||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information | |||||||||||||||||||||||||||||||||||||||||||||||
| Tags | No tags attached. | ||||||||||||||||||||||||||||||||||||||||||||||
| Relationships |
| ||||||||||||||||||||||||||||||||||||||||||||||
| Attached Files | |||||||||||||||||||||||||||||||||||||||||||||||
| Issue History | |||||||||||||||||||||||||||||||||||||||||||||||
| Date Modified | Username | Field | Change | ||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 08:28 | alostale | New Issue | |||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 08:28 | alostale | Assigned To | => alostale | ||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 08:28 | alostale | OBNetwork customer | => No | ||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 08:28 | alostale | Modules | => Core | ||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 08:28 | alostale | Triggers an Emergency Pack | => No | ||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 08:29 | alostale | Review Assigned To | => caristu | ||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 08:30 | alostale | Status | new => scheduled | ||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 08:34 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=17892#r17892 | ||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 08:36 | alostale | Relationship added | related to 0038196 | ||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 09:43 | alostale | Relationship added | depends on 0038130 | ||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 10:03 | alostale | Proposed Solution updated | |||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 11:26 | hgbot | Checkin | |||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 11:26 | hgbot | Note Added: 0107707 | |||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 11:26 | hgbot | Status | scheduled => resolved | ||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 11:26 | hgbot | Resolution | open => fixed | ||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 11:26 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/23b23158022977829e4eb1c88b202fa4b4a279b5 [^] | ||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 12:21 | alostale | Description Updated | bug_revision_view_page.php?rev_id=17894#r17894 | ||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 12:21 | alostale | Proposed Solution updated | |||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 12:21 | alostale | Summary | JDK 10+: cannot send email => JDK 9+: cannot send email | ||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-01 12:22 | alostale | Relationship added | related to 0037083 | ||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-05 16:28 | caristu | Relationship added | related to 0037064 | ||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-06 17:05 | egoitz | Issue Monitored: egoitz | |||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-06 17:38 | anderaranguren | Issue Monitored: anderaranguren | |||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-07 21:40 | galderromo | Issue Monitored: galderromo | |||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-08 19:34 | caristu | Note Added: 0107814 | |||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-08 19:34 | caristu | Status | resolved => closed | ||||||||||||||||||||||||||||||||||||||||||||
| 2018-11-08 19:34 | caristu | Fixed in Version | => 3.0PR19Q1 | ||||||||||||||||||||||||||||||||||||||||||||
| 2018-12-11 20:22 | hudsonbot | Checkin | |||||||||||||||||||||||||||||||||||||||||||||
| 2018-12-11 20:22 | hudsonbot | Note Added: 0108451 | |||||||||||||||||||||||||||||||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||