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

Apache's JIRA Issue Tracker | Anthony Communier | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Sometimes there is an error on connection close when using async client 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 at org.apache.cxf.jaxrs.client.WebClient.handleAsyncResponse(WebClient.java:1010) [cxf-rt-rs-client-3.0.0.jar:3.0.0] at org.apache.cxf.jaxrs.client.WebClient.access$100(WebClient.java:81) [cxf-rt-rs-client-3.0.0.jar:3.0.0] at org.apache.cxf.jaxrs.client.WebClient$ClientAsyncResponseInterceptor.handleMessage(WebClient.java:1298) ~[cxf-rt-rs-client-3.0.0.jar:3.0.0] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307) ~[cxf-core-3.0.0.jar:3.0.0] at org.apache.cxf.jaxrs.client.ClientMessageObserver.onMessage(ClientMessageObserver.java:56) ~[cxf-rt-rs-client-3.0.0.jar:3.0.0] at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1154) ~[cxf-rt-transports-http-3.0.0.jar:3.0.0] at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:428) ~[cxf-core-3.0.0.jar:3.0.0] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_25] at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:353) ~[cxf-core-3.0.0.jar:3.0.0] at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25] Caused by: 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.transport.http.asyncclient.AsyncHTTPConduit$AsyncWrappedOutputStream.close(AsyncHTTPConduit.java:397) ~[cxf-rt-transports-http-hc-3.0.0.jar:3.0.0] at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) ~[cxf-core-3.0.0.jar:3.0.0] at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:638) ~[cxf-rt-transports-http-3.0.0.jar:3.0.0] at org.apache.cxf.endpoint.AbstractConduitSelector.complete(AbstractConduitSelector.java:209) ~[cxf-core-3.0.0.jar:3.0.0] at org.apache.cxf.jaxrs.client.AbstractClient.preProcessResult(AbstractClient.java:534) ~[cxf-rt-rs-client-3.0.0.jar:3.0.0] at org.apache.cxf.jaxrs.client.WebClient.handleAsyncResponse(WebClient.java:1005) [cxf-rt-rs-client-3.0.0.jar:3.0.0] ... 10 common frames omitted

    Apache's JIRA Issue Tracker | 3 years ago | Anthony Communier
    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
  2. 0

    Help:basic RMI question

    Google Groups | 2 decades ago | Paolo De Lutiis
    java.lang.ClassCastException: serverPackage.ServerClass_Stub at clientPackage.myApplet.init(myApplet.java:line#) at sun.applet.AppletPanel.run(AppletPanel.java:273) at java.lang.Thread.
  3. 0

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188
  6. 0

    SWTBot/Troubleshooting - Eclipsepedia

    eclipse.org | 1 year ago
    java.lang.ClassCastException: org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner .run(EclipseTestRunner.java:331) at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner .run(EclipseTestRunner.java:208) at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication .runTests(UITestApplication.java:115) at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work benchTestable.java:68)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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.transport.http.asyncclient.AsyncHTTPConduit$AsyncWrappedOutputStream.close()
    2. Apache CXF Runtime HTTP Async Transport
      AsyncHTTPConduit$AsyncWrappedOutputStream.close
      1. org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduit$AsyncWrappedOutputStream.close(AsyncHTTPConduit.java:397)[cxf-rt-transports-http-hc-3.0.0.jar:3.0.0]
      1 frame
    3. Apache CXF Core
      AbstractConduit.close
      1. org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)[cxf-core-3.0.0.jar:3.0.0]
      1 frame
    4. Apache CXF Runtime HTTP Transport
      HTTPConduit.close
      1. org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:638)[cxf-rt-transports-http-3.0.0.jar:3.0.0]
      1 frame
    5. Apache CXF Core
      AbstractConduitSelector.complete
      1. org.apache.cxf.endpoint.AbstractConduitSelector.complete(AbstractConduitSelector.java:209)[cxf-core-3.0.0.jar:3.0.0]
      1 frame
    6. Apache CXF JAX-RS Client
      WebClient$ClientAsyncResponseInterceptor.handleMessage
      1. org.apache.cxf.jaxrs.client.AbstractClient.preProcessResult(AbstractClient.java:534)[cxf-rt-rs-client-3.0.0.jar:3.0.0]
      2. org.apache.cxf.jaxrs.client.WebClient.handleAsyncResponse(WebClient.java:1005)[cxf-rt-rs-client-3.0.0.jar:3.0.0]
      3. org.apache.cxf.jaxrs.client.WebClient.access$100(WebClient.java:81)[cxf-rt-rs-client-3.0.0.jar:3.0.0]
      4. org.apache.cxf.jaxrs.client.WebClient$ClientAsyncResponseInterceptor.handleMessage(WebClient.java:1298)[cxf-rt-rs-client-3.0.0.jar:3.0.0]
      4 frames
    7. Apache CXF Core
      PhaseInterceptorChain.doIntercept
      1. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)[cxf-core-3.0.0.jar:3.0.0]
      1 frame
    8. Apache CXF JAX-RS Client
      ClientMessageObserver.onMessage
      1. org.apache.cxf.jaxrs.client.ClientMessageObserver.onMessage(ClientMessageObserver.java:56)[cxf-rt-rs-client-3.0.0.jar:3.0.0]
      1 frame
    9. Apache CXF Runtime HTTP Transport
      HTTPConduit$WrappedOutputStream$1.run
      1. org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1154)[cxf-rt-transports-http-3.0.0.jar:3.0.0]
      1 frame
    10. Apache CXF Core
      AutomaticWorkQueueImpl$3.run
      1. org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:428)[cxf-core-3.0.0.jar:3.0.0]
      1 frame
    11. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_25]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_25]
      2 frames
    12. Apache CXF Core
      AutomaticWorkQueueImpl$AWQThreadFactory$1.run
      1. org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:353)[cxf-core-3.0.0.jar:3.0.0]
      1 frame
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:724)[na:1.7.0_25]
      1 frame