Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0039650 | Openbravo ERP | A. Platform | public | 2018-11-20 10:46 | 2018-11-23 13:22 | |||||||
Reporter | caristu | |||||||||||
Assigned To | caristu | |||||||||||
Priority | immediate | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | 3.0PR18Q4 | Fixed in Version | 3.0PR18Q4 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | alostale | |||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | Packaging and release | |||||||||||
Regression date | 2018-06-25 | |||||||||||
Regression introduced in release | main | |||||||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/cf4416b527d97adba57b97484b66a33284101738 [^] | |||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0039650: Cannot send mail using EmailEventManager | |||||||||||
Description | Cannot send mail using EmailEventManager. A NPE is raised in EmailManager line 225 when executing: transport.sendMessage(message, message.getAllRecipients()); See stack trace: Caused by: java.lang.NullPointerException at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1265) at org.openbravo.erpCommon.utility.poc.EmailManager.sendEmail(EmailManager.java:225) at org.openbravo.erpCommon.utility.poc.EmailManager.sendEmail(EmailManager.java:69) at org.openbravo.email.EmailEventManager.sendEmail(EmailEventManager.java:113) ... 51 more | |||||||||||
Steps To Reproduce | Create an event to send a mail following: http://wiki.openbravo.com/wiki/How_to_send_emails_on_events [^] - Create an email event listener extending EmailEventContentGenerator class. - Run EmailEventManager.sendEmail(String event, final String recipient, Object data) - Check email is not sent | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2018-11-20 10:46 | caristu | New Issue | ||||||||||
2018-11-20 10:46 | caristu | Assigned To | => caristu | |||||||||
2018-11-20 10:46 | caristu | Modules | => Core | |||||||||
2018-11-20 10:46 | caristu | Triggers an Emergency Pack | => No | |||||||||
2018-11-20 10:46 | caristu | Issue generated from | 0039649 | |||||||||
2018-11-20 10:46 | caristu | Relationship added | blocks 0039649 | |||||||||
2018-11-20 10:47 | caristu | Regression level | => Packaging and release | |||||||||
2018-11-20 10:47 | caristu | Regression date | => 2018-06-25 | |||||||||
2018-11-20 10:47 | caristu | Regression introduced in release | => main | |||||||||
2018-11-20 10:47 | caristu | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/cf4416b527d97adba57b97484b66a33284101738 [^] | |||||||||
2018-11-20 11:14 | hgbot | Checkin | ||||||||||
2018-11-20 11:14 | hgbot | Note Added: 0108006 | ||||||||||
2018-11-20 11:14 | hgbot | Status | new => resolved | |||||||||
2018-11-20 11:14 | hgbot | Resolution | open => fixed | |||||||||
2018-11-20 11:14 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR18Q4/rev/874ba7f431a6174e122631e31ab1527c894cb23d [^] | |||||||||
2018-11-20 11:14 | caristu | Review Assigned To | => alostale | |||||||||
2018-11-23 13:22 | alostale | Status | resolved => closed | |||||||||
2018-11-23 13:22 | alostale | Fixed in Version | => 3.0PR18Q4 |
Notes | |||||
|
|||||
|
|