Openbravo Issue Tracking System - Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0058301 | Modules | External Data Integration | public | 2025-03-20 17:50 | 2025-03-24 10:19 |
|
Reporter | caristu | |
Assigned To | caristu | |
Priority | high | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | approved |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | |
Support ticket | |
OBNetwork customer | Gold |
Regression introduced in release | |
|
Summary | 0058301: NonUniqueObjectException thrown in EDL non blocking processes under some circumstances |
Description | When executing non blocking EDL processes, there is a random failure that may happen at the beginning of the "non blocking" execution:
2025-03-19 15:23:53,653 [NonBlocking - 0] ERROR org.openbravo.externaldata.integration.process.ProcessRequest - Unhandled exception processing request line
org.hibernate.NonUniqueObjectException: A different object with the same identifier value was already associated with the session : [OBEDL_Process#17B50CF4701240868D03BDF047F9B1F3]
at org.hibernate.engine.internal.StatefulPersistenceContext.checkUniqueness(StatefulPersistenceContext.java:700) ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final] |
Steps To Reproduce | 1) Apply the provided patch which forces an scenario to reproduce the error by not cleaning the SessionHandler in the non-blocking thread
2) Trigger a Push API event
3) Trigger again another Push API event, the error will be thrown |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | defect | 0058306 | | closed | caristu | 25Q1 backport - NonUniqueObjectException thrown in EDL non blocking processes under some circumstances | depends on | defect | 0058307 | | closed | caristu | 24Q4 backport - NonUniqueObjectException thrown in EDL non blocking processes under some circumstances |
|
Attached Files | reproducer.diff (1,586) 2025-03-20 17:50 https://issues.openbravo.com/file_download.php?file_id=21068&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2025-03-20 17:50 | caristu | New Issue | |
2025-03-20 17:50 | caristu | Assigned To | => Triage Platform Conn |
2025-03-20 17:50 | caristu | File Added: reproducer.diff | |
2025-03-20 17:50 | caristu | OBNetwork customer | => No |
2025-03-20 18:01 | hgbot | Merge Request Status | => open |
2025-03-20 18:01 | hgbot | Note Added: 0177036 | |
2025-03-21 10:09 | alostale | OBNetwork customer | No => Gold |
2025-03-21 10:09 | alostale | Severity | minor => major |
2025-03-21 10:10 | alostale | Status | new => scheduled |
2025-03-21 10:10 | alostale | Assigned To | Triage Platform Conn => caristu |
2025-03-21 10:11 | alostale | Issue cloned | 0058306 |
2025-03-21 10:11 | alostale | Relationship added | depends on 0058306 |
2025-03-21 10:11 | alostale | Issue cloned | 0058307 |
2025-03-21 10:11 | alostale | Relationship added | depends on 0058307 |
2025-03-21 10:13 | hgbot | Merge Request Status | open => approved |
2025-03-21 10:13 | hgbot | Note Added: 0177104 | |
2025-03-21 10:13 | hgbot | Resolution | open => fixed |
2025-03-21 10:13 | hgbot | Status | scheduled => closed |
2025-03-21 10:13 | hgbot | Note Added: 0177105 | |
2025-03-21 12:49 | hgbot | Note Added: 0177111 | |
2025-03-24 08:27 | hgbot | Note Added: 0177151 | |
2025-03-24 10:19 | hgbot | Note Added: 0177161 | |
2025-03-24 10:19 | hgbot | Note Added: 0177162 | |
Notes |
|
(0177036)
|
hgbot
|
2025-03-20 18:01
|
|
|
|
(0177104)
|
hgbot
|
2025-03-21 10:13
|
|
|
|
(0177105)
|
hgbot
|
2025-03-21 10:13
|
|
|
|
(0177111)
|
hgbot
|
2025-03-21 12:49
|
|
|
|
(0177151)
|
hgbot
|
2025-03-24 08:27
|
|
|
|
(0177161)
|
hgbot
|
2025-03-24 10:19
|
|
|
|
(0177162)
|
hgbot
|
2025-03-24 10:19
|
|
|