Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0015360 | Openbravo ERP | A. Platform | public | 2010-12-02 17:59 | 2010-12-30 13:13 |
|
Reporter | iperdomo | |
Assigned To | iperdomo | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | 2.6.35-gentoo-r12 |
Product Version | 2.50MP24 | |
Target Version | 2.50MP25 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0015360: ModelProvider.getTable() throws a NPE when using it after tomcat startup |
Description | The Hash holding a Map<tableName, Table> in ModelProvider is cleared at the end of initialize method.
If in the application you use ModelProvider.getInstance().getTable("someTable") throws a NPE, because the cache is null |
Steps To Reproduce | |
Proposed Solution | Don't clear the cache Map<tableName, Table> at the end of initialize().
Note: The difference in memory usage is just around 1MB. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-12-02 17:59 | iperdomo | New Issue | |
2010-12-02 17:59 | iperdomo | Assigned To | => iperdomo |
2010-12-02 17:59 | iperdomo | Modules | => Core |
2010-12-02 17:59 | iperdomo | Status | new => scheduled |
2010-12-02 17:59 | iperdomo | fix_in_branch | => pi |
2010-12-02 18:03 | hgbot | Checkin | |
2010-12-02 18:03 | hgbot | Note Added: 0033017 | |
2010-12-02 18:03 | hgbot | Status | scheduled => resolved |
2010-12-02 18:03 | hgbot | Resolution | open => fixed |
2010-12-02 18:03 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a9676a2a9f3611c3a6a0b53bb625e0735d256bd3 [^] |
2010-12-02 22:39 | hudsonbot | Checkin | |
2010-12-02 22:39 | hudsonbot | Note Added: 0033022 | |
2010-12-14 09:51 | hgbot | Checkin | |
2010-12-14 09:51 | hgbot | Note Added: 0033147 | |
2010-12-14 09:51 | marvintm | Note Added: 0033148 | |
2010-12-14 09:51 | marvintm | Status | resolved => closed |
2010-12-16 22:16 | anonymous | sf_bug_id | 0 => 3138803 |
2010-12-30 13:13 | hudsonbot | Checkin | |
2010-12-30 13:13 | hudsonbot | Note Added: 0033439 | |