java.io.NotSerializableException: org.jboss.resteasy.client.jaxrs.engines.ApacheHttpClient4Engine$1

JBoss Issue Tracker | Alexey Volkov | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    My application uses resteasy client api. After invoking rest-interface method application caught exception: Caused by: javax.ws.rs.ProcessingException: Unable to find a MessageBodyReader of content-type application/xml and type class my.company.api.EntityVO at org.jboss.resteasy.core.interception.ClientReaderInterceptorContext.throwReaderNotFound(ClientReaderInterceptorContext.java:39) ~[resteasy-jaxrs-3.0.4.Final.jar:na] at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.getReader(AbstractReaderInterceptorContext.java:73) ~[resteasy-jaxrs-3.0.4.Final.jar:na] at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:50) ~[resteasy-jaxrs-3.0.4.Final.jar:na] at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.aroundReadFrom(GZIPDecodingInterceptor.java:59) ~[resteasy-jaxrs-3.0.4.Final.jar:na] at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:53) ~[resteasy-jaxrs-3.0.4.Final.jar:na] at org.jboss.resteasy.client.jaxrs.internal.ClientResponse.readFrom(ClientResponse.java:244) ~[resteasy-client-3.0.4.Final.jar:na] at org.jboss.resteasy.client.jaxrs.internal.ClientResponse.readEntity(ClientResponse.java:178) ~[resteasy-client-3.0.4.Final.jar:na] at org.jboss.resteasy.specimpl.BuiltResponse.readEntity(BuiltResponse.java:211) ~[resteasy-jaxrs-3.0.4.Final.jar:na] at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.extractResult(ClientInvocation.java:104) ~[resteasy-client-3.0.4.Final.jar:na] After that application try to serialize this exception and get another one: Caused by: java.io.NotSerializableException: org.jboss.resteasy.client.jaxrs.engines.ApacheHttpClient4Engine$1 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1180) ~[na:1.7.0_05] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528) ~[na:1.7.0_05] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493) ~[na:1.7.0_05] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416) ~[na:1.7.0_05] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174) ~[na:1.7.0_05] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528) ~[na:1.7.0_05] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493) ~[na:1.7.0_05] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416) ~[na:1.7.0_05] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174) ~[na:1.7.0_05] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346) ~[na:1.7.0_05]

    JBoss Issue Tracker | 4 years ago | Alexey Volkov
    java.io.NotSerializableException: org.jboss.resteasy.client.jaxrs.engines.ApacheHttpClient4Engine$1
  2. 0

    Cannot deploy ORDS to weblogic

    Oracle Community | 1 year ago | dmdamiyo
    java.io.NotSerializableException: com.sun.jersey.server.impl.cdi.CDIExtension
  3. 0

    NotSerializableException for Metadata

    GitHub | 2 years ago | jakekdodd
    java.lang.RuntimeException: java.lang.RuntimeException: java.io.NotSerializableException: com.digitalpebble.storm.crawler.Metadata
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tomcat: Cannot serialize session into database

    Stack Overflow | 2 years ago | Madhur Ahuja
    java.io.NotSerializableException: com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector
  6. 0

    Java exception when I want to send object using socket

    Stack Overflow | 3 years ago | user3412372
    java.io.NotSerializableException: Comunication.CommandMessage

  1. filpgame 1 times, last 3 weeks ago
  2. batwalrus76 44 times, last 3 weeks ago
  3. treefolk 12 times, last 2 months ago
  4. Hronom 1 times, last 2 months ago
  5. kjhdofjosvs 1 times, last 4 months ago
13 more registered users
50 unregistered visitors
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.io.NotSerializableException

    org.jboss.resteasy.client.jaxrs.engines.ApacheHttpClient4Engine$1

    at java.io.ObjectOutputStream.writeObject0()
  2. Java RT
    ObjectOutputStream.writeObject
    1. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183)
    2. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
    2 frames
  3. org.jboss.resteasy
    UnserializableTest.test
    1. org.jboss.resteasy.test.nextgen.UnserializableTest.test(UnserializableTest.java:73)
    1 frame