" java.lang.NoSuchMethodException:" Error Received With Agent Action - Copy Remark To Tracking Event (Doc ID 1367927.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 6.2.1 and later   [Release: 6.2 and later ]
Information in this document applies to any platform.

Symptoms


When attempting to copy a Shipment Remark to a Tracking event via a Tracking Event Agent, the following error is seen in the logs and the Remark is not copied as expected:

ERROR
-----------------------
java.lang.NoSuchMethodException: glog.ejb.shipmentstatus.ejb_IeSsRemark_4lfaye_HomeImpl.findByGidRemarkQualGidAndRemarkText(java.lang.String, java.lang.String, java.lang.String)

java.lang.NoSuchMethodException: glog.ejb.shipmentstatus.ejb_IeSsRemark_4lfaye_HomeImpl.findByGidRemarkQualGidAndRemarkText(java.lang.String, java.lang.String, java.lang.String)
at java.lang.Class.getMethod(Class.java:1605)
at glog.business.action.UtilActionExecutor.copyRemarkToObject(UtilActionExecutor.java:1974)
at glog.server.agent.utility.CopyRemarkToObject.execute(CopyRemarkToObject.java:49)
at glog.server.agent.ActionWorkflow.execute(ActionWorkflow.java:50)
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:350)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:352)
at glog.server.workflow.Trigger.trigger(Trigger.java:122)
at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:146)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:98)
at glog.util.event.EventThread.run(EventThread.java:83)
at java.lang.Thread.run(Thread.java:619)
[agentUtility - 3]

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
Create a Tracking Event agent with the following actions:

Agent Actions:
MATCH SHIPMENT: By Shipment ID
COPY REMARKS TO TRACKING EVENT: TRACKING EVENT TO SHIPMENT, COLOR, COLOR


To Replicate:

1. Log into OTM 6.2.
2. Search for Shipment.
3. Select and go to Actions --> Shipment Management --> Events --> Add Tracking Event.
4. Enter the Following:
Responsible Party: Carrier
Status : Arrived at Pickup
Reason: No error Normal Status
Event Date/Time: Current Date Time
Shipment Stop: 1
5. Click Finished.
6. View the log and note the 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