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 cannot be cast to atg.adapter.gsa.query.Clause

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3050817, 1 year ago
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 cannot be cast to atg.adapter.gsa.query.Clause
via Oracle Community by 901205, 1 year ago
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 incompatible with atg.adapter.gsa.query.Clause
via Oracle Community by Aaaaaparz1, 1 year ago
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 cannot be cast to atg.adapter.gsa.query.Clause
via Oracle Community by KapilCh, 4 months ago
The execution of the query has resulted in a split query, this is not available with the query option rangeSize. **** Error Wed Nov 13 12:17:00 CST 2013 1384366620265 /atg/search/repository/BulkLoader
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 cannot be cast to atg.adapter.gsa.query.Clause
at atg.adapter.gsa.GSAItemDescriptor.executeQuery(GSAItemDescriptor.java:11367)
at atg.adapter.gsa.GSAView.executeUncachedQuery(GSAView.java:390)
at atg.adapter.gsa.GSAView.executeUncachedQuery(GSAView.java:493)
at atg.repository.RepositoryViewImpl.executeQuery(RepositoryViewImpl.java:382)
at atg.adapter.gsa.GSAView.executeQuery(GSAView.java:309)
at atg.repository.rql.RqlStatement.executeQuery(RqlStatement.java:233)
at com.sgs.commerce.pricing.SGSShippingPricingEngineService.findGlobalPromotions(SGSShippingPricingEngineService.java:139)
at atg.commerce.pricing.PricingEngineService.loadGlobalPromotions(PricingEngineService.java:673)
at atg.commerce.pricing.PricingEngineService.performScheduledTask(PricingEngineService.java:777)
at atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:479)
at atg.service.scheduler.Scheduler$2handler.run(Scheduler.java:780)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.