Abnormal Behavior of POS Application When Exchange Rate Expires: POS Client Application Cannot Start and/or Affected Currency Cannot Be Used
(Doc ID 1980766.1)
Last updated on FEBRUARY 03, 2019
Applies to:
Oracle Retail Point-of-Service - Version 14.0 and laterInformation in this document applies to any platform.
Symptoms
Abnormal behavior occurs in the Oracle Retail Point-of-Service (ORPOS) application when the exchange rate of a foreign currency expires. When this happens, the POS client application cannot start normally and/or the affected/expired currency cannot be used.
The following situations have been discovered:
- When attempting to start the client on a date for which a foreign currency expiration date is passed, the ORPOS client application does not start. The following error appears:
"Unnexpected error have occured"
2. When attempting to use expired foreign currency as tender (i.e., if the expiration occurs after the client application is already opened), the following error occurs:
java.lang.IllegalArgumentException: "CA" not found among available currency types.
at oracle.retail.stores.domain.DomainGateway.findCurrencyType(DomainGateway.java:950)
at oracle.retail.stores.domain.DomainGateway.getAlternateCurrencyInstance(DomainGateway.java:963)
at oracle.retail.stores.domain.DomainGateway.getCurrencyInstance(DomainGateway.java:1008)
at oracle.retail.stores.domain.DomainGateway.getCurrencyInstance(DomainGateway.java:1021)
at oracle.retail.stores.domain.financial.FinancialCountTenderItem.setHardTotalsData(FinancialCountTenderItem.java:957)
at oracle.retail.stores.domain.financial.FinancialCount.setHardTotalsData(FinancialCount.java:1149)
at oracle.retail.stores.domain.financial.FinancialTotals.setHardTotalsData(FinancialTotals.java:12017)
at oracle.retail.stores.domain.financial.AbstractFinancialEntity.setHardTotalsData(AbstractFinancialEntity.java:313)
at oracle.retail.stores.domain.financial.Register.setHardTotalsData(Register.java:1691)
at oracle.retail.stores.domain.financial.HardTotals.setHardTotalsData(HardTotals.java:266)
at oracle.retail.stores.pos.services.main.tdo.MainTDO.readHardTotals(MainTDO.java:657)
at oracle.retail.stores.pos.services.main.tdo.MainTDO.createRegister(MainTDO.java:409)
at oracle.retail.stores.pos.services.main.tdo.MainTDO.initApplication(MainTDO.java:216)
at oracle.retail.stores.pos.services.main.AppInitActionSite.arrive(AppInitActionSite.java:63)
at oracle.retail.stores.foundation.tour.engine.Site.arrive(Site.java:252)
at oracle.retail.stores.foundation.tour.engine.Road.traverseForward(Road.java:922)
at oracle.retail.stores.foundation.tour.engine.Road.traverse(Road.java:673)
at oracle.retail.stores.foundation.tour.engine.SiteVertex.driveSite(SiteVertex.java:314)
at oracle.retail.stores.foundation.tour.service.BusDriver.processLetter(BusDriver.java:293)
at oracle.retail.stores.foundation.tour.service.BusDriver.processLetters(BusDriver.java:207)
at oracle.retail.stores.foundation.tour.service.AbstractCrewMember.run(AbstractCrewMember.java:274)
at oracle.retail.stores.foundation.manager.thread.StaticCacheThread.run(StaticCacheThread.java:180)
at oracle.retail.stores.domain.DomainGateway.findCurrencyType(DomainGateway.java:950)
at oracle.retail.stores.domain.DomainGateway.getAlternateCurrencyInstance(DomainGateway.java:963)
at oracle.retail.stores.domain.DomainGateway.getCurrencyInstance(DomainGateway.java:1008)
at oracle.retail.stores.domain.DomainGateway.getCurrencyInstance(DomainGateway.java:1021)
at oracle.retail.stores.domain.financial.FinancialCountTenderItem.setHardTotalsData(FinancialCountTenderItem.java:957)
at oracle.retail.stores.domain.financial.FinancialCount.setHardTotalsData(FinancialCount.java:1149)
at oracle.retail.stores.domain.financial.FinancialTotals.setHardTotalsData(FinancialTotals.java:12017)
at oracle.retail.stores.domain.financial.AbstractFinancialEntity.setHardTotalsData(AbstractFinancialEntity.java:313)
at oracle.retail.stores.domain.financial.Register.setHardTotalsData(Register.java:1691)
at oracle.retail.stores.domain.financial.HardTotals.setHardTotalsData(HardTotals.java:266)
at oracle.retail.stores.pos.services.main.tdo.MainTDO.readHardTotals(MainTDO.java:657)
at oracle.retail.stores.pos.services.main.tdo.MainTDO.createRegister(MainTDO.java:409)
at oracle.retail.stores.pos.services.main.tdo.MainTDO.initApplication(MainTDO.java:216)
at oracle.retail.stores.pos.services.main.AppInitActionSite.arrive(AppInitActionSite.java:63)
at oracle.retail.stores.foundation.tour.engine.Site.arrive(Site.java:252)
at oracle.retail.stores.foundation.tour.engine.Road.traverseForward(Road.java:922)
at oracle.retail.stores.foundation.tour.engine.Road.traverse(Road.java:673)
at oracle.retail.stores.foundation.tour.engine.SiteVertex.driveSite(SiteVertex.java:314)
at oracle.retail.stores.foundation.tour.service.BusDriver.processLetter(BusDriver.java:293)
at oracle.retail.stores.foundation.tour.service.BusDriver.processLetters(BusDriver.java:207)
at oracle.retail.stores.foundation.tour.service.AbstractCrewMember.run(AbstractCrewMember.java:274)
at oracle.retail.stores.foundation.manager.thread.StaticCacheThread.run(StaticCacheThread.java:180)
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |