Null Pointer Exception When Adding a Ship Unit Reference Number (Doc ID 1208876.1)

Last updated on JULY 09, 2014

Applies to:

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

Symptoms


When attempting to add a Reference Number Qualifier ID in a Ship Unit record, the following error occurs.

ERROR
-----------------------
java.lang.NullPointerException
at glog.business.shipment.TSShipUnitRefnum.getTSShipUnitRefnum(TSShipUnitRefnum.java:92)
at glog.business.shipmentactual.UpdatePropagator.applyRefnumMod(UpdatePropagator.java:450)
at glog.business.shipmentactual.UpdatePropagator.applyMod(UpdatePropagator.java:300)
at glog.business.shipmentactual.UpdatePropagator.propagateOtherUpdate(UpdatePropagator.java:56)
at glog.business.shipmentactual.UpdatePropagator.propagateUpdate(UpdatePropagator.java:42)
at glog.business.shipmentactual.ShipmentActualExecutor.executeShipmentActual(ShipmentActualExecutor.java:868)
at glog.business.shipmentactual.ShipmentActualExecutor.execute(ShipmentActualExecutor.java:751)
at glog.business.shipmentactual.ShipmentActualSessionBean.executeShipmentActual(ShipmentActualSessionBean.java:53)
at glog.business.shipmentactual.ShipmentActualSessionServerSideEJBWrapper.executeShipmentActual(ShipmentActualSessionServerSideEJBWrapper.java:48)
at glog.business.shipmentactual.ShipmentActualSessionHome_4tsowh_EOImpl.executeShipmentActual(ShipmentActualSessionHome_4tsowh_EOImpl.java:135)
at glog.business.shipmentactual.gen.ShipmentActualSessionSkel.executeShipmentActual(ShipmentActualSessionSkel.java:70)
at glog.business.shipmentactual.gen.ShipmentActualSessionSkel.exec(ShipmentActualSessionSkel.java:40)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:15)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:82)
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.BasicServerRef$1.run(BasicServerRef.java:478)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:119)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1. Log into OTM6.1
2. Navigate to Shipment Management > Shipment Ship Unit
3. Click on search button, select a Ship Unit from the list of Ship Units ID, and open it in Edit mode
4. In Reference Numbers Section, add a Reference Number Qualifier record, and click Save
5. Click on Finished button, the system throws a NP error



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