[
https://issues.apache.org/jira/browse/CXF-7989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16794537#comment-16794537
]
Romain Manni-Bucau commented on CXF-7989:
-----------------------------------------
Tracked that to rx() impl wich uses supplyAsync which throws a completion
exception in case or error. Trivial fix is to either not use that and just use
a completionfuture complete/completeExceptionally wrapping the sync call in the
pool or adding a handle to the stage to unwrap the completionexception.
Hope it helps
> org.apache.cxf.jaxrs.JAXRSInvoker#checkFutureResponse should probably handle
> CompletionException
> ------------------------------------------------------------------------------------------------
>
> Key: CXF-7989
> URL: https://issues.apache.org/jira/browse/CXF-7989
> Project: CXF
> Issue Type: Improvement
> Components: JAX-RS
> Affects Versions: 3.3.0
> Reporter: Romain Manni-Bucau
> Assignee: Andriy Redko
> Priority: Major
>
> The check should probably unwrap CompletionException otherwise it can require
> some more custom ExceptionMappers to achieve a correct behavior.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)