java.lang.ClassCastException: java.lang.String cannot be cast to com.salespredict.crawlers.pipeline.IFetchableCacheable

Spring JIRA | Pavel Bernshtam | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0
  2. 0

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String cannot be cast to com.salespredict.crawlers.pipeline.IFetchableCacheable

      at com.salespredict.bl.cache.CachedEntity.getRawObject()
    2. com.salespredict.bl
      CachedEntity.getRawObject
      1. com.salespredict.bl.cache.CachedEntity.getRawObject(CachedEntity.java:72)
      1 frame
    3. com.salespredict.crawlers
      EnrichersPipeline.processAllEntities
      1. com.salespredict.crawlers.pipeline.EntityContext.getRawObject(EntityContext.java:33)
      2. com.salespredict.crawlers.pipeline.PerEntityCrawlerBase.getCachedFromContext(PerEntityCrawlerBase.java:67)
      3. com.salespredict.crawlers.pipeline.PerEntityCrawlerBase.createParameterValues(PerEntityCrawlerBase.java:39)
      4. com.salespredict.crawlers.pipeline.PerEntityEnricher.processBatch(PerEntityEnricher.java:23)
      5. com.salespredict.crawlers.pipeline.EnrichersPipeline.processBatch(EnrichersPipeline.java:117)
      6. com.salespredict.crawlers.pipeline.EnrichersPipeline.processAllEntities(EnrichersPipeline.java:95)
      6 frames
    4. com.salespredict.integration
      EnrichersPipelineTest$$anonfun$5.apply
      1. com.salespredict.integration.EnrichersPipelineTest$$anonfun$5.apply$mcV$sp(EnrichersPipelineTest.scala:99)
      2. com.salespredict.integration.EnrichersPipelineTest$$anonfun$5.apply(EnrichersPipelineTest.scala:99)
      3. com.salespredict.integration.EnrichersPipelineTest$$anonfun$5.apply(EnrichersPipelineTest.scala:99)
      3 frames
    5. scalatest
      Suite$class.withFixture
      1. org.scalatest.FunSuite$$anon$1.apply(FunSuite.scala:1265)
      2. org.scalatest.Suite$class.withFixture(Suite.scala:1974)
      2 frames