[atg_tech:4918] Class Cast Exception in Pricing Engine with ATG 9.1

183 views
Skip to first unread message

Dev

unread,
May 13, 2010, 2:25:35 AM5/13/10
to ATG_Tech
Hi ,

we are getting the below error after Migrating from ATG 2007.1 to ATG
9.1 .The error comes up for all the pricing engines .
This has become very critical as we are unable to validate the
Scenarios/promotions . We would appreciate any quick solution/
suggestion .
----------------------------

11:12:04,777 ERROR [OrderPricingEngine]
CAUGHT AT:
CONTAINER:atg.repository.RepositoryException: Attempt to execute or
build a query with a Query or QueryExpression object that is null or
was not created
by this repository.; SOURCE:java.lang.ClassCastException:
atg.repository.query.AndQuery
at
atg.adapter.gsa.GSAItemDescriptor.executeQuery(GSAItemDescriptor.java:
7259)
at atg.adapter.gsa.GSAView.executeUncachedQuery(GSAView.java:
332)
at
atg.repository.query.QueryCache.executeUncachedQuery(QueryCache.java:
693)
at
atg.repository.query.QueryCache.populateEntry(QueryCache.java:905)
at
atg.repository.query.QueryCache.executeCachedQuery(QueryCache.java:
433)
at
atg.repository.RepositoryViewImpl.executeQuery(RepositoryViewImpl.java:
344)
at atg.adapter.gsa.GSAView.executeQuery(GSAView.java:281)
at
atg.repository.rql.RqlStatement.executeQuery(RqlStatement.java:211)
at
atg.commerce.pricing.PricingEngineService.findGlobalPromotions(PricingEngineService.java:
488)
at
atg.commerce.pricing.PricingEngineService.loadGlobalPromotions(PricingEngineService.java:
531)
at
atg.commerce.pricing.PricingEngineService.performScheduledTask(PricingEngineService.java:
635)
at
atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:441)
at atg.service.scheduler.Scheduler$2handler.run(Scheduler.java:
760)
Caused by: java.lang.ClassCastException: atg.repository.query.AndQuery
at
atg.adapter.gsa.GSAItemDescriptor.executeQuery(GSAItemDescriptor.java:
7255)
... 12 more
SOURCE EXCEPTION:
java.lang.ClassCastException: atg.repository.query.AndQuery
at
atg.adapter.gsa.GSAItemDescriptor.executeQuery(GSAItemDescriptor.java:
7255)
at atg.adapter.gsa.GSAView.executeUncachedQuery(GSAView.java:
332)
at
atg.repository.query.QueryCache.executeUncachedQuery(QueryCache.java:
693)
at
atg.repository.query.QueryCache.populateEntry(QueryCache.java:905)
at
atg.repository.query.QueryCache.executeCachedQuery(QueryCache.java:
433)
at
atg.repository.RepositoryViewImpl.executeQuery(RepositoryViewImpl.java:
344)
at atg.adapter.gsa.GSAView.executeQuery(GSAView.java:281)
at
atg.repository.rql.RqlStatement.executeQuery(RqlStatement.java:211)
at
atg.commerce.pricing.PricingEngineService.findGlobalPromotions(PricingEngineService.java:
488)
at
atg.commerce.pricing.PricingEngineService.loadGlobalPromotions(PricingEngineService.java:
531)
at
atg.commerce.pricing.PricingEngineService.performScheduledTask(PricingEngineService.java:
635)
at
atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:441)
at atg.service.scheduler.Scheduler$2handler.run(Scheduler.java:
760)

---------------------

Thanks in Advance

Dev

--
You received this message because you are subscribed to the Google Groups "ATG_Tech" group.
To post to this group, send email to atg_...@googlegroups.com
To unsubscribe from this group, send email to atg_tech-u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/atg_tech?hl=en
Reply all
Reply to author
Forward
0 new messages