Build Secondary Charge Shipment Fails For Both Manual Action and Agent Action. (Doc ID 1235829.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

After manually creating a secondary charge shipment, a NullPointerException error is seen when trying to create a second secondary charge shipment for the same primary shipment.

Error:
-------------------

java.lang.NullPointerException
at glog.ejb.shipmentgroup.db.SecondaryChargeRulePK.hashCode(SecondaryChargeRulePK.java:51)
at weblogic.ejb.container.locks.ExclusiveLockManager.getBucketForPk(ExclusiveLockManager.java:75)
at weblogic.ejb.container.locks.ExclusiveLockManager.getBucketForPk(ExclusiveLockManager.java:79)
at weblogic.ejb.container.locks.ExclusiveLockManager.getOwner(ExclusiveLockManager.java:123)
at weblogic.ejb.container.manager.ExclusiveEntityManager.alreadyCached(ExclusiveEntityManager.java:1343)
at weblogic.ejb.container.manager.BaseEntityManager.findByPrimaryKey(BaseEntityManager.java:2361)
at weblogic.ejb.container.manager.BaseEntityManager.remoteFindByPrimaryKey(BaseEntityManager.java:2322)
at weblogic.ejb.container.internal.EntityEJBHome.findByPrimaryKey(EntityEJBHome.java:389)
at glog.ejb.shipmentgroup.ejb_SecondaryChargeRule_6gjmz6_HomeImpl.findByPrimaryKey(ejb_SecondaryChargeRule_6gjmz6_HomeImpl.java:206)
at glog.business.action.SecondaryChargeActionExecutor.getQuantityType(SecondaryChargeActionExecutor.java:724)
at glog.business.action.SecondaryChargeActionExecutor.buildSecondaryChargeShipments(SecondaryChargeActionExecutor.java:644)
at glog.business.session.SecondaryChargeActionSessionBean.buildSecondaryChargeShipments(SecondaryChargeActionSessionBean.java:300)
at glog.business.session.SecondaryChargeActionSessionServerSideEJBWrapper.buildSecondaryChargeShipments(SecondaryChargeActionSessionServerSideEJBWrapper.java:416)
at glog.business.session.SecondaryChargeActionSessionServerSideEJBWrapper_usazhd_EOImpl.buildSecondaryChargeShipments(SecondaryChargeActionSessionServerSideEJBWrapper_usazhd_EOImpl.java:71)
at glog.business.session.gen.SecondaryChargeActionSessionSkel.buildSecondaryChargeShipments(SecondaryChargeActionSessionSkel.java:333)
at glog.business.session.gen.SecondaryChargeActionSessionSkel.exec(SecondaryChargeActionSessionSkel.java:81)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:15)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:61)
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:232)
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)

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