Openbravo Issue Tracking System - Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0038591 | Modules | External Data Integration | public | 2018-05-22 11:44 | 2018-11-16 07:50 |
Reporter | javietxe | ||||
Assigned To | AugustoMauch | ||||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Regression date | |||||
Regression introduced by commit | |||||
Regression level | |||||
Review Assigned To | |||||
Support ticket | |||||
OBNetwork customer | |||||
Regression introduced in release | |||||
Summary | 0038591: SERQA 197 Int: No error detail If NullPointerException happens in itemProcessor.processItem | ||||
Description | If a NullPointerException happens in itemProcessor.processItem, the EDL is saved in error but there is not any detail of the error in the requestLine. This is because the error is saved doing e.getMessage() and in case of NullPointerException there is not message. | ||||
Steps To Reproduce | Implement an itemProcessor throwing a NullPointerException. No message will be stored in the RequestLine in error. | ||||
Proposed Solution | Store the whole exception. Being e the exception: Instead of saveFailedItem(item, e.getMessage()); Fix: StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); e.printStackTrace(pw); String error = sw.toString(); saveFailedItem(item, error); | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2018-05-22 11:44 | javietxe | New Issue | |||
2018-05-22 11:44 | javietxe | Assigned To | => platform | ||
2018-05-22 11:44 | javietxe | Resolution time | => 1528149600 | ||
2018-06-18 18:23 | hgbot | Checkin | |||
2018-06-18 18:23 | hgbot | Note Added: 0105198 | |||
2018-06-18 18:23 | hgbot | Status | new => resolved | ||
2018-06-18 18:23 | hgbot | Resolution | open => fixed | ||
2018-06-18 18:23 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/e32866258863777e7844e870be26019e14d6148d [^] | ||
2018-06-18 18:40 | AugustoMauch | Status | resolved => new | ||
2018-06-18 18:40 | AugustoMauch | Resolution | fixed => open | ||
2018-06-18 18:40 | AugustoMauch | Note Deleted: 0105198 | |||
2018-06-19 11:57 | AugustoMauch | Assigned To | platform => AugustoMauch | ||
2018-07-04 10:28 | AugustoMauch | Resolution time | 1528149600 => | ||
2018-07-04 10:28 | AugustoMauch | Type | defect => design defect | ||
2018-07-04 10:29 | AugustoMauch | Note Added: 0105569 | |||
2018-11-12 13:47 | javietxe | Note Added: 0107851 | |||
2018-11-12 13:48 | javietxe | Note Edited: 0107851 | bug_revision_view_page.php?bugnote_id=0107851#r17908 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|