Rating a Shipment Fails With Exception - java.lang.ClassCastException: java.lang.Double (Doc ID 739399.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Operational Planning - Version: 5.5.04
This problem can occur on any platform.

Symptoms

-- Problem Statement:

When trying to plan a shipment, it is failing to plan during the rating of the shipment. The following Exception is encountered in the logs:

java.lang.ClassCastException: java.lang.Double
at glog.business.rate.rateengine.GridSnapshot.getDetailString(GridSnapshot.java:234)
at glog.business.rate.rateengine.GridDetail.generateSingleDetail(GridDetail.java:191)
at glog.business.rate.rateengine.GridDetail.getDetails(GridDetail.java:106)
at glog.business.rate.rateengine.RERCostDetail.toString(RERCostDetail.java:208)
at glog.business.rate.rateengine.MultiDetail.toString(MultiDetail.java:53)
at glog.business.rate.rateengine.GridDetail.toString(GridDetail.java:199)
at glog.business.rate.rateengine.AccDetail.toString(AccDetail.java:90)
at java.text.MessageFormat.subformat(MessageFormat.java:1230)
at java.text.MessageFormat.format(MessageFormat.java:825)
at java.text.Format.format(Format.java:133)
at java.text.MessageFormat.format(MessageFormat.java:801)
at glog.util.log.Log.logID(Log.java:79)
at glog.business.rate.rateengine.RECharge.evaluate(RECharge.java:924)
at glog.business.rate.rateengine.RACAccessorial.processAccessorials(RACAccessorial.java:896)
at glog.business.rate.rateengine.RACAccessorial.applyGlobalAccessorials(RACAccessorial.java:303)
at glog.business.rate.rateengine.RACAccessorial.costShipment(RACAccessorial.java:164)
at glog.business.rate.rateengine.RatingEngine.rateIt(RatingEngine.java:713)
at glog.business.rate.rateengine.RatingEngine.findShipmentCost(RatingEngine.java:578)
at glog.business.rate.rateengine.RatingEngine.findShipmentCosts(RatingEngine.java:463)
at glog.business.rate.rateengine.RatingEngine.findShipmentCosts(RatingEngine.java:390)
at glog.business.rate.ratefinder.RateFinder.findShipmentCosts(RateFinder.java:232)
at glog.business.rate.ratefinder.RateFinder.findShipmentCosts(RateFinder.java:166)
at glog.business.rate.ratefinder.RateFinder.findShipmentCosts(RateFinder.java:104)
at glog.business.rate.ratefinder.RateFinder.findCommonFeasibleRateEngineResult(RateFinder.java:485)
at glog.business.shipment.ShipmentBuilder.expandLegOptionOnCosts(ShipmentBuilder.java:3162)
at glog.business.shipment.ShipmentBuilder.calculateAndSetCosts(ShipmentBuilder.java:3047)
at glog.business.shipment.ShipmentBuilder.makeLegOptionsOnTLeg(ShipmentBuilder.java:1286)
at glog.business.shipment.ShipmentBuilder.makeLegOptions(ShipmentBuilder.java:1636)
at glog.business.shipment.ShipmentBuilder.buildBestItineraryOption(ShipmentBuilder.java:1369)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:1417)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraphCollection(ShipmentBuilder.java:467)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraphCollection(ShipmentBuilder.java:409)
at glog.business.consolidation.bulkplan.BuildShipmentGraphCollectionTask.executePlanning(BuildShipmentGraphCollectionTask.java:25)
at glog.business.util.PlanningTask.execute(PlanningTask.java:15)
at glog.server.workflow.tasklist.Task.perform(Task.java:51)
at glog.server.workflow.tasklist.TaskList.executeInCallerThread(TaskList.java:117)


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms