Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0040605 | Openbravo ERP | A. Platform | public | 2019-04-12 09:20 | 2019-04-16 08:39 | |||||||
| Reporter | alostale | |||||||||||
| Assigned To | jarmendariz | |||||||||||
| Priority | immediate | Severity | minor | Reproducibility | have not tried | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | 3.0PR19Q1.1 | Fixed in Version | 3.0PR19Q1.1 | |||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | alostale | |||||||||||
| OBNetwork customer | No | |||||||||||
| Web browser | ||||||||||||
| Modules | Core | |||||||||||
| Support ticket | ||||||||||||
| Regression level | Production - Confirmed Stable | |||||||||||
| Regression date | 2018-07-11 | |||||||||||
| Regression introduced in release | 3.0PR18Q4 | |||||||||||
| Regression introduced by commit | http://code.openbravo.com/erp/devel/pi/rev/cf4416b527d97adba57b97484b66a33284101738 [^] | |||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0040605: NPE sending email if timeout not set | |||||||||||
| Description | If email configuration does not define a timeout, a NPE is thrown when trying to send email. | |||||||||||
| Steps To Reproduce | 1. Create an Email Configuration for current Client -> do not set Smtp Connection Timeout field 2. Open any Sales Invoice 3. Click on the email toolbar button and click on Send after populating mandatory fields -> ERROR: * In UI "Problems while sending the email" appears * In openbravo.log: 2019-04-12 09:10:26,328 [http-nio-8080-exec-9] ERROR org.openbravo.erpCommon.utility.reporting.printing.PrintInvoices - error sending mail java.lang.NullPointerException: null at org.openbravo.erpCommon.utility.poc.EmailManager.sendEmail(EmailManager.java:67) ~[classes/:?] at org.openbravo.erpCommon.utility.reporting.printing.PrintController.sendDocumentEmail(PrintController.java:821) [classes/:?] at org.openbravo.erpCommon.utility.reporting.printing.PrintController.post(PrintController.java:416) [classes/:?] at org.openbravo.erpCommon.utility.reporting.printing.PrintInvoices.doPost(PrintInvoices.java:57) [classes/:?] ... | |||||||||||
| Proposed Solution | ||||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2019-04-12 09:21 | alostale | Type | defect => backport | |||||||||
| 2019-04-12 09:21 | alostale | Target Version | => 3.0PR19Q1.1 | |||||||||
| 2019-04-15 11:01 | hgbot | Checkin | ||||||||||
| 2019-04-15 11:01 | hgbot | Note Added: 0111123 | ||||||||||
| 2019-04-15 11:01 | hgbot | Status | scheduled => resolved | |||||||||
| 2019-04-15 11:01 | hgbot | Resolution | open => fixed | |||||||||
| 2019-04-15 11:01 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR19Q1.1/rev/b2200ff8f174a8196c62a383878a5ff6b12da1d1 [^] | |||||||||
| 2019-04-15 12:10 | jarmendariz | Review Assigned To | => alostale | |||||||||
| 2019-04-16 08:39 | alostale | Note Added: 0111162 | ||||||||||
| 2019-04-16 08:39 | alostale | Status | resolved => closed | |||||||||
| 2019-04-16 08:39 | alostale | Fixed in Version | => 3.0PR19Q1.1 | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||