My Oracle Support Banner

Unassign Action Errors When Used With Data Type Association, the Error is: java.lang.ClassCastException: glog.ejb.orderbase.db.ObOrderBasePK (Doc ID 1375053.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle Transportation Management - Version 6.2.3 to 6.2.4 [Release 6.2]
Information in this document applies to any platform.
***Checked for relevance on 21-Nov-2013***

Symptoms

On OTM version 6.2.3 when an Order Base Agent is set with DataType Association of ORDER BASE TO ORDER RELEASE and UNASSIGN is used the following error is seen:

ERROR
-----------------------

2011-10-17 13:35:16.096 283563 Debug Agent Agent XXX.ABCD (406201458) received error 6559/CLOSE/Process Agent:
java.lang.ClassCastException: glog.ejb.orderbase.db.ObOrderBasePK

java.lang.ClassCastException: glog.ejb.orderbase.db.ObOrderBasePK
at glog.server.agent.business.order.UnAssignOrder.setupMediationCriteria(UnAssignOrder.java:141)
at glog.server.agent.ActionBlockProcessor.getActionTopicInstance(ActionBlockProcessor.java:107)
at glog.server.agent.ActionBlockProcessor.processNextStep(ActionBlockProcessor.java:171)
at glog.server.agent.ActionBlockProcessor$ActionCallbacks.onCompletion(ActionBlockProcessor.java:359)
at glog.server.process.CallbackMonitor.handle(CallbackMonitor.java:79)
at glog.server.process.CallbackMonitor.access$000(CallbackMonitor.java:11)
at glog.server.process.CallbackMonitor$1.trigger(CallbackMonitor.java:34)
at glog.util.event.EventHandler.triggerEvent(EventHandler.java:228)
at glog.util.event.EventHandler.raiseEvent(EventHandler.java:85)
at glog.server.process.CallbackMonitor.trigger(CallbackMonitor.java:15)
at glog.util.event.EventHandler.triggerEvent(EventHandler.java:228)
at glog.util.event.EventHandler.raiseEvent(EventHandler.java:85)
at glog.server.process.ProcessManager.raiseEvent(ProcessManager.java:51)
at glog.server.process.ProcessEvent.raise(ProcessEvent.java:28)
at glog.server.process.LifetimeContext.enterCompleted(LifetimeContext.java:143)
at glog.server.process.LifetimeState$Completed.entryAction(LifetimeState.java:100)
at glog.server.process.LifetimeContext.changeState(LifetimeContext.java:274)
at glog.server.process.LifetimeState$Waiting.checkForCompletion(LifetimeState.java:82)
at glog.server.process.LifetimeState$Waiting.handle(LifetimeState.java:66)
at glog.server.process.LifetimeContext.handle(LifetimeContext.java:107)
at glog.server.process.LifetimeMonitor$7.trigger(LifetimeMonitor.java:79)
at glog.util.event.EventHandler.triggerEvent(EventHandler.java:228)
at glog.util.event.EventHandler.raiseEvent(EventHandler.java:85)
at glog.server.process.LifetimeMonitor.trigger(LifetimeMonitor.java:11)
at glog.util.event.EventHandler.triggerEvent(EventHandler.java:228)
at glog.util.event.EventHandler.raiseEvent(EventHandler.java:85)
at glog.server.process.ProcessManager.raiseEvent(ProcessManager.java:51)
at glog.server.process.ProcessEvent.raise(ProcessEvent.java:28)
at glog.server.process.LifetimeContext.enterCompleted(LifetimeContext.java:153)
at glog.server.process.LifetimeState$Completed.entryAction(LifetimeState.java:100)
at glog.server.process.LifetimeContext.changeState(LifetimeContext.java:274)
at glog.server.process.LifetimeState$Waiting.checkForCompletion(LifetimeState.java:82)
at glog.server.process.LifetimeState$Waiting.handle(LifetimeState.java:66)
at glog.server.process.LifetimeContext.handle(LifetimeContext.java:107)
at glog.server.process.LifetimeMonitor$7.trigger(LifetimeMonitor.java:79)
at glog.util.event.EventHandler.triggerEvent(EventHandler.java:228)
at glog.util.event.EventHandler.raiseEvent(EventHandler.java:85)
at glog.server.process.LifetimeMonitor.trigger(LifetimeMonitor.java:11)
at glog.util.event.EventHandler.triggerEvent(EventHandler.java:228)
at glog.util.event.EventHandler.raiseEvent(EventHandler.java:85)
at glog.server.process.ProcessManager.raiseEvent(ProcessManager.java:51)
at glog.server.process.ProcessEvent.raise(ProcessEvent.java:28)
at glog.server.process.LifetimeContext.enterCompleted(LifetimeContext.java:153)
at glog.server.process.LifetimeState$Completed.entryAction(LifetimeState.java:100)
at glog.server.process.LifetimeContext.changeState(LifetimeContext.java:274)
at glog.server.process.LifetimeState$Waiting.checkForCompletion(LifetimeState.java:82)
at glog.server.process.LifetimeState$Waiting.handle(LifetimeState.java:66)
at glog.server.process.LifetimeContext.handle(LifetimeContext.java:107)
at glog.server.process.LifetimeMonitor$7.trigger(LifetimeMonitor.java:79)
at glog.util.event.EventHandler.triggerEvent(EventHandler.java:228)
at glog.util.event.EventHandler.raiseEvent(EventHandler.java:85)
at glog.server.process.LifetimeMonitor.trigger(LifetimeMonitor.java:11)
at glog.util.event.EventHandler.triggerEvent(EventHandler.java:228)
at glog.util.event.EventHandler.raiseEvent(EventHandler.java:85)
at glog.server.process.ProcessManager.raiseEvent(ProcessManager.java:51)
at glog.server.process.ProcessEvent.raise(ProcessEvent.java:28)
at glog.server.process.LifetimeContext.enterCompleted(LifetimeContext.java:153)
at glog.server.process.LifetimeState$Completed.entryAction(LifetimeState.java:100)
at glog.server.process.LifetimeContext.changeState(LifetimeContext.java:274)
at glog.server.process.LifetimeState$Running.handle(LifetimeState.java:55)
at glog.server.process.LifetimeContext.handle(LifetimeContext.java:101)
at glog.server.process.LifetimeMonitor$6.trigger(LifetimeMonitor.java:72)
at glog.util.event.EventHandler.triggerEvent(EventHandler.java:228)
at glog.util.event.EventHandler.raiseEvent(EventHandler.java:85)
at glog.server.process.LifetimeMonitor.trigger(LifetimeMonitor.java:11)
at glog.util.event.EventHandler.triggerEvent(EventHandler.java:228)
at glog.util.event.EventHandler.raiseEvent(EventHandler.java:85)
at glog.server.process.ProcessManager.raiseEvent(ProcessManager.java:51)
at glog.server.process.ProcessEvent.raise(ProcessEvent.java:28)
at glog.server.workflow.Trigger.trigger(Trigger.java:127)
at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:147)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:98)
at glog.util.event.EventThread.run(EventThread.java:87)
at java.lang.Thread.run(Thread.java:619)




STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1 - Log onto an OTM 6.2 system.

2 - Create an Order Base.

3 - Navigate to: Business Process Automation > Agents and Milestones > Automation Agent and created the following:

ID: Enter as needed
Agent: ORDER BASE
Active: Ticked
Event: ORDER BASE - MODIFIED
Restrictions: USER
Actions:
Data Type Association: ORDER BASE TO ORDER RELEASE.

2 - Create an Order Base.

3 - Navigate to: Business Process Automation > Agents and Milestones > Automation Agent and create the following:

ID: Enter as needed
Agent: ORDER BASE
Active: Ticked
Event: ORDER BASE - MODIFIED
Restrictions: USER
Actions:
Data Type Association: ORDER BASE TO ORDER RELEASE - Set Indicator Red.
Data Type Association: ORDER BASE TO ORDER RELEASE - Unassign.

4 - Modify the Order Base.t Indicator Red.
Data Type Association: ORDER BASE TO ORDER RELEASE - Unassign.

4 - Modify the Order Base.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.