"java.lang.NullPointerException" Attempting to Allocate a Shipment (Doc ID 1453702.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Management - Version 6.0 and later
Information in this document applies to any platform.
***Checked for relevance on 22-Nov-2013***

Symptoms

When attempting to allocate a shipment (via UI or Agent Action), the following error is encountered:

java.lang.NullPointerException
at glog.ejb.shipment.ShipmentTransportCostsRecalcHelper.isPaymentRejected(ShipmentTransportCostsRecalcHelper.java:247)
at glog.ejb.shipment.ShipmentTransportCostsRecalcHelper.calculate(ShipmentTransportCostsRecalcHelper.java:129)
at glog.ejb.shipment.ShipmentBean.calculateTransportationCosts(ShipmentBean.java:1770)
at glog.ejb.shipment.ShipmentServerSideEJBWrapper.calculateTransportationCosts(ShipmentServerSideEJBWrapper.java:351)
at glog.ejb.shipment.ejb_Shipment_2ujudi_EOImpl.calculateTransportationCosts(ejb_Shipment_2ujudi_EOImpl.java:12896)
at glog.ejb.shipment.ShipmentCalculatedTransCostFieldsSync.execute(ShipmentCalculatedTransCostFieldsSync.java:34)
at glog.ejb.shipment.ShipmentCalculatedFieldsSync.execute(ShipmentCalculatedFieldsSync.java:61)
at glog.server.workflow.SimpleWorkflow.execute(SimpleWorkflow.java:23)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at glog.server.workflow.WorkflowSessionServerSideEJBWrapper.execute(WorkflowSessionServerSideEJBWrapper.java:38)
at glog.server.workflow.WorkflowSessionServerSideEJBWrapper_61kh96_EOImpl.execute(WorkflowSessionServerSideEJBWrapper_61kh96_EOImpl.java:206)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:352)
at glog.server.workflow.Trigger.trigger(Trigger.java:122)
at glog.util.event.EventHandler.triggerEvent(EventHandler.java:228)
at glog.server.workflow.TopicManager.execute(TopicManager.java:205)
at glog.server.workflow.ServerPublisher.execute(ServerPublisher.java:161)
at glog.server.workflow.ServerPublisher.execute(ServerPublisher.java:164)
at glog.server.workflow.Topic.execute(Topic.java:178)
at glog.server.workflow.RecalcDataObjectSync.execute(RecalcDataObjectSync.java:28)
at glog.server.workflow.RecalcDataObjectSync.afterCompletion(RecalcDataObjectSync.java:35)
at glog.util.transaction.GLTransactionHelper$GLSync.afterCompletion(GLTransactionHelper.java:296)
at glog.util.transaction.GLTransactionHelper$GLSync.afterCompletion(GLTransactionHelper.java:283)
at weblogic.transaction.internal.ServerSCInfo.doAfterCompletion(ServerSCInfo.java:1023)
at weblogic.transaction.internal.ServerSCInfo.callAfterCompletions(ServerSCInfo.java:999)
at weblogic.transaction.internal.ServerTransactionImpl.callAfterCompletions(ServerTransactionImpl.java:2996)
at weblogic.transaction.internal.ServerTransactionImpl.afterCommittedStateHousekeeping(ServerTransactionImpl.java:2896)
at weblogic.transaction.internal.ServerTransactionImpl.setCommitted(ServerTransactionImpl.java:2941)
at weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(ServerTransactionImpl.java:2727)
at weblogic.transaction.internal.ServerTransactionImpl.globalCommit(ServerTransactionImpl.java:2646)
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:276)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:224)
at weblogic.ejb.container.internal.BaseRemoteObject.postInvoke1(BaseRemoteObject.java:625)
at weblogic.ejb.container.internal.StatelessRemoteObject.postInvoke1(StatelessRemoteObject.java:49)
at weblogic.ejb.container.internal.BaseRemoteObject.__WL_postInvokeTxRetry(BaseRemoteObject.java:445)
at glog.business.advancedallocation.AllocationUpdateSessionServerSideEJBWrapper_fcse0h_EOImpl.commitTAllocationBase(AllocationUpdateSessionServerSideEJBWrapper_fcse0h_EOImpl.java:731)
at glog.business.advancedallocation.AllocationActionExecutor.saveAllocationResult(AllocationActionExecutor.java:1279)
at glog.business.advancedallocation.AllocationActionExecutor.allocateShipmentCosts(AllocationActionExecutor.java:382)
at glog.business.advancedallocation.AllocationSessionBean.allocateShipment(AllocationSessionBean.java:38)
at glog.business.advancedallocation.AllocationSessionServerSideEJBWrapper.allocateShipment(AllocationSessionServerSideEJBWrapper.java:40)
at glog.business.advancedallocation.AllocationSessionHome_af67ov_EOImpl.allocateShipment(AllocationSessionHome_af67ov_EOImpl.java:137)
at glog.business.advancedallocation.gen.AllocationSessionSkel.allocateShipment(AllocationSessionSkel.java:82)
at glog.business.advancedallocation.gen.AllocationSessionSkel.exec(AllocationSessionSkel.java:32)
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)

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