question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RFuture.cause() method should return CancellationException and not throw it.

See original GitHub issue

Code to reproduce the issue:

RedissonPromise p = new RedissonPromise();
p.cancel(true);
p.cause();

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mrnikocommented, Jun 26, 2019

@trasa

This issue was fixed in 3.10.2 please update to the latest version and give your feedback.

1reaction
hlmscommented, Feb 7, 2019

Any timeline to add this to 3.10.x version and release?

Read more comments on GitHub >

github_iconTop Results From Across the Web

java - CancellationException when using ExecutorService
get() throws a CancellationException because the timeout has been reached and the executor calls future.cancel() . You could either: increase ...
Read more >
Futures (Guava: Google Core Libraries for Java 31.1-jre API)
The returned Future can't be cancelled, and its isDone() method always returns true . Calling get() will immediately throw the provided Throwable wrapped...
Read more >
Are You Handling Exceptions in Kotlin Coroutines Properly?
In this article I will try to show situations where you need to be more cautious about exceptions and show some best practices...
Read more >
Java Callable and Future Tutorial - CalliCoder
ExecutorService.submit() method returns immediately and gives you a ... because future.get() method throws CancellationException if the task ...
Read more >
KafkaFuture (kafka 2.7.0 API)
If not already completed, causes invocations of get() and related methods to throw ... If any future throws an exception, the returned future...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found