"java.lang.NullPointerException" When Using Rate Break Profile on Rate Record (Doc ID 873112.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Management - Version: 6.0
This problem can occur on any platform.

Symptoms

-- Problem Statement:

A Rate Record is created based on Rate Unit Break Profile. When this Rate Record is used to rate a Shipment, it is failing with the following Exception:

java.lang.NullPointerException
at glog.business.rate.rateengine.guts.RECharge.evaluate(RECharge.java:534)
at glog.business.rate.rateengine.guts.RACGrid2.costShipment(RACGrid2.java:338)
at glog.business.rate.rateengine.RatingEngine.rateIt(RatingEngine.java:805)
at glog.business.rate.rateengine.RatingEngine.findShipmentCost(RatingEngine.java:681)
at glog.business.rate.rateengine.RatingEngine.findShipmentCosts(RatingEngine.java:570)
at glog.business.rate.rateengine.RatingEngine.findShipmentCosts(RatingEngine.java:377)
at glog.business.rate.ratefinder.RateFinder.findShipmentCosts(RateFinder.java:262)
at glog.business.rate.ratefinder.RateFinder.findShipmentCosts(RateFinder.java:189)
at glog.business.rate.rateinquiry.RateInquirySession.calculateCost(RateInquirySession.java:1257)
at glog.business.rate.rateinquiry.RateInquirySession.getRates(RateInquirySession.java:965)
at glog.business.rate.rateinquiry.RateInquirySession.getRatesInternal(RateInquirySession.java:807)
at glog.business.rate.rateinquiry.RateInquirySession.getRates(RateInquirySession.java:233)
at glog.business.conopt.ConoptResourceManager.getRateInquiryResult(ConoptResourceManager.java:341)
at glog.business.conopt.ConoptResourceManager.prepareRateForConOpt(ConoptResourceManager.java:122)
at glog.business.shipment.ShipmentBuilder.createEquipmentOptionsOnLeg(ShipmentBuilder.java:2033)
at glog.business.shipment.ShipmentBuilder.makeLegOptionsOnTLeg(ShipmentBuilder.java:1315)
at glog.business.shipment.ShipmentBuilder.makeLegOptions(ShipmentBuilder.java:1772)
at glog.business.shipment.ShipmentBuilder.buildBestItineraryOption(ShipmentBuilder.java:1491)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:1545)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraphCollection(ShipmentBuilder.java:502)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraphCollection(ShipmentBuilder.java:441)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:346)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:307)
at glog.business.action.OrderActionExecutor.buildShipmentGraph(OrderActionExecutor.java:383)
at glog.business.action.OrderActionExecutor.buildShipments(OrderActionExecutor.java:333)
at glog.business.session.OrderActionSessionBean.buildShipments(OrderActionSessionBean.java:228)
at
glog.business.session.OrderActionSessionServerSideEJBWrapper.buildShipments(OrderActionSessionServerSideEJBWrapper.java:136)
at
glog.business.session.OrderActionSessionHome_likuwd_EOImpl.buildShipments(OrderActionSessionHome_likuwd_EOImpl.java:2648)
at
glog.business.session.gen.OrderActionSessionSkel.buildShipments(OrderActionSessionSkel.java:439)
at glog.business.session.gen.OrderActionSessionSkel.exec(OrderActionSessionSkel.java:128)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:15)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:57)
at
glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapper.java:48)
at
glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.execDispatch(WrapperSessionHome_a06097_EOImpl.java:60)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:554)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:226)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:439)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:61)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:984)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

-- Steps To Reproduce:
1. Create a Rate Record based on Rate Unit Break Profile
2. Use this Record to rate Shipment

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