Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0045730 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | critical | unable to reproduce | 2021-01-13 18:11 | 2021-02-04 06:39 | |||
Reporter | cbrazier | View Status | public | |||||
Assigned To | Retail | |||||||
Priority | high | Resolution | no change required | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | PostgreSQL | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | RR20Q3.1 | SCM revision | ||||||
Review Assigned To | marvintm | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0045730: Error While Importing POS Data : java.util.ConcurrentModificationException | |||||||
Description | It happens sometimes that an order is synchronized 2 times in the backend. In that case, an Error While Importing is raised with the following stack trace java.util.ConcurrentModificationException at java.base/java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:719) at java.base/java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:751) at java.base/java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:749) at org.hibernate.internal.util.collections.IdentityMap.entryArray(IdentityMap.java:145) at org.hibernate.internal.util.collections.IdentityMap.concurrentEntries(IdentityMap.java:57) at org.hibernate.event.internal.AbstractFlushingEventListener.prepareCollectionFlushes(AbstractFlushingEventListener.java:196) at org.hibernate.event.internal.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:87) at org.hibernate.event.internal.DefaultDirtyCheckEventListener.onDirtyCheck(DefaultDirtyCheckEventListener.java:35) at org.hibernate.internal.SessionImpl.isDirty(SessionImpl.java:1461) at org.openbravo.dal.core.SessionHandler.isSessionDirty(SessionHandler.java:196) at org.openbravo.dal.service.OBDal.isSessionDirty(OBDal.java:220) at org.openbravo.dal.service.OBDal.flush(OBDal.java:262) at org.openbravo.retail.discounts.coupons.otf.OrderLoaderHookOTFCoupons.exec(OrderLoaderHookOTFCoupons.java:78) at org.openbravo.retail.discounts.coupons.otf.OrderLoaderHookOTFCoupons$Proxy$_$$_WeldClientProxy.exec(Unknown Source) at org.openbravo.retail.posterminal.OrderLoader.executeHooks(OrderLoader.java:619) at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:530) at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:201) at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:156) at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:88) at org.openbravo.mobile.core.process.MobileImportEntryProcessorRunnable.processEntry(MobileImportEntryProcessorRunnable.java:54) at org.openbravo.retail.posterminal.importprocess.OrderImportEntryProcessor$OrderLoaderRunnable.processEntry(OrderImportEntryProcessor.java:64) at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:372) at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:293) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) | |||||||
Steps To Reproduce | Unable to reproduce | |||||||
Tags | NOR | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0125965) marvintm (manager) 2021-02-04 06:39 |
The problem seems to be related to custom code in the client environment. |
Issue History | |||
Date Modified | Username | Field | Change |
2021-01-13 18:11 | cbrazier | New Issue | |
2021-01-13 18:11 | cbrazier | Assigned To | => Retail |
2021-01-13 18:11 | cbrazier | Triggers an Emergency Pack | => No |
2021-01-14 08:47 | rafaroda | Tag Attached: NOR | |
2021-01-14 08:48 | rafaroda | Resolution time | => 1611097200 |
2021-01-14 08:48 | rafaroda | Issue Monitored: rafaroda | |
2021-02-04 06:39 | marvintm | Review Assigned To | => marvintm |
2021-02-04 06:39 | marvintm | Note Added: 0125965 | |
2021-02-04 06:39 | marvintm | Status | new => closed |
2021-02-04 06:39 | marvintm | Resolution | open => no change required |
Copyright © 2000 - 2009 MantisBT Group |