My Oracle Support Banner

The Script Exits with Code 1: "No Threads To Process... Exiting." (Doc ID 2428464.1)

Last updated on APRIL 14, 2021

Applies to:

Oracle Retail Price Management - Version 15.0.1 and later
Information in this document applies to any platform.


Actual Behavior

When you run the batch from the batch scheduler without any promotion data, it exits with 1, which causes the batch scheduler to stop/abort - requires manual intervention.

Error : "No Threads to process... Exiting."

Expected Behavior
As having no promotion data is a Possible scenario, the script should exit with exit code 0.

Steps to Reproduce
The issue can be reproduced at will with the following steps:
1. Schedule the script
2. Make it run when there is no promotion data
3. Notice that the script exits with exit code 1 instead of 0.



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

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