"java.lang.NullPointerException" Error Running Agent Action "ORDER RELEASE - MOD - EDIT SHIPMENT" When Attempting to Delete a Release Line (Doc ID 1986535.1)

Last updated on MARCH 06, 2015

Applies to:

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

Symptoms

An Order Release is created via inbound integration with multiple lines. This Order Release is planned into a shipment. An Agent with "ORDER RELEASE - MOD - EDIT SHIPMENT" action is also set as active.

When attempting to use inbound integration with transaction code "RC" to delete one of the lines of the above order release the following error is observed in the log:

java.lang.NullPointerException
at glog.server.query.order.OrderReleasePersistenceHelper.setShipUnitOrigin(OrderReleasePersistenceHelper.java:192)
at glog.server.query.order.OrderReleasePersistenceHelper.packAndCalcOrder(OrderReleasePersistenceHelper.java:59)
at glog.server.query.order.OrderReleasePersistenceHandler.preSave(OrderReleasePersistenceHandler.java:62)
at glog.util.persistence.PersistenceManager.execute(PersistenceManager.java:93)
at glog.business.shipment.ShipmentUpdateSessionBean.commitOrderModChanges(ShipmentUpdateSessionBean.java:1855)
at glog.business.shipment.ShipmentUpdateSessionServerSideEJBWrapper.commitOrderModChanges(ShipmentUpdateSessionServerSideEJBWrapper.java:491)
at glog.business.shipment.ShipmentUpdateSessionHome_qj7mtr_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.business.shipment.ShipmentUpdateSessionHome_qj7mtr_EOImpl.commitOrderModChanges(Unknown Source)
at glog.business.omd.OrderModShipmentEditor.editShipments(OrderModShipmentEditor.java:515)
at glog.business.session.OMDProcessorSessionBean.editShipments(OMDProcessorSessionBean.java:89)
at glog.business.session.OMDProcessorSessionServerSideEJBWrapper.editShipments(OMDProcessorSessionServerSideEJBWrapper.java:97)
at glog.business.session.OMDProcessorSessionHome_f09cq7_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.business.session.OMDProcessorSessionHome_f09cq7_EOImpl.editShipments(Unknown Source)
at glog.server.agent.business.order.ORModEditShipment.process(ORModEditShipment.java:89)
at glog.server.agent.business.order.ORActionTopic.persist(ORActionTopic.java:50)
at glog.server.agent.PersistActionTopic.execute(PersistActionTopic.java:34)
at glog.server.agent.ActionWorkflow.execute(ActionWorkflow.java:49)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper.execute(WorkflowSessionNonTransServerSideEJBWrapper.java:40)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.execute(Unknown Source)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:356)
at glog.server.workflow.Trigger.trigger(Trigger.java:122)
at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:145)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:100)
at glog.util.event.EventThread.run(EventThread.java:86)
at java.lang.Thread.run(Thread.java:680)

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