Note that I do not have geo_id_to and geo_id_from set for the
shipping_cost_estimate, which means they are null. Exception seems like it
is for the null case.


Ritesh Trivedi wrote:
> 
> Hi,
> 
> I am getting a ClassCastException while getting the shipping estimate.
> Looked into the code corresponding to the stacktrace and am not sure how
> Map is getting converted to list in the process which seems like the
> reason for the exception. 
> 
> java.lang.ClassCastException: javolution.util.FastList cannot be cast to
> java.lang.Comparable
> org.ofbiz.entity.condition.EntityComparisonOperator.mapMatches(EntityComparisonOperator.java:158)
> org.ofbiz.entity.condition.EntityExpr.mapMatches(EntityExpr.java:167)
> org.ofbiz.entity.condition.EntityJoinOperator.mapMatches(EntityJoinOperator.java:141)
> org.ofbiz.entity.condition.EntityConditionListBase.mapMatches(EntityConditionListBase.java:99)
> org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:200)
> org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:166)
> org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:147)
> org.ofbiz.entity.cache.Cache.put(Cache.java:89)
> org.ofbiz.entity.GenericDelegator.putInPrimaryKeyCache(GenericDelegator.java:2850)
> org.ofbiz.entity.GenericDelegator.findOne(GenericDelegator.java:1501)
> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1593)
> org.ofbiz.common.geo.GeoWorker.expandGeoGroup(GeoWorker.java:46)
> org.ofbiz.shipment.shipment.ShipmentServices.calcShipmentCostEstimate(ShipmentServices.java:292)
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ClassCastException-in-getting-shipping-estimate-tp20038362p20038828.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to