Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0036909 | Openbravo ERP | A. Platform | public | 2017-09-21 12:25 | 2017-09-27 16:03 | |||||||
Reporter | javietxe | |||||||||||
Assigned To | alostale | |||||||||||
Priority | normal | Severity | major | Reproducibility | sometimes | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0PR17Q4 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | caristu | |||||||||||
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 | 0036909: SERQA 3303 Error decrypting password | |||||||||||
Description | Sometimes trying to decipher the password taken from the database, we get an error with the stacktrace included in the file CipherError.txt. The stacktrace is taken from the logs of production in BUT | |||||||||||
Steps To Reproduce | Execute attached ConcurrentCrypto test case which uses encryption and decryption concurrently by 4 threads 10 times each. Error ratio is typically 20%-50%. | |||||||||||
Proposed Solution | The problem is caused because a single instance of javax.crypto.Cipher is being used concurrently. Cipher is not thread-safe so it must be ensured same instance is not in use concurrently [1]. [1] https://stackoverflow.com/a/6957496/2834815 [^] | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | CipherError.txt (9,652) 2017-09-21 12:25 https://issues.openbravo.com/file_download.php?file_id=11085&type=bug StringWsClient.java (3,006) 2017-09-21 12:26 https://issues.openbravo.com/file_download.php?file_id=11086&type=bug WsClient.java (4,335) 2017-09-21 12:26 https://issues.openbravo.com/file_download.php?file_id=11087&type=bug ConcurrentCrypto.java (2,097) 2017-09-21 16:55 https://issues.openbravo.com/file_download.php?file_id=11089&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-09-21 12:25 | javietxe | New Issue | ||||||||||
2017-09-21 12:25 | javietxe | Assigned To | => platform | |||||||||
2017-09-21 12:25 | javietxe | File Added: CipherError.txt | ||||||||||
2017-09-21 12:25 | javietxe | Modules | => Core | |||||||||
2017-09-21 12:25 | javietxe | Resolution time | => 1506549600 | |||||||||
2017-09-21 12:25 | javietxe | Triggers an Emergency Pack | => No | |||||||||
2017-09-21 12:26 | javietxe | File Added: StringWsClient.java | ||||||||||
2017-09-21 12:26 | javietxe | File Added: WsClient.java | ||||||||||
2017-09-21 12:28 | javietxe | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=15957#r15957 | |||||||||
2017-09-21 16:35 | alostale | Relationship added | blocks 0034664 | |||||||||
2017-09-21 16:55 | alostale | File Added: ConcurrentCrypto.java | ||||||||||
2017-09-21 17:05 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=15966#r15966 | |||||||||
2017-09-21 17:05 | alostale | Proposed Solution updated | ||||||||||
2017-09-22 12:10 | alostale | Assigned To | platform => alostale | |||||||||
2017-09-22 12:10 | alostale | Review Assigned To | => caristu | |||||||||
2017-09-22 12:10 | alostale | Summary | SERQA 3303 Error decripting password => SERQA 3303 Error decrypting password | |||||||||
2017-09-22 12:16 | hgbot | Checkin | ||||||||||
2017-09-22 12:16 | hgbot | Note Added: 0099477 | ||||||||||
2017-09-22 12:16 | hgbot | Checkin | ||||||||||
2017-09-22 12:16 | hgbot | Note Added: 0099478 | ||||||||||
2017-09-22 12:16 | hgbot | Status | new => resolved | |||||||||
2017-09-22 12:16 | hgbot | Resolution | open => fixed | |||||||||
2017-09-22 12:16 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d0537640099463a01b733f59f32eadb90ddc31e9 [^] | |||||||||
2017-09-25 14:30 | hudsonbot | Checkin | ||||||||||
2017-09-25 14:30 | hudsonbot | Note Added: 0099549 | ||||||||||
2017-09-25 14:30 | hudsonbot | Checkin | ||||||||||
2017-09-25 14:30 | hudsonbot | Note Added: 0099550 | ||||||||||
2017-09-27 10:13 | hgbot | Checkin | ||||||||||
2017-09-27 10:13 | hgbot | Note Added: 0099618 | ||||||||||
2017-09-27 10:14 | caristu | Note Added: 0099619 | ||||||||||
2017-09-27 10:14 | caristu | Status | resolved => closed | |||||||||
2017-09-27 10:14 | caristu | Fixed in Version | => 3.0PR17Q4 | |||||||||
2017-09-27 16:03 | hudsonbot | Checkin | ||||||||||
2017-09-27 16:03 | hudsonbot | Note Added: 0099634 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|