Possible causes

The following table lists the cases in which the parameters are invalid:

Nesting exception Exception description
consumeThreadMin Out of range [1, 1000] The number of threads set on the consumer is inappropriate.
consumeThreadMax Out of range [1, 1000] The number of threads set on the consumer is inappropriate.
messageListener is null messageListener is not set.
consumerGroup is null No group ID is set.
msg delay time more than 40 day The delay for a scheduled message exceeds 40 days.

Recommended solution

Perform the following steps:

  1. Modify the parameter settings on the client according to the exception prompt and ensure that the modified parameter settings are within the valid ranges.
  2. Restart the application.