Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0037895 | Openbravo ERP | A. Platform | public | 2018-02-13 10:16 | 2018-02-13 13:32 | |||||||
| Reporter | AugustoMauch | |||||||||||
| Assigned To | alostale | |||||||||||
| Priority | immediate | Severity | minor | Reproducibility | have not tried | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | 3.0PR17Q4.1 | Fixed in Version | 3.0PR17Q4.1 | |||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | No | |||||||||||
| Web browser | ||||||||||||
| Modules | Core | |||||||||||
| Support ticket | ||||||||||||
| Regression level | Production - Confirmed Stable | |||||||||||
| Regression date | 2016-04-26 | |||||||||||
| Regression introduced in release | 3.0PR17Q3 | |||||||||||
| Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/dafb9b081971 [^] | |||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0037895: ConcurrentModificationException when working with SessionListener.activeHttpSessions | |||||||||||
| Description | The following exception has been found in a customer log: b45df575 2018-02-12 16:53:13,566 [ajp-bio-127.0.0.1-8009-exec-54] ERROR org.openbravo.erpCommon.security.SessionListener - Error getting active session from context java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:923) at java.util.HashMap$KeyIterator.next(HashMap.java:957) at org.openbravo.erpCommon.security.SessionListener.getActiveSession(SessionListener.java:178) at org.openbravo.erpCommon.obps.ActivationKey.shouldDeactivateSession(ActivationKey.java:1175) at org.openbravo.erpCommon.obps.ActivationKey.deactivateTimeOutSessions(ActivationKey.java:1131) at org.openbravo.erpCommon.obps.ActivationKey.checkOPSLimitations(ActivationKey.java:976) at org.openbravo.erpCommon.obps.ActivationKey.checkOPSLimitations(ActivationKey.java:923) The access to the SessionListener.activeHttpSessions Set is not being properly managed, as it is possible to add/remove elements from it while it is being iterated. | |||||||||||
| Steps To Reproduce | - | |||||||||||
| Proposed Solution | ||||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2018-02-13 10:23 | alostale | Type | defect => backport | |||||||||
| 2018-02-13 10:23 | alostale | Target Version | => 3.0PR17Q4.1 | |||||||||
| 2018-02-13 12:57 | hgbot | Checkin | ||||||||||
| 2018-02-13 12:57 | hgbot | Note Added: 0102353 | ||||||||||
| 2018-02-13 12:57 | hgbot | Status | scheduled => resolved | |||||||||
| 2018-02-13 12:57 | hgbot | Resolution | open => fixed | |||||||||
| 2018-02-13 12:57 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR17Q4.1/rev/eadd42437276a775bf4516aa98765ee1d46eff31 [^] | |||||||||
| 2018-02-13 13:32 | AugustoMauch | Note Added: 0102359 | ||||||||||
| 2018-02-13 13:32 | AugustoMauch | Status | resolved => closed | |||||||||
| 2018-02-13 13:32 | AugustoMauch | Fixed in Version | => 3.0PR17Q4.1 | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||