My Oracle Support Banner

Calculation Error When Using Size Profiles (Doc ID 1370059.1)

Last updated on JULY 16, 2019

Applies to:

Oracle Retail Allocation - Version 13.2 and later
Information in this document applies to any platform.

Symptoms

When attempting to calculate an allocation with size profile, the following error occurs.


Calculation error

The log files shows:
ERROR com.retek.alloc.utils.AllocException (?:?) -
java.lang.NullPointerException
at com.retek.alloc.calculation.CalculationFashionStyleColor.createItemSourceLocations(CalculationFashionStyleColor.java:166)
at com.retek.alloc.calculation.cascade.PostNeedCalculatorImpl.postCalculate(PostNeedCalculatorImpl.java:43)
at com.retek.alloc.calculation.Calculation.calculateNeed(Calculation.java:151)
at com.retek.alloc.calculation.CalculationDelegator.buildNeed(CalculationDelegator.java:44)
at com.retek.alloc.calculation.CalculationWrapper.calculate(CalculationWrapper.java:173)
at com.retek.alloc.business.Allocation.calculate(Allocation.java:790)
at com.retek.alloc.queue.QueueProcessorStandardCalculation.doPerform(QueueProcessorStandardCalculation.java:17)
at com.retek.alloc.queue.QueueProcessor.perform(QueueProcessor.java:34)
at com.retek.alloc.queue.QueueProcess.run(QueueProcess.java:53)
at java.lang.Thread.run(Thread.java:662)
2011-07-15 13:01:12,855 (com.oracle.retail.integration.common.security.credential.CredentialStoreManager) - Extracting userName(alloc13dev) for key/userNameAlias(XXXXXXXXXX).
2011-07-15 13:01:12,853 ERROR com.retek.alloc.queue.QueueProcessorStandardCalculation (?:?) -
com.retek.alloc.utils.AllocException: Allocation calculate failed.
at com.retek.alloc.business.Allocation.calculate(Allocation.java:804)
at com.retek.alloc.queue.QueueProcessorStandardCalculation.doPerform(QueueProcessorStandardCalculation.java:17)
at com.retek.alloc.queue.QueueProcessor.perform(QueueProcessor.java:34)
at com.retek.alloc.queue.QueueProcess.run(QueueProcess.java:53)
at java.lang.Thread.run(Thread.java:662)


Steps to recreate:

  1. Create an item with two differentiator (diff) groups assigned and enable the flag "Item aggregate" at style level and for one diff group
  2. Create a size profile for this item
  3. Create an allocation for the item
  4. Notice, the Allocation Status is "Calculation Error"

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
References


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