Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0020841 | Openbravo ERP | A. Platform | public | 2012-06-22 14:57 | 2012-06-27 05:29 |
|
Reporter | mtaal | |
Assigned To | mtaal | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0MP13 | Fixed in Version | 3.0MP13 | |
Merge Request Status | |
Review Assigned To | |
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 | 0020841: Prevent null pointer exception in the FIC component |
Description | The FIC component has this code:
if (currentValue != null && currentValue.equals("null")) {
currentValue = null;
}
RequestContext.get().setRequestParameter("inp" + Sqlc.TransformaNombreColumna(columnName),
currentValue.toString());
This will result in a NPE as currentValue can be null, in which case currentValue.toString() will throw a NPE |
Steps To Reproduce | Not easily reproducible, code is clearly wrong |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-06-22 14:57 | mtaal | New Issue | |
2012-06-22 14:57 | mtaal | Assigned To | => mtaal |
2012-06-22 14:57 | mtaal | Modules | => Core |
2012-06-22 14:57 | mtaal | OBNetwork customer | => No |
2012-06-22 23:24 | hgbot | Checkin | |
2012-06-22 23:24 | hgbot | Note Added: 0050049 | |
2012-06-22 23:24 | hgbot | Status | new => resolved |
2012-06-22 23:24 | hgbot | Resolution | open => fixed |
2012-06-22 23:24 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8839b720e9f99e6c6d9dcce061026177b0979911 [^] |
2012-06-25 17:24 | AugustoMauch | Note Added: 0050070 | |
2012-06-25 17:24 | AugustoMauch | Status | resolved => closed |
2012-06-25 17:24 | AugustoMauch | Fixed in Version | => 3.0MP13 |
2012-06-27 05:29 | hudsonbot | Checkin | |
2012-06-27 05:29 | hudsonbot | Note Added: 0050161 | |