Null Pointer Error When Trying To Apply Order Schedule via an Agent (Doc ID 463986.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Management - Version: 5.5.03
This problem can occur on any platform.

Symptoms

-- Problem Statement:
When attempting to apply an Order Schedule with Template via an Agent, the following error occurs:

ERROR
java.lang.NullPointerException
at glog.util.persistence.BusinessMap.getPersistenceMetaData(BusinessMap.java:121)
at glog.util.persistence.GenericContainerLoader.<init>(GenericContainerLoader.java:62)
at glog.server.customer.OrderReleaseTemplateMergeManager.getTargetContainer(OrderReleaseTemplateMergeManager.java:33)
at glog.business.action.OrderActionExecutor.applyOrderSchedule(OrderActionExecutor.java:3562)
at glog.business.session.OrderActionSessionBean.setOrderSchedule(OrderActionSessionBean.java:2356)
at glog.business.session.OrderActionSessionServerSideEJBWrapper.setOrderSchedule(OrderActionSessionServerSideEJBWrapper.java:2238)
at glog.business.session.OrderActionSessionHome_likuwd_EOImpl.setOrderSchedule(OrderActionSessionHome_likuwd_EOImpl.java:2854)
at glog.server.agent.business.order.SetOrderSchedule.execute(SetOrderSchedule.java:40)
at glog.server.agent.ActionWorkflow.execute(ActionWorkflow.java:51)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at glog.server.workflow.WorkflowSessionServerSideEJBWrapper.execute(WorkflowSessionServerSideEJBWrapper.java:32)
at glog.server.workflow.WorkflowSessionServerSideEJBWrapper_61kh96_EOImpl.execute(WorkflowSessionServerSideEJBWrapper_61kh96_EOImpl.java:262)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:341)
at glog.server.workflow.Trigger.trigger(Trigger.java:111)
at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:141)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:96)
at glog.util.event.EventThread.run(EventThread.java:79)
at java.lang.Thread.run()V(Unknown Source)

-- Steps To Reproduce:
The issue can be reproduced at will with the following steps:
1. Create an Agent to apply an Order Schedule that has a template in it on creation of an order release.
2. Create an Order Release via Integration and then click on View Log to see the null pointer exception.

-- Business Impact:
Due to this issue, users cannot apply Order Schedules via an agent.

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