]
William Burns resolved ISPN-6253.
---------------------------------
Resolution: Duplicate Issue
This is fixed in ISPN-6392
CancellationException is thrown in case if CompletableFuture task
exits exceptionally
-------------------------------------------------------------------------------------
Key: ISPN-6253
URL:
https://issues.jboss.org/browse/ISPN-6253
Project: Infinispan
Issue Type: Bug
Components: Core
Reporter: Anna Manukyan
When the CompletableFuture runs on cluster and exits exceptionally, the real exception
message is not visible. Instead CancellationException is shown, as given below:
{code}
java.util.concurrent.CancellationException
at
org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:343)
at
org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:132)
at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:118)
at
org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:56)
at
org.infinispan.client.hotrod.impl.operations.ExecuteOperation.executeOperation(ExecuteOperation.java:49)
at
org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:54)
at org.infinispan.client.hotrod.impl.RemoteCacheImpl.execute(RemoteCacheImpl.java:703)
at
org.infinispan.server.test.task.DistributedServerTaskIT.shouldThrowExceptionInRemoteTasks(DistributedServerTaskIT.java:107)
{code}