better-java-monads icon indicating copy to clipboard operation
better-java-monads copied to clipboard

exception handling does not work when using thenCombineAsync?

Open anonymous1654 opened this issue 9 months ago • 0 comments

I have Try inside CompletableFuture, and then 2 of these CompletableFuture are then linked with thenCombine and fed into another function All the existing exception handling logic works fine, but when I change thenCombine to thenCombineAsync all the exception handling logic seems to be ignored and I keep getting NullPointerException (even if the originally handled exception was something else).

anonymous1654 avatar May 07 '24 16:05 anonymous1654