My Oracle Support Banner

'Unexpected Exception Occured' Message on POS When Promotional Item Scanned (Doc ID 2733998.1)

Last updated on DECEMBER 17, 2020

Applies to:

Oracle Retail Point-of-Service - Version 14.1 and later
Information in this document applies to any platform.

Symptoms

When attempting to scan items that are active on a BuyGet promotion on the Sell Item screen in ORPOS,  the following error occurs.

ERROR
-----------------------
On the UI: Unexpected Exception Occurred.


In the orpos.log:


ERROR 2020-11-27 12:36:09,846 59676  (StaticCacheThread-5:oracle.retail.stores.foundation.tour.service.BusDriver):
      [oracle.retail.stores.foundation.tour.service.BusDriver.handleThrowable(BusDriver.java:462)]
      BusDriver is in the garage.

java.lang.ArithmeticException: / by zero
    at oracle.retail.stores.domain.discount.SourceCriteria.altQuantitySatisfied(SourceCriteria.java:527)
    at oracle.retail.stores.domain.discount.SourceCriteria.evaluateQuantities(SourceCriteria.java:415)
    at oracle.retail.stores.domain.discount.SourceCriteria.evaluateQuantities(SourceCriteria.java:322)
    at oracle.retail.stores.domain.discount.SourceCriteria.evaluateQuantities(SourceCriteria.java:1063)
    at oracle.retail.stores.domain.discount.SourceCriteria.evaluate(SourceCriteria.java:182)
    at oracle.retail.stores.domain.discount.SourceCriteria.evaluate(SourceCriteria.java:159)
    at oracle.retail.stores.domain.discount.AdvancedPricingRule.sourcesSatisfied(AdvancedPricingRule.java:510)
    at oracle.retail.stores.domain.discount.AdvancedPricingRule.evaluateSourceAndTargets(AdvancedPricingRule.java:2039)
    at oracle.retail.stores.domain.discount.AdvancedPricingRule.generateBestDealGroups(AdvancedPricingRule.java:404)
    at oracle.retail.stores.domain.discount.AdvancedPricingRule.generateBestDealGroups(AdvancedPricingRule.java:381)

Changes

 

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
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.