[infinispan-issues] [JBoss JIRA] (ISPN-6253) CancellationException is thrown in case if CompletableFuture task exits exceptionally
Anna Manukyan (JIRA)
issues at jboss.org
Tue Feb 23 10:15:02 EST 2016
Anna Manukyan created ISPN-6253:
-----------------------------------
Summary: 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}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list