'java.lang.NullPointerException' Error When Trying to Plan Order Release Using 'Build Buy Shipment On Primary Leg' Action, With 'Location Profile' on Itinerary Legs (Doc ID 2093229.1)

Last updated on MARCH 08, 2016

Applies to:

Oracle Transportation Management - Version 6.3.6 to 6.4.2 [Release 6.3 to 6.4]
Information in this document applies to any platform.

Symptoms

When attempting to plan an Order Release via 'Build Buy Shipment On Primary Leg' action, using a multi leg itinerary, for the primary leg, if a 'Location Profile' is defined instead of a 'Location' then the following error occurs.

ERROR
-----------------------
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
at glog.business.util.TObjectBase.getExistingByGid(TObjectBase.java:82)
at glog.business.location.TLocation.getInstance(TLocation.java:756)
at glog.business.conopt.ConoptConverter.getPackingItem(ConoptConverter.java:653)
at glog.business.conopt.ConoptConverter.getPackingItem(ConoptConverter.java:417)
at glog.business.conopt.ConoptConverter.getPackingItems(ConoptConverter.java:380)
at glog.business.equipment.EquipmentPacker.setupChildEquipmentGroupCompatibility(EquipmentPacker.java:1767)
at glog.business.equipment.EquipmentPacker.makeEquipmentOptionsWithoutRepack(EquipmentPacker.java:1725)
at glog.business.equipment.EquipmentPacker.makeEquipmentOptions(EquipmentPacker.java:1686)
at glog.business.equipment.EquipmentPacker.makeEquipmentOptions(EquipmentPacker.java:478)
at glog.business.shipment.EquipmentOptionBuilder.createEquipmentOptionsOnLeg(EquipmentOptionBuilder.java:268)
at glog.business.shipment.ShipmentBuilder.makeLegOptionsOnTLeg(ShipmentBuilder.java:1367)
at glog.business.shipment.ShipmentBuilder.buildTShipmentsOnTLeg(ShipmentBuilder.java:1282)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:969)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraphCollection(ShipmentBuilder.java:923)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:663)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:632)
at glog.business.action.order.BuildShipmentOnPrimaryLegAction.buildShipment(BuildShipmentOnPrimaryLegAction.java:218)
at glog.business.action.order.BuildShipmentOnPrimaryLegAction.buildShipment(BuildShipmentOnPrimaryLegAction.java:372)
at glog.business.session.OrderActionSessionBean.buildShipmentOnPrimaryLeg(OrderActionSessionBean.java:1536)
at glog.business.session.OrderActionSessionServerSideEJBWrapper.buildShipmentOnPrimaryLeg(OrderActionSessionServerSideEJBWrapper.java:1219)
at glog.business.session.OrderActionSessionHome_likuwd_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.business.session.OrderActionSessionHome_likuwd_EOImpl.buildShipmentOnPrimaryLeg(Unknown Source)
at glog.business.session.gen.OrderActionSessionSkel.buildShipmentOnPrimaryLeg(OrderActionSessionSkel.java:1061)
at glog.business.session.gen.OrderActionSessionSkel.exec(OrderActionSessionSkel.java:240)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:16)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:62)
at glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapper.java:50)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.execDispatch(Unknown Source)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

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