"java.lang.NullPointerException" Exception Editing a Manually Created Order Movement (Doc ID 1945440.1)

Last updated on NOVEMBER 18, 2014

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

When attempting to save into the database a modification on the packaged item of a manually created order movement the following error occurs.

java.lang.NullPointerException
at glog.ejb.order.db.OrderReleasePK.hashCode(OrderReleasePK.java:58)
at java.util.HashMap.put(HashMap.java:463)
at java.util.HashSet.add(HashSet.java:200)
at java.util.AbstractCollection.addAll(AbstractCollection.java:305)
at glog.business.planningstructure.PlanningObjectLinkManager.getOrderMovementGraph(PlanningObjectLinkManager.java:639)
at glog.business.shipmentactual.ShipmentActualExecutor.getPlannedOrderMovementGraph(ShipmentActualExecutor.java:383)
at glog.business.shipmentactual.ShipmentActualExecutor.execute(ShipmentActualExecutor.java:218)
at glog.business.shipmentactual.ShipmentActualSessionBean.executeShipmentActual(ShipmentActualSessionBean.java:51)
at glog.business.shipmentactual.ShipmentActualSessionServerSideEJBWrapper.executeShipmentActual(ShipmentActualSessionServerSideEJBWrapper.java:91)
at glog.business.shipmentactual.ShipmentActualSessionHome_4tsowh_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.business.shipmentactual.ShipmentActualSessionHome_4tsowh_EOImpl.executeShipmentActual(Unknown Source)
at glog.business.shipmentactual.gen.ShipmentActualSessionSkel.executeShipmentActual(ShipmentActualSessionSkel.java:87)
at glog.business.shipmentactual.gen.ShipmentActualSessionSkel.exec(ShipmentActualSessionSkel.java:42)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:16)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:83)
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)


The issue can be reproduced at will with the following steps:
1. Create manually an Order Movement
2. Plan it into a shipment
3. Then try to edit the packaged item of the Order Movement
4. After modifying the count for example click on Save and then Finished
5. The error appears



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