Null Pointer Exception When Change Service Provder Is Performed (Doc ID 953362.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Operational Planning - Version 5.5.05.02 to 5.5.05.07 [Release 5.5]
Information in this document applies to any platform.

Symptoms

When trying to change servprov on a previously tendered shipment, if no data exists in the
SERVPROV_TENDER_EQUIPMENT table for that shipment (even though there is an equipment group listed on the shipment), a java null pointer error is thrown:

java.lang.NullPointerException

java.lang.NullPointerException
at glog.business.serviceprovider.ServprovStruct.equals(ServprovStruct.java:65)
at
glog.business.serviceprovider.ServprovEquipGroupAssigner.getTenderedServprovStructList(ServprovEquip
GroupAssigner.java:233)
at
glog.business.serviceprovider.ServprovEquipGroupAssigner.getAllServiceProviderOptions(ServprovEquipG
roupAssigner.java:149)
at
glog.business.action.ShipmentPlanningActionExecutor.getAllServiceProviderOption(ShipmentPlanningActi
onExecutor.java:297)
at
glog.business.session.ShipmentPlanningActionSessionBean.getAllServiceProviderOption(ShipmentPlanning
ActionSessionBean.java:130)
at
glog.business.session.ShipmentPlanningActionSessionServerSideEJBWrapper.getAllServiceProviderOption(
ShipmentPlanningActionSessionServerSideEJBWrapper.java:102)
at sun.reflect.GeneratedMethodAccessor2874.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(TxNotSupportedIntercepto
r.java:43)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at
com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.ja
va: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:8
7)
at ShipmentPlanningActionSessionHome_RemoteProxy_6iid3ag.getAllServiceProviderOption(Unknown Source)
at
glog.business.session.gen.ShipmentPlanningActionSessionSkel.getAllServiceProviderOption(ShipmentPlan
ningActionSessionSkel.java:438)
at
glog.business.session.gen.ShipmentPlanningActionSessionSkel.exec(ShipmentPlanningActionSessionSkel.j
ava:100)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:15)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:73)
at
glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapp
er.java:42)
at sun.reflect.GeneratedMethodAccessor241.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)

-- Steps To Reproduce:
1. Log into OTM
2. Look up shipment ID which has been previously tendered and withdrawn and has missing data in the SERVPROV_TENDER_EQUIPMENT table
3. Select the shipment, go to Actions --> Change Servprov --> Change Servprov
4. Note the null pointer error;

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