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

Oracle Community | 3050817 | 3 months ago
  1. 0

    Oracle Commerce 11.2 : Getting ClassCastException when PriceEngines are trying to load global promotions.

    Oracle Community | 3 months ago | 3050817
    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
  2. 0

    Preloading Caches issue

    Oracle Community | 3 years ago | Aaaaaparz1
    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
  3. 0

    Class Cast Exception in Pricing Engine with ATG 9.1

    Oracle Community | 5 years ago | 901205
    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 incompatible with atg.adapter.gsa.query.Clause
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Asset Selector initialization failed error when trying to create new site

    Oracle Community | 5 years ago | user13408374
    atg.repository.RepositoryException: No property named "null" could be found in the item descriptor "siteTemplate".
  6. 0

    Class Cast exception in ItemPricingEnging, ShippingPricingEngine ATG 2007.1

    Oracle Community | 4 years ago | 891571
    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

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      atg.repository.query.AndQuery cannot be cast to atg.adapter.gsa.query.Clause

      at atg.adapter.gsa.GSAItemDescriptor.executeQuery()
    2. atg.adapter.gsa
      GSAView.executeUncachedQuery
      1. atg.adapter.gsa.GSAItemDescriptor.executeQuery(GSAItemDescriptor.java:11367)[_DAS_slib_sclasses.jar:]
      2. atg.adapter.gsa.GSAView.executeUncachedQuery(GSAView.java:390)[_DAS_slib_sclasses.jar:]
      3. atg.adapter.gsa.GSAView.executeUncachedQuery(GSAView.java:493)[_DAS_slib_sclasses.jar:]
      3 frames
    3. atg.repository
      RepositoryViewImpl.executeQuery
      1. atg.repository.RepositoryViewImpl.executeQuery(RepositoryViewImpl.java:382)[_DAS_slib_sclasses.jar:]
      1 frame
    4. atg.adapter.gsa
      GSAView.executeQuery
      1. atg.adapter.gsa.GSAView.executeQuery(GSAView.java:309)[_DAS_slib_sclasses.jar:]
      1 frame
    5. atg.repository.rql
      RqlStatement.executeQuery
      1. atg.repository.rql.RqlStatement.executeQuery(RqlStatement.java:233)[_DAS_slib_sclasses.jar:]
      1 frame
    6. com.sgs.commerce
      SGSShippingPricingEngineService.findGlobalPromotions
      1. com.sgs.commerce.pricing.SGSShippingPricingEngineService.findGlobalPromotions(SGSShippingPricingEngineService.java:139)[_SGS.service_sclasses:]
      1 frame
    7. atg.commerce.pricing
      PricingEngineService.performScheduledTask
      1. atg.commerce.pricing.PricingEngineService.loadGlobalPromotions(PricingEngineService.java:673)[_DCS_slib_sclasses.jar:]
      2. atg.commerce.pricing.PricingEngineService.performScheduledTask(PricingEngineService.java:777)[_DCS_slib_sclasses.jar:]
      2 frames
    8. atg.service.scheduler
      Scheduler$2handler.run
      1. atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:479)[_DAS_slib_sclasses.jar:]
      2. atg.service.scheduler.Scheduler$2handler.run(Scheduler.java:780)[_DAS_slib_sclasses.jar:]
      2 frames