Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0022572 | Openbravo ERP | A. Platform | public | 2012-12-13 18:45 | 2012-12-17 13:34 |
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.0MP19 | Fixed in Version | 3.0MP19 | ||
Merge Request Status | |||||
Review Assigned To | AugustoMauch | ||||
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 | 0022572: Invalid preference value results in stack overflow when reading properties | ||||
Description | When having a preference value which only consists of a [ (a bracket) then you get a stackoverflow exception. a88e7e7a 2012-12-13 17:34:30,869 [ajp-8008-2] ERROR org.openbravo.client.application.PropertiesComponent - null id: OBUIAPP_RecentViewList value: [ java.lang.StackOverflowError at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:86) at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:96) at org.codehaus.jettison.json.JSONTokener.nextValue(JSONTokener.java:313) at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:110) at org.codehaus.jettison.json.JSONTokener.nextValue(JSONTokener.java:313) at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:110) at org.codehaus.jettison.json.JSONTokener.nextValue(JSONTokener.java:313) at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:110) at org.codehaus.jettison.json.JSONTokener.nextValue(JSONTokener.java:313) at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:110) at org.codehaus.jettison.json.JSONTokener.nextValue(JSONTokener.java:313) at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:110) at org.codehaus.jettison.json.JSONTokener.nextValue(JSONTokener.java:313) at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:110) at org.codehaus.jettison.json.JSONTokener.nextValue(JSONTokener.java:313) at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:110) at org.codehaus.jettison.json.JSONTokener.nextValue(JSONTokener.java:313) at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:110) at org.codehaus.jettison.json.JSONTokener.nextValue(JSONTokener.java:313) at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:110) at org.codehaus.jettison.json.JSONTokener.nextValue(JSONTokener.java:313) at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:110) at org.codehaus.jettison.json.JSONTokener.nextValue(JSONTokener.java:313) at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:110) at org.codehaus.jettison.json.JSONTokener.nextValue(JSONTokener.java:313) at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:110) at org.codehaus.jettison.json.JSONTokener.nextValue(JSONTokener.java:313) at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:110) at org.codehaus.jettison.json.JSONTokener.nextValue(JSONTokener.java:313) at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:110) at org.codehaus.jettison.json.JSONTokener.nextValue(JSONTokener.java:313) at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:110) at org.codehaus.jettison.json.JSONTokener.nextValue(JSONTokener.java:313) at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:110) at org.codehaus.jettison.json.JSONTokener.nextValue(JSONTokener.java:313) | ||||
Steps To Reproduce | Goto the preference window and create a preference, for example recentview with as value only a [ Restart or relogin | ||||
Proposed Solution | This should be made robust so that the system ignores the preference and reports it in the log. The attached diff solves it. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=5831&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-12-13 18:45 | mtaal | New Issue | |||
2012-12-13 18:45 | mtaal | Assigned To | => mtaal | ||
2012-12-13 18:45 | mtaal | File Added: stack_overflow.diff | |||
2012-12-13 18:45 | mtaal | Modules | => Core | ||
2012-12-13 18:45 | mtaal | OBNetwork customer | => No | ||
2012-12-13 18:45 | mtaal | Triggers an Emergency Pack | => No | ||
2012-12-13 18:46 | mtaal | Review Assigned To | => AugustoMauch | ||
2012-12-13 19:01 | hgbot | Checkin | |||
2012-12-13 19:01 | hgbot | Note Added: 0054924 | |||
2012-12-13 19:01 | hgbot | Status | new => resolved | ||
2012-12-13 19:01 | hgbot | Resolution | open => fixed | ||
2012-12-13 19:01 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2de5e4f708d8b97aeaff71f13f6c80ae27b528ae [^] | ||
2012-12-14 12:16 | AugustoMauch | Note Added: 0054944 | |||
2012-12-14 12:16 | AugustoMauch | Status | resolved => closed | ||
2012-12-14 12:16 | AugustoMauch | Fixed in Version | => 3.0MP19 | ||
2012-12-17 13:34 | hudsonbot | Checkin | |||
2012-12-17 13:34 | hudsonbot | Note Added: 0055007 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|