Split Order Release Action Resulting in an Error: java.lang.NullPointerException at java.util.Collections$UnmodifiableMap.<init>(Collections.java:1274) (Doc ID 1376432.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

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

Symptoms

On OTM 6.2.3 when attempting to split an Order Release the follow error is displayed.


ERROR
-----------------------
Exception 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:2967)
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:143)
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:153)
at glog.business.action.order.SplitOrderReleaseActions.splitUnplannedOrder(SplitOrderReleaseActions.java:174)
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:273)
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(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)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create an Order Release with more than one Ship Unit.
2. Click Actions > Order Management > Change Order > Split Order Release
3. The error is shown.

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