"java.lang.NullPointerException" Exception When Performing the Action 'Simple Ready To Ship' on Order Base Line (Doc ID 1451487.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version 6.2.0 to 6.2.5 [Release 6.2]
Information in this document applies to any platform.

Symptoms

When performing the action "Simple Ready to Ship" on order base line, the following error occurs.

ERROR

-----------------------

java.lang.NullPointerException

java.lang.NullPointerException at glog.business.order.TShipUnit.createPartialTShipUnit(TShipUnit.java:2711) at glog.business.order.TShipUnit.autoCalcUniqueShipUnits(TShipUnit.java:2819) at glog.business.order.TShipUnit.calcNumShipUnits(TShipUnit.java:2623) at glog.business.consolidation.bulkplan.TOBOrderBundle.buildTShipUnits(TOBOrderBundle.java:863) at glog.business.consolidation.bulkplan.OrderReleaseBuilder.preProcessBundleForInsert(OrderReleaseBuilder.java:1164) at glog.business.consolidation.bulkplan.OrderReleaseBuilder.insertBundles(OrderReleaseBuilder.java:1137) at glog.business.consolidation.bulkplan.OrderReleaseBuilder.MakeOrderRelease(OrderReleaseBuilder.java:686) at glog.business.action.OrderBaseActionExecutor.buildOrderReleases(OrderBaseActionExecutor.java:346) at glog.business.session.OrderBaseActionSessionBean.buildOrderReleases(OrderBaseActionSessionBean.java:400) at glog.business.session.OrderBaseActionSessionServerSideEJBWrapper.buildOrderReleases(OrderBaseActionSessionServerSideEJBWrapper.java:431) at glog.business.session.OrderBaseActionSessionHome_lsyxxr_EOImpl.buildOrderReleases(OrderBaseActionSessionHome_lsyxxr_EOImpl.java:369) at glog.business.session.gen.OrderBaseActionSessionSkel.buildOrderReleases(OrderBaseActionSessionSkel.java:385) at glog.business.session.gen.OrderBaseActionSessionSkel.exec(OrderBaseActionSessionSkel.java:93) at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:15) at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:62) at glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapper.java:48) at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.execDispatch(WrapperSessionHome_a06097_EOImpl.java:58) at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589) at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230) at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477) 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:118) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

REPLICATION STEPS

-----------------------

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

1. Login to OTM

2. Create a new order configuration where "Create Individual Ship Units" is checked.

3. Create a packaged item with packaging unit , THU, Inner pack count, Number of layers on Ship Unit , Quantity per Layer .

4. Navigate to Order Management > Purchase Order > Order Base > New, Create an Order Base with the Order configuration created in Step 2, and Line item with the packaged item created in Step 3.

5. Navigate to Order Management > Purchase Order > Order Base Line > Search for the order created in step4, and perform the action "Simple Ready to Ship"

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