My Oracle Support Banner

Modify Shift Weekly Template Causes Hung Thread (Doc ID 2382980.1)

Last updated on MAY 31, 2024

Applies to:

Oracle Real-Time Scheduler - Version 2.3.0.1.0 and later
Oracle Utilities Mobile Workforce Management - Version 2.3.0.1.0 and later
Oracle Utilities Framework - Version 4.2.0.0.0 to 4.3.0.4.0 [Release 4.2 to 4.3]
Information in this document applies to any platform.

Symptoms

Attempting to modify Shift Weekly Template causes hung thread.

STEPS
-----------------------
The Steps taken are as follows:
1. Navigate to Shift Weekly Template (Menu – Resource Management – Shift Weekly Template – Search)
2. Select Common Templates
3. Locate a Shift Weekly Template with crews subscribed
4. Edit the Template by changing the number in Drip Horizon to a different number
5. Repeat this for each day in the Template that is being edited
6. Click on Accept Draft
7. Click on Process now of first subscribed crew

The first one processed successfully (processed in 2-3 seconds). The second one remains in Not Processed Yet.  After several minutes (3-4) minutes, click on Refresh button and received error that server is not responding.

When logging into WebLogic, there is a warning due to hung thread.  The system has to be restarted to clear the hung thread.

USER - 009-778-1 2018-01-16 14:23:48,112 [[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR (schema.rules.BusinessObjectStateTransitioner) BO M1-SubscriptionShiftWeeklyTemp ShiftWeeklyTemplate_Id(40411712171719) had status transition error transitioning from BusinessObjectStatusCode='ACTIVE' to null
java.lang.ClassCastException: com.splwg.base.api.logging.data.BusinessServiceLogData cannot be cast to com.splwg.base.api.logging.data.BusinessObjectLogData
at com.splwg.base.api.logging.data.logger.AdvancedLogger.createLifecycleAlgorithm(AdvancedLogger.java:774)
at com.splwg.base.api.logging.data.logger.AdvancedLoggerUtility.logStartBOLifecycleAlgorithm(AdvancedLoggerUtility.java:279)
at com.splwg.base.support.schema.BusinessObjectStateInfo.autoTransitionNextStatus(BusinessObjectStateInfo.java:253)
at com.splwg.base.support.schema.BusinessObjectInfo.privateGetAutoTransitionNextStatus(BusinessObjectInfo.java:942)
...
USER - 009-778-1 2018-01-16 14:23:48,115 [[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR (api.service.ServiceExecutionPolicy) Encountered exception, session marked for rollback
java.lang.ClassCastException: com.splwg.base.api.logging.data.BusinessServiceLogData cannot be cast to com.splwg.base.api.logging.data.BusinessObjectLogData
at com.splwg.base.api.logging.data.logger.AdvancedLogger.createLifecycleAlgorithm(AdvancedLogger.java:774)
at com.splwg.base.api.logging.data.logger.AdvancedLoggerUtility.logStartBOLifecycleAlgorithm(AdvancedLoggerUtility.java:279)
at com.splwg.base.support.schema.BusinessObjectStateInfo.autoTransitionNextStatus(BusinessObjectStateInfo.java:253)

 

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!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.