When Attempting to Copy an Order Base, Release Re-Releasing an Existing Order Base, Gain the Following Error: java.lang.NullPointerException at glog.util.uom.data.Weight.add(Weight.java:89) (Doc ID 1344578.1)

Last updated on JULY 09, 2014

Applies to:

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

Symptoms

On OTM version 6.2.1.

When attempting to copy order base, release it or re-releasing existing order base, the following error occurs.

ERROR
-----------------------
java.lang.NullPointerException
Stack Trace

java.lang.NullPointerException

java.lang.NullPointerException
at glog.util.uom.data.Weight.add(Weight.java:89)
at glog.business.orderbase.TObLine.addReleasedWeight(TObLine.java:453)
at glog.business.orderbase.TObLine.addReleasedQuantity(TObLine.java:431)
at glog.business.orderbase.BundleConverter.getTOrderReleaseLine(BundleConverter.java:886)
at glog.business.orderbase.BundleConverter.getTOrderRelease(BundleConverter.java:494)
at glog.business.order.OrderReleaseBuilder.buildOrderReleases(OrderReleaseBuilder.java:581)
at glog.business.order.OrderReleaseBuilder.buildOrderReleases(OrderReleaseBuilder.java:538)
at glog.business.order.OrderReleaseBuilder.buildOrderReleases(OrderReleaseBuilder.java:417)
at glog.business.order.OrderReleaseBuilder.buildOrderReleases(OrderReleaseBuilder.java:108)
at glog.business.session.OrderBaseActionSessionBean.buildOrderReleases(OrderBaseActionSessionBean.java:81)
at glog.business.session.OrderBaseActionSessionServerSideEJBWrapper.buildOrderReleases(OrderBaseActionSessionServerSideEJBWrapper.java:103)
at glog.business.session.OrderBaseActionSessionHome_lsyxxr_EOImpl.buildOrderReleases(OrderBaseActionSessionHome_lsyxxr_EOImpl.java:297)
at glog.business.session.gen.OrderBaseActionSessionSkel.buildOrderReleases(OrderBaseActionSessionSkel.java:201)
at glog.business.session.gen.OrderBaseActionSessionSkel.exec(OrderBaseActionSessionSkel.java:58)
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: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. Copy an Order Base and release it you get the error or,
2. Delete an order release released from an Order Base, re-release the Order Base
3. Null Pointer Exception error generated

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