"Change Service Provider" Action is failing with the Exception: "ejb.EquipmentGroup record not found: pk=null" (Doc ID 981942.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Management - Version: 5.5.05 to 5.5.06 - Release: 5.5 to 5.5
Information in this document applies to any platform.

Symptoms


Comments
--------
The action "Change Service Provider" is failing with the following Exception when executed on a shipment that does not have any equipment (Itinerary is set to NO EQUIPMENT)

ejb.EquipmentGroup record not found: pk=null
Could not retrieve EQUIPMENT_GROUP(s)

at glog.util.remote.BeanManagedEntityBean.executeFind(BeanManagedEntityBean.java:1015)
at glog.util.remote.BeanManagedEntityBean$5.execute(BeanManagedEntityBean.java:343)
at glog.util.remote.BeanManagedEntityBean.dbModify(BeanManagedEntityBean.java:1066)
at glog.util.remote.BeanManagedEntityBean.doFindByPrimaryKey(BeanManagedEntityBean.java:341)
at glog.util.remote.BaseEntityBean$5.doIt(BaseEntityBean.java:566)
at glog.util.remote.BaseEntityBean.ejb(BaseEntityBean.java:798)
at glog.util.remote.BaseEntityBean.ejbFindByKey(BaseEntityBean.java:564)
at glog.ejb.equipment.db.EquipmentGroupBeanDB.ejbFindByPrimaryKey(EquipmentGroupBeanDB.java:85)
at sun.reflect.GeneratedMethodAccessor227.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at EquipmentGroupHome_EntityHomeWrapper2125.findByPrimaryKey(EquipmentGroupHome_EntityHomeWrapper2125.java:271)
at glog.business.equipment.TEquipmentGroup.load(TEquipmentGroup.java:521)
at glog.business.equipment.TEquipmentGroup.getInstance(TEquipmentGroup.java:501)
at glog.business.shipment.TSEquipment.getTEquipmentGroup(TSEquipment.java:1537)
at glog.business.shipment.TSEquipment.getEffectiveWeight(TSEquipment.java:1419)
at glog.business.shipment.TShipment.getTotalWeightCapacity(TShipment.java:3124)
at glog.business.sync.ShipmentUtilRecalcHelper.calculate(ShipmentUtilRecalcHelper.java:43)
at glog.business.shipment.ShipmentPostProcessor.computeUtilizations(ShipmentPostProcessor.java:1526)
at glog.business.shipment.ShipmentPostProcessor.postProcessing(ShipmentPostProcessor.java:334)
at glog.business.shipment.ShipmentPostProcessor.postProcessing(ShipmentPostProcessor.java:214)
at glog.business.action.ShipmentPlanningActionExecutor.assignSpecificServiceProviderUsingRateGeo(ShipmentPlanningActionExecutor.java:592)
at glog.business.session.ShipmentPlanningActionSessionBean.assignServiceProviderUsingRateGeo(ShipmentPlanningActionSessionBean.java:273)
at glog.business.session.ShipmentPlanningActionSessionServerSideEJBWrapper.assignServiceProviderUsingRateGeo(ShipmentPlanningActionSessionServerSideEJBWrapper.java:294)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:43)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at ShipmentPlanningActionSessionHome_RemoteProxy_6iid3ag.assignServiceProviderUsingRateGeo(Unknown Source)
at glog.business.session.gen.ShipmentPlanningActionSessionSkel.assignServiceProviderUsingRateGeo(ShipmentPlanningActionSessionSkel.java:576)
at glog.business.session.gen.ShipmentPlanningActionSessionSkel.exec(ShipmentPlanningActionSessionSkel.java:124)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:15)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:57)
at glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapper.java:42)
at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:43)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at WrapperSessionHome_RemoteProxy_6c6hndi.execDispatch(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:534)

The logs present the following Error:

"Unable to load TEquipmentGroup for equipmentGroupPK: null"

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