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

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

java.lang.ClassCastException: java.lang.String cannot be cast to com.salespredict.crawlers.pipeline.IFetchableCacheable
at com.salespredict.bl.cache.CachedEntity.getRawObject(CachedEntity.java:72)
at com.salespredict.crawlers.pipeline.EntityContext.getRawObject(EntityContext.java:33)
at com.salespredict.crawlers.pipeline.PerEntityCrawlerBase.getCachedFromContext(PerEntityCrawlerBase.java:67)
at com.salespredict.crawlers.pipeline.PerEntityCrawlerBase.createParameterValues(PerEntityCrawlerBase.java:39)
at com.salespredict.crawlers.pipeline.PerEntityEnricher.processBatch(PerEntityEnricher.java:23)
at com.salespredict.crawlers.pipeline.EnrichersPipeline.processBatch(EnrichersPipeline.java:117)
at com.salespredict.crawlers.pipeline.EnrichersPipeline.processAllEntities(EnrichersPipeline.java:95)
at com.salespredict.integration.EnrichersPipelineTest$$anonfun$5.apply$mcV$sp(EnrichersPipelineTest.scala:99)
at com.salespredict.integration.EnrichersPipelineTest$$anonfun$5.apply(EnrichersPipelineTest.scala:99)
at com.salespredict.integration.EnrichersPipelineTest$$anonfun$5.apply(EnrichersPipelineTest.scala:99)
at org.scalatest.FunSuite$$anon$1.apply(FunSuite.scala:1265)

Users with the same issue

You are the first who have seen this exception.

Write tip

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