"java.lang.NullPointerException" Exception When Assigning a Driver with A Special Service (Doc ID 1320129.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Management - Version: 6.1.0 to 6.1.5 - Release: 6.1 to 6.1
Information in this document applies to any platform.

Symptoms


When attempting to Assign a driver (primary driver in a driver team) to a shipment with a special service, the following exception is encountered

java.lang.NullPointerException
at glog.business.driver.MarkedPeriods.getMarkers(MarkedPeriods.java:66)
at glog.business.driver.TDriver.getDriverTeamsDetails(TDriver.java:916)
at glog.business.driver.TDriver.getDriverTeamDetails(TDriver.java:900)
at glog.business.fleetassignment.DriverAssignmentHelper.getSecondaryDriverGid(DriverAssignmentHelper.java:147)
at glog.business.rule.asset.driver.DriverShipmentSpecialServiceRule.check(DriverShipmentSpecialServiceRule.java:113)
at glog.business.rule.rulemanager.RuleList.checkRules(RuleList.java:145)
at glog.business.rule.rulemanager.RuleManager.checkRules(RuleManager.java:251)
at glog.business.rule.rulemanager.RuleManager.checkRules(RuleManager.java:175)
at glog.business.fleetassignment.FleetAssigner.checkCompatibility(FleetAssigner.java:556)
at glog.business.fleetassignment.FleetAssigner.checkCompatibility(FleetAssigner.java:517)
at glog.business.fleetassignment.DriverAssigner.assignDriverToShipment(DriverAssigner.java:453)
at glog.business.fleetassignment.DriverAssigner.assignFleetResource(DriverAssigner.java:203)
at glog.business.service.fleetassignment.DriverAssignmentShipmentService.assignDriver(DriverAssignmentShipmentService.java:188)
at glog.business.action.fleetassignment.driver.AssignDriverAction.process(AssignDriverAction.java:87)
at glog.business.action.shipment.AbstractShipmentPlanningAction.perform(AbstractShipmentPlanningAction.java:140)
at glog.business.action.fleetassignment.AbstractFleetShipmentPlanningAction.perform(AbstractFleetShipmentPlanningAction.java:96)
at glog.business.session.FleetAssignmentActionSessionBean.assignDriverToShipment(FleetAssignmentActionSessionBean.java:646)
at glog.business.session.FleetAssignmentActionSessionServerSideEJBWrapper.assignDriverToShipment(FleetAssignmentActionSessionServerSideEJBWrapper.java:624)
at glog.business.session.FleetAssignmentActionSessionServerSideEJBWrapper_c0gjd_EOImpl.assignDriverToShipment(FleetAssignmentActionSessionServerSideEJBWrapper_c0gjd_EOImpl.java:1574)
at glog.business.session.gen.FleetAssignmentActionSessionSkel.assignDriverToShipment(FleetAssignmentActionSessionSkel.java:743)
at glog.business.session.gen.FleetAssignmentActionSessionSkel.exec(FleetAssignmentActionSessionSkel.java:154)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:15)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:61)
at glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapper.java:48)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.execDispatch(WrapperSessionHome_a06097_EOImpl.java:61)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:590)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

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