[infinispan-issues] [JBoss JIRA] (ISPN-6253) CancellationException is thrown in case if CompletableFuture task exits exceptionally

William Burns (JIRA) issues at jboss.org
Mon Mar 21 10:53:00 EDT 2016


     [ https://issues.jboss.org/browse/ISPN-6253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list