The GitHub Actions job "License checker" on 
rocketmq.git/fix/rebalance-lite-pull-consume-timestamp-npe has failed.
Run started by GitHub user zjncs (triggered by zjncs).

Head commit for run:
6750f693f67ebf1755f786f8abf3ec4c3b37565a / zjncs <[email protected]>
[ISSUE #C1] Throw MQClientException instead of NPE for an unparseable 
consumeTimestamp

computePullFromWhereWithException of both the lite pull and the push
consumer chain UtilAll.parseDate(consumeTimestamp).getTime(), but
parseDate returns null when the user-configured timestamp does not match
the yyyyMMddHHmmss pattern. The rebalance then dies with an NPE instead
of a proper error. Null-check the parsed date and throw MQClientException
so the existing callers (updateProcessQueueTable and the deprecated
computePullFromWhere wrapper) handle it like every other lookup failure.

Signed-off-by: zjncs <[email protected]>

Report URL: https://github.com/apache/rocketmq/actions/runs/34342186349

With regards,
GitHub Actions via GitBox

Reply via email to