javax.ws.rs.ProcessingException: java.lang.ClassCastException: org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduit$AsyncWrappedOutputStream$1 cannot be cast to org.apache.cxf.io.CachedOutputStream

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Apache's JIRA Issue Tracker by Anthony Communier, 1 year ago
java.lang.ClassCastException: org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduit$AsyncWrappedOutputStream$1 cannot be cast to org.apache.cxf.io.CachedOutputStream
java.lang.ClassCastException: org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduit$AsyncWrappedOutputStream$1 cannot be cast to org.apache.cxf.io.CachedOutputStream
at org.apache.cxf.endpoint.AbstractConduitSelector.complete(AbstractConduitSelector.java:209)
at org.apache.cxf.jaxrs.client.AbstractClient.preProcessResult(AbstractClient.java:534)
at org.apache.cxf.jaxrs.client.WebClient.handleAsyncResponse(WebClient.java:1005)
at org.apache.cxf.jaxrs.client.WebClient.access$100(WebClient.java:81)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:428)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.lang.Thread.run(Thread.java:724)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.