Manage Appointment Does Not Work When First Dock Door Is Closed. (Doc ID 734308.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Operational Planning - Version: 5.5.05
This problem can occur on any platform.

Symptoms

-- Problem Statement:
When attempting to run "Manage Appointment" action against a Xdock location with 3 Dock Doors as resources and only the "first" Door is closed , the following error occurs:

ERROR
2008-08-18 08:48:41.098 292106 Error Exception java.lang.NullPointerException

java.lang.NullPointerException
at glog.business.calendar.WorkPeriodSchedule.isWorkPeriodAvailable(WorkPeriodSchedule.java:658)
at glog.business.appointment.LocationResource.getActivityWorkPeriods(LocationResource.java:209)
at glog.business.appointment.LocationResource.buildCalendarInfo(LocationResource.java:165)
at
glog.server.appointment.AppointmentLoader.getLocationResourcesWithCalendar(AppointmentLoader.java:98
4)
at
glog.server.appointment.AppointmentSessionBean.getLocationResourcesWithCalendar(AppointmentSessionBe
an.java:149)
at
glog.server.appointment.AppointmentSessionServerSideEJBWrapper.getLocationResourcesWithCalendar(Appo
intmentSessionServerSideEJBWrapper.java:208)
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.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:5
0)
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 AppointmentSessionHome_RemoteProxy_330905i.getLocationResourcesWithCalendar(Unknown Source)
at
glog.server.appointment.gen.AppointmentSessionSkel.getLocationResourcesWithCalendar(AppointmentSessi
onSkel.java:310)
at glog.server.appointment.gen.AppointmentSessionSkel.exec(AppointmentSessionSkel.java:66)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:15)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:56)
at
glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapp
er.java:42)
at sun.reflect.GeneratedMethodAccessor87.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 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.jav
a:303)
at java.lang.Thread.run(Thread.java:534)
RMICallHandler-24

-- Steps To Reproduce:

1- Create a location with "Xdock" location role with 3 dock doors (resources) as below:

- First Door has "CLOSED" calendar.
- Second Door has "WEEK" calendar (open 24X7).
- Third Door has "WEEK" calendar (open 24X7).

NOTE: Closed Calender means: Annual calendar with activity of "Don't Perform Receive".
NOTE: Week Calendar means: Seven days Cyclical calendar with activity of "Perform Receive".

2-  Go to Warehouse Flow Management > Appointment Management > Dock and Yard Management > search for the created location > Click Actions > Run "Manage Appointments" action.

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