This discussion is archived
4 Replies Latest reply: Nov 22, 2012 4:26 AM by Praveer.Rai RSS

PricingCalculator points was not found

kmm Newbie
Currently Being Moderated
The PricingCalculator points was not found
There was an error while attempting to add the item to the order.

error in server.

14:36:27,125 ERROR [UnknownService]
atg.commerce.pricing.PricingException: The PricingCalculator points was not foun
d
at atg.commerce.pricing.PricingEngineService.getCalculatorForCalculatorT
ype(PricingEngineService.java:1517)
at atg.commerce.pricing.OrderPricingEngineImpl.applyPromotions(OrderPric
ingEngineImpl.java:367)
at atg.commerce.pricing.OrderPricingEngineImpl.priceOrder(OrderPricingEn
gineImpl.java:238)
at atg.commerce.pricing.PricingTools.priceOrderForOrderTotal(PricingTool
s.java:2805)
at atg.commerce.pricing.PricingTools.priceOrderSubtotalShipping(PricingT
ools.java:1796)
at atg.commerce.pricing.PricingTools.priceOrderSubtotalShipping(PricingT
ools.java:1737)
at atg.commerce.pricing.PricingTools.performPricingOperation(PricingTool
s.java:3064)
at atg.commerce.pricing.processor.PriceOrderTotal.runProcess(PriceOrderT
otal.java:138)
at atg.service.pipeline.PipelineLink.runProcess(PipelineLink.java:233)
at atg.service.pipeline.PipelineChain.runProcess(PipelineChain.java:343)

at atg.service.pipeline.PipelineChainContext.runProcess(PipelineChainCon
text.java:185)
at atg.service.pipeline.PipelineManager.runProcess(PipelineManager.java:
453)
at atg.commerce.pipeline.CommercePipelineManager.runProcess(CommercePipe
lineManager.java:101)
at atg.commerce.order.purchase.PurchaseProcessHelper.runProcess(Purchase
ProcessHelper.java:452)
at atg.commerce.order.purchase.PurchaseProcessHelper.runRepricingProcess
(PurchaseProcessHelper.java:358)
at atg.commerce.order.purchase.PurchaseProcessHelper.runProcessRepriceOr
der(PurchaseProcessHelper.java:317)
at atg.commerce.order.purchase.PurchaseProcessHelper.addItemsToOrder(Pur
chaseProcessHelper.java:890)
at atg.commerce.order.purchase.CartModifierFormHandler.doAddItemsToOrder
(CartModifierFormHandler.java:3245)
at atg.commerce.order.purchase.CartModifierFormHandler.addItemToOrder(Ca
rtModifierFormHandler.java:2870)
at atg.projects.store.order.purchase.StoreCartFormHandler.addItemToOrder
(StoreCartFormHandler.java:1299)
at atg.projects.store.order.purchase.StoreCartFormHandler.handleAddItemT
oOrder(StoreCartFormHandler.java:1516)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)

Edited by: mmmk on Nov 21, 2012 1:13 AM
  • 1. Re: PricingCalculator points was not found
    Praveer.Rai Journeyer
    Currently Being Moderated
    looks like your ItemPricingEngine.properties has a calculator mentioned 'points ',

    So there should a a corresponding property file points.properties , may be some issue in your points component , check server logs at startup , Or check ItemPricingEngine component in dyn/admin
  • 2. Re: PricingCalculator points was not found
    kmm Newbie
    Currently Being Moderated
    hai Praveer Rai,

    I dont have any Point component (point.properties)..now only i created a new module and server instance.. when i add a product to the cart which shown the above error...

    Edited by: mmmk on Nov 22, 2012 2:40 AM
  • 3. Re: PricingCalculator points was not found
    RMishra Journeyer
    Currently Being Moderated
    I am not sure if there is any OOTB component named Points? It seems something else.
    Also can you through some more details, If you are using any calculator? if you have overridden any component related to pricing?
    -RMishra

    Edited by: RMishra on Nov 22, 2012 5:43 PM
  • 4. Re: PricingCalculator points was not found
    Praveer.Rai Journeyer
    Currently Being Moderated
    go to your itempricingengine component , either through ACC or dyn/admin

    e.g : http://localhost:7001/dyn/admin/nucleus/atg/commerce/pricing/ItemPricingEngine/

    see your post and pre calculators.

    http://localhost:7001/dyn/admin/nucleus/atg/commerce/pricing/ItemPricingEngine/?propertyName=preCalculators

    http://localhost:7001/dyn/admin/nucleus/atg/commerce/pricing/ItemPricingEngine/?propertyName=postCalculators

    there should be a calculator 'points'...

    there may be some problem due to which your points calculator component in not getting initialized.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points