If you look at the stacktrace, it clearly shows that its not my code thats passing anything, its the existing shipmentservice that somehow gets list - I am not making any calls containing makeCondition.
Ravindra Mandre wrote: > > Hi > If you are using makeCondition method then i suggest you to please check > your code because i think you are putting condition in wrong way or > giving list names wrong. > or for more clarification you can put your code from which you are > getting this error. > > -- > Thanks & Regards, > > Ravindra Mandre > HotWax Media, Inc. > > > Ritesh Trivedi wrote: >> 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-tp20038362p20049180.html Sent from the OFBiz - User mailing list archive at Nabble.com.
