Announcement

Collapse
No announcement yet.

Bulk plan for Consol

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bulk plan for Consol

    Hi,

    I am working on 6.2.7.

    I am using consols to plan ocean shipments.

    I have an order which is from Location 'A' to Location 'B'.

    I have a rate offerring of with transport mode of 'Vessel - CH'. Rate service of type 'VoyageSchedule'.

    Itinerary has only one leg with lane of Location 'A' to Location 'B', 'Use Consol' is checked ('Y').

    I have created a consol with no weight and volume limits. Stowage mode is NOT 'Unitized'.

    I have created an empty shipment using action from the consol.

    When I run the bulk plan for the first time the order gets planned properly on the empty shipment. When I run the bulk plan on same order the second time. . it doesn't work and gives me the following error:

    java.lang.NullPointerException
    at glog.business.rateservicescheduling.RateServiceHel per.constructRateServiceResult(RateServiceHelper.j ava:329)
    at glog.business.rateservicescheduling.RateServiceEng ine.drive(RateServiceEngine.java:16
    at glog.business.rateservicescheduling.RateServiceEng ine.drive(RateServiceEngine.java:314)
    at glog.business.rateservicescheduling.RateServiceEng ine.calculateRateServiceSolutionWindow(RateService Engine.java:1063)
    at glog.business.rate.rateservice.RateServiceSession. calculateSinglePathRateServiceSolutionWindow(RateS erviceSession.java:1941)
    at glog.business.shipment.LegOptionOptimizer.calculat eServiceTime(LegOptionOptimizer.java:1043)
    at glog.business.shipment.LegOptionOptimizer.getCheap estFeasibleOption(LegOptionOptimizer.java:429)
    at glog.business.shipment.LegOptionOptimizer.buildIti neraryOptionOnBestLegOptions(LegOptionOptimizer.ja va:133)
    at glog.business.shipment.ShipmentBuilder.buildBestIt ineraryOption(ShipmentBuilder.java:1503)
    at glog.business.shipment.ShipmentBuilder.buildShipme ntGraph(ShipmentBuilder.java:1539)
    at glog.business.shipment.ShipmentBuilder.buildShipme ntGraphCollection(ShipmentBuilder.java:500)
    at glog.business.shipment.ShipmentBuilder.buildShipme ntGraphCollection(ShipmentBuilder.java:436)
    at glog.business.consolidation.bulkplan.BuildShipment GraphCollectionTask.executePlanning(BuildShipmentG raphCollectionTask.java:34)
    at glog.business.util.PlanningTask.execute(PlanningTa sk.java:14)
    at glog.server.workflow.tasklist.Task.perform(Task.ja va:51)
    at glog.server.workflow.tasklist.TaskList.executeInCa llerThread(TaskList.java:117)
    at glog.business.util.PlanningTaskList.executeInCalle rThread(PlanningTaskList.java:83)
    at glog.server.workflow.tasklist.TaskList.execute(Tas kList.java:97)
    at glog.server.workflow.tasklist.TaskList.execute(Tas kList.java:15
    at glog.business.consolidation.bulkplan.OrderPlanner. buildDirectShipmentGraphCollection(OrderPlanner.ja va:1053)
    at glog.business.consolidation.bulkplan.OrderPlanner. makeDirectTShipments(OrderPlanner.java:992)
    at glog.business.consolidation.bulkplan.OrderPlanner. bulkPlan(OrderPlanner.java:354)
    at glog.business.action.order.OrderActions.planUnassi gnedOrders(OrderActions.java:929)
    at glog.business.action.order.BulkPlanActionExecutor. planOrders(BulkPlanActionExecutor.java:287)
    at glog.business.action.order.BulkPlanActionExecutor. planOrders(BulkPlanActionExecutor.java:117)
    at glog.business.session.OrderActionSessionBean.planO rders(OrderActionSessionBean.java:1171)
    at glog.business.session.OrderActionSessionServerSide EJBWrapper.planOrders(OrderActionSessionServerSide EJBWrapper.java:1292)
    at glog.business.session.OrderActionSessionHome_likuw d_EOImpl.planOrders(OrderActionSessionHome_likuwd_ EOImpl.java:1785)
    at glog.server.workflow.adhoc.BulkPlan.executeOrder(B ulkPlan.java:65)
    at glog.server.workflow.adhoc.BulkPlan.execute(BulkPl an.java:49)
    at glog.server.workflow.SimpleWorkflow.execute(Simple Workflow.java:23)
    at glog.server.workflow.WorkflowSessionBean.execute(W orkflowSessionBean.java:64)
    at glog.server.workflow.WorkflowSessionNonTransServer SideEJBWrapper.execute(WorkflowSessionNonTransServ erSideEJBWrapper.java:3
    at glog.server.workflow.WorkflowSessionNonTransServer SideEJBWrapper_t6tuwu_EOImpl.execute(WorkflowSessi onNonTransServerSideEJBWrapper_t6tuwu_EOImpl.java: 27
    at glog.server.workflow.WorkflowManager.execute(Workf lowManager.java:352)
    at glog.server.workflow.Trigger.trigger(Trigger.java: 122)
    at glog.util.event.MemoryEventQueueRunnable.processEv ent(MemoryEventQueueRunnable.java:146)
    at glog.util.event.MemoryEventQueueRunnable.run(Memor yEventQueueRunnable.java:9
    at glog.util.event.EventThread.run(EventThread.java:8 6)
    at java.lang.Thread.run(Thread.java:619)
    [batch - 2]
    java.lang.NullPointerException


    Please help me overcome this error.

    Regards,

    Rookie
Working...
X