NullPointerException When Attempting to Split an Order Releases (Doc ID 1381039.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Management - Version: 6.2.0 to 6.2.4 - Release: 6.2 to 6.2
Information in this document applies to any platform.

Symptoms


When attempting to Split Order Releases, by using the following action:
Order Management > Change Order > Split Oder Release , the following error occurs.

ERROR
-----------------------


java.lang.NullPointerException

java.lang.NullPointerException
at java.util.Collections$UnmodifiableMap.<init>(Collections.java:1274)
at java.util.Collections.unmodifiableMap(Collections.java:1260)
at glog.business.order.TOrderRelease.getCommodityDataMap(TOrderRelease.java:2743)
at glog.business.consolidation.bulkplan.BaseOrderBundle.initCommodityInfo(BaseOrderBundle.java:2979)
at glog.business.consolidation.bulkplan.TOBOrderBundle.createBundle(TOBOrderBundle.java:219)
at glog.business.consolidation.bulkplan.TOBOrderBundle.<init>(TOBOrderBundle.java:149)
at glog.business.consolidation.bulkplan.TOBOrderBundle.<init>(TOBOrderBundle.java :144)
at glog.business.order.OrderTransactionSessionBean.commitTOrderReleases(OrderTransactionSessionBean.java:166)
at glog.business.order.OrderTransactionSessionServerSideEJBWrapper.commitTOrderReleases(OrderTransactionSessionServerSideEJBWrapper.java:467)
at glog.business.order.OrderTransactionSessionServerSideEJBWrapper_czbqgf_EOImpl.commitTOrderReleases(OrderTransactionSessionServerSideEJBWrapper_czbqgf_EOImpl
.java:1165)
at glog.business.action.order.SplitOrderReleaseActions.splitUnplannedOrder(SplitOrderReleaseActions.java:176)
at glog.business.session.OrderActionSessionBean.splitUnplannedOrder(OrderActionSessionBean.java:2605)
at glog.business.session.OrderActionSessionServerSideEJBWrapper.splitUnplannedOrder(OrderActionSessionServerSideEJBWrapper.java:2602)
at glog.business.session.OrderActionSessionHome_likuwd_EOImpl.splitUnplannedOrder(OrderActionSessionHome_likuwd_EOImpl.java:5097)
at glog.business.session.gen.OrderActionSessionSkel.splitUnplannedOrder(OrderActionSessionSkel.java:1838)
at glog.business.session.gen.OrderActionSessionSkel.exec(OrderActionSessionSkel.java:390)
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(UnknownSource)
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 OTM
Go to Order Management >> Order Release >> Order Release
2. Query for the Order Releases
Select an Order Release with Transport Handling Unit Count >1
3. Click on Actions
Go to Order Management > Change Order > Split Oder Release
Enter the quantity you want to Split in the Split off Amount Field
Click Ok

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