NullPointerException while executing refreshOrder pipeline

485 views
Skip to first unread message

Sumit Singh

unread,
Apr 1, 2009, 1:38:05 AM4/1/09
to atg_...@googlegroups.com
Hi,

I am getting NullPointerException while invoking the refreshOrder pipeline for a given Order.
Old orders are working fine but new order are throwing this exception.
Please find the stack trace below :

CONTAINER:atg.service.pipeline.RunProcessException: An exception was thrown from the context of the link named [loadPriceInfoObjects].; SOURCE:java.lang.NullPointerException

#1:java.lang.NullPointerException
at atg.adapter.gsa.GSAItemDescriptor.getPersistentItem(GSAItemDescriptor.java:2273)
at atg.adapter.gsa.GSAItemDescriptor.getOrWaitForPersistentItem(GSAItemDescriptor.java:2110)
at atg.adapter.gsa.GSAItemDescriptor.getItem(GSAItemDescriptor.java:1475)
at atg.adapter.gsa.GSARepository.getItem(GSARepository.java:163)
at atg.adapter.gsa.GSAPropertyDescriptor.rawToReal(GSAPropertyDescriptor.java:341)
at atg.adapter.gsa.ListTable.loadHelper(ListTable.java:215)
at atg.adapter.gsa.ListTable.loadProperties(ListTable.java:68)
at atg.adapter.gsa.GSAItemDescriptor.loadProperties(GSAItemDescriptor.java:2545)
at atg.adapter.gsa.GSAItemDescriptor.loadProperty(GSAItemDescriptor.java:2637)
at atg.adapter.gsa.GSAItem.getPersistentPropertyValue(GSAItem.java:463)
at atg.adapter.gsa.GSAItem.getPropertyValue(GSAItem.java:356)
at atg.adapter.gsa.GSAItem.getPropertyValue(GSAItem.java:599)
at atg.repository.RepositoryItemImpl.getPropertyValue(RepositoryItemImpl.java:126)
at atg.commerce.order.processor.ProcLoadPriceInfoObjects.loadPricingAdjustments(ProcLoadPriceInfoObjects.java:933)
at atg.commerce.order.processor.ProcLoadPriceInfoObjects.loadOrderPriceInfo(ProcLoadPriceInfoObjects.java:593)
at atg.commerce.order.processor.ProcLoadPriceInfoObjects.runProcess(ProcLoadPriceInfoObjects.java:506)
at atg.service.pipeline.PipelineLink.runProcess(PipelineLink.java:231)
at atg.service.pipeline.PipelineChain.runProcess(PipelineChain.java:342)
at atg.service.pipeline.PipelineChainContext.runProcess(PipelineChainContext.java:184)
at atg.service.pipeline.PipelineManager.runProcess(PipelineManager.java:452)
at atg.commerce.order.OrderImpl.ensureContainers(OrderImpl.java:1174)
at atg.commerce.order.OrderImpl.getCommerceItems(OrderImpl.java:629)


Has anyone seen a similar  issue earlier ?
Any help is really appreciated.



Regards,
Sumit

O'Brien, Paul

unread,
Apr 1, 2009, 9:37:47 AM4/1/09
to atg_...@googlegroups.com

What version of ATG are you running?

 


Burhan Surti

unread,
Apr 2, 2009, 12:56:22 AM4/2/09
to atg_...@googlegroups.com
Have you exteded cartmodifier? If yes, make sure that you have taken care of lock management (steps are available on ATG)

Raju

unread,
Apr 2, 2009, 1:41:34 AM4/2/09
to atg_...@googlegroups.com

Sumit

unread,
Apr 2, 2009, 1:44:43 AM4/2/09
to ATG_Tech
We are running on ATG 6

O'Brien, Paul

unread,
Apr 2, 2009, 9:32:22 AM4/2/09
to atg_...@googlegroups.com
I need you to be more specific - 6.0? 6.1? What patch version?

nuttyket

unread,
Apr 2, 2009, 11:46:21 PM4/2/09
to ATG_Tech
Hi Paul,
This is happening on Dynamo6.0.0. No patches applied on top of
this. It is running on DAS6.0.0.

Regards,
Nachiket Joshi

reddy manda

unread,
Apr 3, 2009, 3:43:24 PM4/3/09
to atg_...@googlegroups.com
Hi Sumit,

Are there any custom pre-calculators added recently in the code(in ItemPricingEngine) where you are adding pricing adjustments based on any criterion at the sku or product level? Also is the exception coming when user requests any page for the first time or it is comming when user is trying to log into his profile(Old incomplete order)?

Thanks,
Gopal.
Reply all
Reply to author
Forward
0 new messages