The following exception is thrown when using RetryHandler:
java.lang.ClassCastException: class com.commercetools.api.client.ConcurrentModificationDeleteRetryHandler cannot be cast to class java.util.concurrent.CompletableFuture (com.commercetools.api.client.ConcurrentModificationDeleteRetryHandler is in unnamed module of loader 'app'; java.util.concurrent.CompletableFuture is in module java.base of loader 'bootstrap')
To Reproduce
Trying to delete a payment that has the correct version (doesn't need retry):
Describe the bug
The following exception is thrown when using RetryHandler:
To Reproduce
Trying to delete a payment that has the correct version (doesn't need retry):
Screenshots/Code snippet
Stack information (please complete the following information):
Additional context
Potentially the
this
case inhandle
pointing toConcurrentModificationDeleteRetryHandler
.